v3.2.0: fixed ratmog change causing summoned ally rats being set neutral
This commit is contained in:
@@ -41,7 +41,9 @@ public class Rat extends Mob {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean act() {
|
protected boolean act() {
|
||||||
if (Dungeon.level.heroFOV[pos] && Dungeon.hero.armorAbility instanceof Ratmogrify){
|
if (alignment == Alignment.ENEMY
|
||||||
|
&& Dungeon.level.heroFOV[pos]
|
||||||
|
&& Dungeon.hero.armorAbility instanceof Ratmogrify){
|
||||||
alignment = Alignment.NEUTRAL;
|
alignment = Alignment.NEUTRAL;
|
||||||
if (state == SLEEPING) state = WANDERING;
|
if (state == SLEEPING) state = WANDERING;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user