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

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

* Finalize
This commit is contained in:
Alex King authored and GitHub committed 2024-05-26 18:55:00 -05:00
1 parent 1b15f16e3e
commit c50fda0f73
8 files changed
+37 -22

No files matched your search

+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);