1
This commit is contained in:
parent
df3696ba61
commit
721515fc5c
@ -408,6 +408,7 @@ void Car::BeKill(int killer_id, const std::string& killer_name, int weapon_id)
|
|||||||
room->frame_event.AddCarChg(passenger->GetWeakPtrRef());
|
room->frame_event.AddCarChg(passenger->GetWeakPtrRef());
|
||||||
}
|
}
|
||||||
std::shared_ptr<Explosion> explosion = EntityFactory::Instance()->MakeExplosion();
|
std::shared_ptr<Explosion> explosion = EntityFactory::Instance()->MakeExplosion();
|
||||||
|
explosion->SetDamageDelay(meta->i->explosion_damage_delay());
|
||||||
explosion->IndifferenceAttack(
|
explosion->IndifferenceAttack(
|
||||||
room,
|
room,
|
||||||
GetPos(),
|
GetPos(),
|
||||||
|
@ -15,7 +15,7 @@ class Explosion : public std::enable_shared_from_this<Explosion>
|
|||||||
long long GetSpecialDamageType() { return special_damage_type_; };
|
long long GetSpecialDamageType() { return special_damage_type_; };
|
||||||
bool IsPreBattleExplosion();
|
bool IsPreBattleExplosion();
|
||||||
int GetExplosionEffect() { return explosion_effect_; };
|
int GetExplosionEffect() { return explosion_effect_; };
|
||||||
void SetDmageDelay(int delay) { explosion_damage_delay_ = delay; };
|
void SetDamageDelay(int delay) { explosion_damage_delay_ = delay; };
|
||||||
|
|
||||||
void IndifferenceAttack(Room* room,
|
void IndifferenceAttack(Room* room,
|
||||||
const a8::Vec2& center,
|
const a8::Vec2& center,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user