v1.1.2: fixed wild magic continuing triggering if the hero dies
This commit is contained in:
@@ -158,7 +158,7 @@ public class WildMagic extends ArmorAbility {
|
||||
cur.partialCharge++;
|
||||
cur.curCharges--;
|
||||
}
|
||||
if (!wands.isEmpty()) {
|
||||
if (!wands.isEmpty() && hero.isAlive()) {
|
||||
zapWand(wands, hero, target);
|
||||
} else {
|
||||
if (hero.buff(WildMagicTracker.class) != null) {
|
||||
|
||||
Reference in New Issue
Block a user