Skip to content

Commit

Permalink
Fixed bug with thunder not working properly during Undead Army
Browse files Browse the repository at this point in the history
  • Loading branch information
Majrusz committed Dec 3, 2023
1 parent 17d8c33 commit ca60526
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- fixed bug with thunder not working properly during Undead Army
- fixed bug with Soul Jar damage bonus being calculated incorrectly
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.majruszsdifficulty.undeadarmy.listeners;

import com.majruszlibrary.events.base.Priority;
import com.majruszlibrary.math.AnyPos;
import com.majruszsdifficulty.undeadarmy.UndeadArmy;
import com.majruszsdifficulty.undeadarmy.events.OnUndeadArmyStateChanged;
Expand All @@ -13,6 +14,7 @@
public class LightningSpawner {
static {
OnUndeadArmyStateChanged.listen( LightningSpawner::spawn )
.priority( Priority.LOW )
.addCondition( data->data.undeadArmy.phase.state == UndeadArmy.Phase.State.WAVE_PREPARING );
}

Expand Down

0 comments on commit ca60526

Please sign in to comment.