fix: skip "prove yourself" text when unlocking all missions via cheat (#2965)
Even tho the PoE beginner bounty was skipped by the cheat, Konzu would still say "Gotta prove yourself first". Giving a non-zero standing value seems to bypass that (in this case I put ~~200~~ 250 which is identical to completing beginner bounty with bonus). Reviewed-on: #2965 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: Animan8000 <animan8000@noreply.localhost> Co-committed-by: Animan8000 <animan8000@noreply.localhost>
This commit is contained in:
		
							parent
							
								
									cecc65197b
								
							
						
					
					
						commit
						d794bd94ce
					
				@ -36,6 +36,11 @@ export const completeAllMissionsController: RequestHandler = async (req, res) =>
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    addString(inventory.NodeIntrosCompleted, "TeshinHardModeUnlocked");
 | 
					    addString(inventory.NodeIntrosCompleted, "TeshinHardModeUnlocked");
 | 
				
			||||||
    addString(inventory.NodeIntrosCompleted, "CetusSyndicate_IntroJob");
 | 
					    addString(inventory.NodeIntrosCompleted, "CetusSyndicate_IntroJob");
 | 
				
			||||||
 | 
					    let syndicate = inventory.Affiliations.find(x => x.Tag == "CetusSyndicate");
 | 
				
			||||||
 | 
					    if (!syndicate) {
 | 
				
			||||||
 | 
					        syndicate =
 | 
				
			||||||
 | 
					            inventory.Affiliations[inventory.Affiliations.push({ Tag: "CetusSyndicate", Standing: 250, Title: 0 })]; // Non-zero standing avoids Konzu's "prove yourself" text. 250 is identical to newbie bounty + bonus
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    await inventory.save();
 | 
					    await inventory.save();
 | 
				
			||||||
    res.end();
 | 
					    res.end();
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user