From 722fc4240aecf13f380f4cdc54b79750af2202ce Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 12 Jun 2015 00:30:17 -0400 Subject: [PATCH] v0.3.0d: fixed corruption aggroing passive mobs --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java index 30bb14bce..47f88bbd7 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java @@ -366,7 +366,8 @@ public abstract class Mob extends Char { if (enemy.buff(Corruption.class) != null) { aggro(enemy); target = enemy.pos; - state = HUNTING; + if (state == SLEEPING || state == WANDERING) + state = HUNTING; } return damage;