| 555 | } |
| 556 | |
| 557 | void 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 |
| 575 | bool ShieldClass::ConvertCheck() |