v0.3.0d: fixed corruption aggroing passive mobs
This commit is contained in:
parent
b7db57f665
commit
722fc4240a
|
@ -366,6 +366,7 @@ public abstract class Mob extends Char {
|
||||||
if (enemy.buff(Corruption.class) != null) {
|
if (enemy.buff(Corruption.class) != null) {
|
||||||
aggro(enemy);
|
aggro(enemy);
|
||||||
target = enemy.pos;
|
target = enemy.pos;
|
||||||
|
if (state == SLEEPING || state == WANDERING)
|
||||||
state = HUNTING;
|
state = HUNTING;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user