mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Allows player to keep int if bitfluming into SF5 from SF5 for some reason
This commit is contained in:
parent
f9ff45fbed
commit
ed041743c2
@ -316,7 +316,7 @@ function createBitNodeYesNoEventListener(newBitNode, destroyedBitNode, flume=fal
|
|||||||
// If player used flume, subtract 300 int exp. The prestigeSourceFile()
|
// If player used flume, subtract 300 int exp. The prestigeSourceFile()
|
||||||
// function below grants 300 int exp, so this allows sets net gain to 0
|
// function below grants 300 int exp, so this allows sets net gain to 0
|
||||||
Player.gainIntelligenceExp(-300);
|
Player.gainIntelligenceExp(-300);
|
||||||
if(SourceFileFlags[5] === 0) {
|
if(SourceFileFlags[5] === 0 || newBitNode !== 5) {
|
||||||
Player.intelligence = 0;
|
Player.intelligence = 0;
|
||||||
Player.intelligence_exp = 0;
|
Player.intelligence_exp = 0;
|
||||||
Player.updateSkillLevels();
|
Player.updateSkillLevels();
|
||||||
|
Loading…
Reference in New Issue
Block a user