This commit is contained in:
aozhiwei 2021-04-14 10:30:07 +08:00
parent 04becd0cd6
commit 864ecb7e8d

View File

@ -1032,6 +1032,9 @@ bool Creature::IsProperTarget(Creature* target)
if (room->GetRoomMode() == kZombieMode && GetRace() == target->GetRace()) {
return false;
}
if (target->HasBuffEffect(kBET_Invincible)) {
return false;
}
return true;
}