MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / TemporalCheck

Method TemporalCheck

src/New/Entity/ShieldClass.cpp:557–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555}
556
557void ShieldClass::TemporalCheck()
558{
559 if (!this->Temporal)
560 return;
561
562 this->Temporal = false;
563
564 const auto timer = (this->HP <= 0) ? &this->Timers.Respawn : &this->Timers.SelfHealing;
565 timer->Resume();
566
567 if (this->IdleAnim)
568 {
569 this->IdleAnim->UnderTemporal = false;
570 this->IdleAnim->Unpause();
571 }
572}
573
574// Is used for DeploysInto/UndeploysInto and Type conversion
575bool ShieldClass::ConvertCheck()

Callers 1

AIMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected