[Quest API] Add MaxSkills() to Perl/Lua. (#2621)

* [Quest API] Add MaxSkills() to Perl/Lua.

# Perl
- Add `$client->MaxSkills()`.

# Lua
- Add `client:MaxSkills()`.

# Notes
- Allows operators an easy short hand for maxing a player's skills for their level without needing to do all the looping and stuff on their own.

* Cleanup.

* Only set if it's higher than skill level player has.

* Add constant.
This commit is contained in:
Alex King
2022-12-06 08:46:21 -05:00
committed by GitHub
parent 91ea6462f2
commit f7fb1c9fe1
7 changed files with 45 additions and 14 deletions
+1
View File
@@ -453,6 +453,7 @@ public:
void SendPayload(int payload_id);
void SendPayload(int payload_id, std::string payload_value);
std::string GetGuildPublicNote();
void MaxSkills();
void ApplySpell(int spell_id);
void ApplySpell(int spell_id, int duration);