Add change idle flags behavior and GM (#871)

* update naming for animation flag enum value 0

* Add change idle flags behaviors and GM

* default to 0 when none is given
This commit is contained in:
Aaron Kimbrell
2022-12-16 15:24:13 -06:00
committed by GitHub
parent 32f8bda538
commit 631365b7f7
11 changed files with 93 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ void SwitchBehavior::Handle(BehaviorContext* context, RakNet::BitStream* bitStre
return;
}
Game::logger->Log("SwitchBehavior", "[%i] State: (%d), imagination: (%i) / (%f)", entity->GetLOT(), state, destroyableComponent->GetImagination(), destroyableComponent->GetMaxImagination());
Game::logger->LogDebug("SwitchBehavior", "[%i] State: (%d), imagination: (%i) / (%f)", entity->GetLOT(), state, destroyableComponent->GetImagination(), destroyableComponent->GetMaxImagination());
if (state || (entity->GetLOT() == 8092 && destroyableComponent->GetImagination() >= m_imagination)) {
this->m_actionTrue->Handle(context, bitStream, branch);