v0.3.0d: fixed corruption aggroing passive mobs

This commit is contained in:
Evan Debenham 2015-06-12 00:30:17 -04:00 committed by Evan Debenham
parent b7db57f665
commit 722fc4240a

View File

@ -366,6 +366,7 @@ public abstract class Mob extends Char {
if (enemy.buff(Corruption.class) != null) {
aggro(enemy);
target = enemy.pos;
if (state == SLEEPING || state == WANDERING)
state = HUNTING;
}