Skip to content

Commit

Permalink
Merge pull request #1847 from warblgarbl/main
Browse files Browse the repository at this point in the history
Encounter rate fix
  • Loading branch information
LordMonoxide authored Dec 11, 2024
2 parents 9833df8 + 1600473 commit 99f64bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/legend/game/submap/SMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -3313,7 +3313,7 @@ private boolean handleEncounters() {
return false;
}

final var encounterAccumulatorLimit = 0x140;
final var encounterAccumulatorLimit = 0x1400;
final var encounterAccumulatorStepModifier = 2.0f;
final var encounterAccumulatorStep = this.submap.getEncounterRate() * this.encounterMultiplier_800c6abc * vsyncMode_8007a3b8 / encounterAccumulatorStepModifier;
final var submapEncounterAccumulatorEvent = EVENTS.postEvent(new SubmapEncounterAccumulatorEvent(this.encounterAccumulator_800c6ae8, encounterAccumulatorStep, this.encounterMultiplier_800c6abc, vsyncMode_8007a3b8, encounterAccumulatorLimit, encounterAccumulatorStepModifier));
Expand Down

0 comments on commit 99f64bb

Please sign in to comment.