[Quest API] Add GetEXPForLevel() to Perl/Lua (#3403)

# Perl
- Add `$client->GetEXPForLevel(check_level)`.

# Lua
- Add `client:GetEXPForLevel(check_level)`.

# Notes
- This allows operators to see the required experience for a level based on the client provided, this takes race/class modifiers into account as well if enabled.
This commit is contained in:
Alex King authored and GitHub committed 2023-06-12 19:18:39 -05:00
1 parent 152e99444c
commit c5c575b028
4 files changed
+15 -1

No files matched your search

+1
View File
@@ -468,6 +468,7 @@ public:
void UseAugmentContainer(int container_slot);
bool IsAutoAttackEnabled();
bool IsAutoFireEnabled();
uint32 GetEXPForLevel(uint16 check_level);
void ApplySpell(int spell_id);
void ApplySpell(int spell_id, int duration);