添加无敌处理
This commit is contained in:
parent
2f0bee2fd8
commit
8cfab4cf95
@ -51,6 +51,9 @@ void Bullet::OnHit(std::set<Entity*>& objects)
|
||||
return;
|
||||
}
|
||||
Human* hum = (Human*)target;
|
||||
if (hum->HasBuffEffect(BET_Invincible)) {
|
||||
continue;
|
||||
}
|
||||
#if 1
|
||||
if (!hum->dead) {
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user