v1.3.0: added friendly fire badge trigger for cursed wand explosion

This commit is contained in:
Evan Debenham
2022-07-04 18:32:58 -04:00
committed by Evan Debenham
parent 4c587b386b
commit 7f8a424b70

View File

@@ -244,6 +244,9 @@ public class CursedWand {
//Bomb explosion
case 2:
new Bomb().explode(targetPos);
if (user == Dungeon.hero && !user.isAlive()){
Badges.validateDeathFromFriendlyMagic();
}
tryForWandProc(Actor.findChar(targetPos), origin);
return true;