[Performance] Improve SkillCaps::GetTrainLevel() Efficiency (#4350)

* [Performance] Improve SkillCaps::GetTrainLevel() Efficiency

* Finalize
This commit is contained in:
Alex King
2024-05-26 19:55:00 -04:00
committed by GitHub
parent 1b15f16e3e
commit c50fda0f73
8 changed files with 37 additions and 22 deletions
+1
View File
@@ -504,6 +504,7 @@ public:
bool SetAutoLoginCharacterName(std::string character_name);
void DescribeSpecialAbilities(Lua_NPC n);
void ResetLeadershipAA();
uint8 GetSkillTrainLevel(int skill_id);
void ApplySpell(int spell_id);
void ApplySpell(int spell_id, int duration);