mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
[Quest API] Add RemoveAAPoints() and AA Loss Event to Perl/Lua (#4174)
* [Quest API] Add RemoveAAPoints() and AA Loss Event to Perl/Lua # Perl - Add `$client->RemoveAAPoints(points)`. - Add `EVENT_AA_LOSS`, exports `$aa_lost`. # Lua - Add `client:RemoveAAPoints(points)`. - Add `event_aa_loss`, exports `e.aa_lost`. # Notes - Allows operators to more easily remove AA Points. - Has a bool return type that will return false if the player does not have enough AA Points to complete the removal. * Update client.cpp
This commit is contained in:
@@ -566,6 +566,7 @@ public:
|
||||
void SetBotSpawnLimit(int new_spawn_limit, uint8 class_id);
|
||||
void CampAllBots();
|
||||
void CampAllBots(uint8 class_id);
|
||||
bool RemoveAAPoints(uint32 points);
|
||||
|
||||
void DialogueWindow(std::string markdown);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user