Skip to content

Commit

Permalink
drain
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline authored Dec 26, 2023
1 parent 0cd62c1 commit 47d3b64
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/substates/GameplayChangersSubstate.hx
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ class GameplayChangersSubstate extends MusicBeatSubstate
optionsArray.push(new GameplayOption('Practice Mode', 'practice', 'bool', false));
optionsArray.push(new GameplayOption('Botplay', 'botplay', 'bool', false));
optionsArray.push(new GameplayOption('Shake on Miss', 'missshake', 'bool', false));
optionsArray.push(new GameplayOption('Health Drain', 'healthDrain', 'bool', false));
optionsArray.push(new GameplayOption('Health Drain', 'healthDrain', 'bool', true));
optionsArray.push(new GameplayOption('Heal on Sustain Note', 'sustainHeal', 'bool', true));
if(isHealthDrainOn){
optionsArray.push(new GameplayOption('Drain Amount', 'drainAmount', 'float', 115.0));
optionsArray.push(new GameplayOption('Sustain Note Drain Amount', 'sustainDrainAmt', 'float', 50.0));
optionsArray.push(new GameplayOption('Cannot Lower Than', 'cannotLowerThan', 'float', 60.0));
optionsArray.push(new GameplayOption('Drain Amount', 'drainAmount', 'float', 150.0));
optionsArray.push(new GameplayOption('Sustain Note Drain Amount', 'sustainDrainAmt', 'float', 600.0));
optionsArray.push(new GameplayOption('Cannot Lower Than', 'cannotLowerThan', 'float', 70.0));
}
}

Expand Down Expand Up @@ -483,4 +483,4 @@ class GameplayOption
type = newValue;
return type;
}
}
}

0 comments on commit 47d3b64

Please sign in to comment.