mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-20 14:28:07 +00:00
two tables done
This commit is contained in:
@@ -42,7 +42,8 @@ void OverTimeBehavior::Load() {
|
||||
// Since m_Action is a skillID and not a behavior, get is correlated behaviorID.
|
||||
|
||||
CDSkillBehaviorTable* skillTable = CDClientManager::Instance().GetTable<CDSkillBehaviorTable>();
|
||||
m_ActionBehaviorId = skillTable->GetSkillByID(m_Action).behaviorID;
|
||||
auto skillData = skillTable->GetSkillByID(m_Action);
|
||||
if (skillData) m_ActionBehaviorId = skillData->behaviorID;
|
||||
|
||||
m_Delay = GetFloat("delay");
|
||||
m_NumIntervals = GetInt("num_intervals");
|
||||
|
Reference in New Issue
Block a user