diff --git a/Runtime/MP1/World/CPhazonHealingNodule.cpp b/Runtime/MP1/World/CPhazonHealingNodule.cpp index e44b95427..b28ec3cf1 100644 --- a/Runtime/MP1/World/CPhazonHealingNodule.cpp +++ b/Runtime/MP1/World/CPhazonHealingNodule.cpp @@ -169,4 +169,18 @@ void CPhazonHealingNodule::UpdateParticleElectric(CStateManager& mgr) { x57c_particleElectric->SetOverrideFPos(actorLctrXf.origin); } } + +bool CPhazonHealingNodule::AnimOver(CStateManager&, float arg) { return x588_state == 3; } + +bool CPhazonHealingNodule::InRange(CStateManager&, float arg) { return x568_active == 0; } + +bool CPhazonHealingNodule::InDetectionRange(CStateManager&, float arg) { return x568_active == 1; } + +void CPhazonHealingNodule::MassiveDeath(CStateManager& mgr) { Death(mgr, zeus::skZero3f, EScriptObjectState::Dead); } + +void CPhazonHealingNodule::MassiveFrozenDeath(CStateManager& mgr) { + Death(mgr, zeus::skZero3f, EScriptObjectState::Dead); +} + +void CPhazonHealingNodule::PhazeOut(CStateManager& mgr) { Death(mgr, zeus::skZero3f, EScriptObjectState::Dead); } } // namespace urde::MP1 diff --git a/Runtime/MP1/World/CPhazonHealingNodule.hpp b/Runtime/MP1/World/CPhazonHealingNodule.hpp index 87bd89b60..36dc60402 100644 --- a/Runtime/MP1/World/CPhazonHealingNodule.hpp +++ b/Runtime/MP1/World/CPhazonHealingNodule.hpp @@ -36,6 +36,14 @@ public: void Lurk(CStateManager& mgr, EStateMsg msg, float dt) override; void Patrol(CStateManager& mgr, EStateMsg msg, float dt) override; + bool InRange(CStateManager &, float arg) override; + bool InDetectionRange(CStateManager &, float arg) override; + bool AnimOver(CStateManager &, float arg) override; + + void MassiveDeath(CStateManager &mgr) override; + void MassiveFrozenDeath(CStateManager &mgr) override; + void PhazeOut(CStateManager &) override; + private: void UpdateParticleElectric(CStateManager& mgr); };