1
This commit is contained in:
parent
19de0307b2
commit
291398cff4
@ -85,7 +85,9 @@ void Explosion::ProcDamage()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (type_ == kExplosionEnemyAndObstacle) {
|
if (type_ == kExplosionEnemyAndObstacle) {
|
||||||
if (sender_.Get() && sender_.Get()->IsProperTarget(c)) {
|
long long ignore_buff_effects = 0;
|
||||||
|
a8::SetBitFlag(ignore_buff_effects, kBET_Hide);
|
||||||
|
if (sender_.Get() && sender_.Get()->IsProperTarget(c, false, ignore_buff_effects)) {
|
||||||
if (custom_check_cb_) {
|
if (custom_check_cb_) {
|
||||||
bool is_hit = false;
|
bool is_hit = false;
|
||||||
custom_check_cb_(a8::Args({&is_hit, (Entity*)c}));
|
custom_check_cb_(a8::Args({&is_hit, (Entity*)c}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user