From aa464754bee89538035fd147891ffe011ef32a6f Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 17 Aug 2015 16:49:10 -0400 Subject: [PATCH] v0.3.1: the cursed wand sheep effect no longer works on boss floors --- .../shatteredpixeldungeon/items/wands/CursedWand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java index c440a51e1..7d57d1ce0 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java @@ -285,7 +285,8 @@ public class CursedWand { cursedFX(user, bolt, new Callback() { public void call() { Char ch = Actor.findChar( bolt.collisionPos ); - if (ch != null && ch != user){ + //TODO: this is lazy, should think of a better way to ID bosses, or have this effect be more sophisticated. + if (ch != null && ch != user && !Dungeon.bossLevel()){ Sheep sheep = new Sheep(); sheep.lifespan = 10; sheep.pos = ch.pos;