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