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