1
This commit is contained in:
parent
04becd0cd6
commit
864ecb7e8d
@ -1032,6 +1032,9 @@ bool Creature::IsProperTarget(Creature* target)
|
|||||||
if (room->GetRoomMode() == kZombieMode && GetRace() == target->GetRace()) {
|
if (room->GetRoomMode() == kZombieMode && GetRace() == target->GetRace()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (target->HasBuffEffect(kBET_Invincible)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user