mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Quest API] Add Additional XP Events EVENT_AA_EXP_GAIN, EVENT_EXP_GAIN (#2865)
* Add XP Events * Tweak * Formatting * Additional tweak * Adjustment * Update export naming * Formatting * Indenting * Finalizing formatting * Indenting adjustments * Use tab character setting * Remove double tabs * Update exp.cpp --------- Co-authored-by: Alex King <89047260+Kinglykrab@users.noreply.github.com>
This commit is contained in:
@@ -1181,6 +1181,30 @@ void handle_player_aa_gain(
|
||||
lua_setfield(L, -2, "aa_gained");
|
||||
}
|
||||
|
||||
void handle_player_aa_exp_gain(
|
||||
QuestInterface *parse,
|
||||
lua_State* L,
|
||||
Client* client,
|
||||
std::string data,
|
||||
uint32 extra_data,
|
||||
std::vector<std::any> *extra_pointers
|
||||
) {
|
||||
lua_pushinteger(L, std::stoull(data));
|
||||
lua_setfield(L, -2, "aa_exp_gained");
|
||||
}
|
||||
|
||||
void handle_player_exp_gain(
|
||||
QuestInterface *parse,
|
||||
lua_State* L,
|
||||
Client* client,
|
||||
std::string data,
|
||||
uint32 extra_data,
|
||||
std::vector<std::any> *extra_pointers
|
||||
) {
|
||||
lua_pushinteger(L, std::stoull(data));
|
||||
lua_setfield(L, -2, "exp_gained");
|
||||
}
|
||||
|
||||
void handle_player_level_up(
|
||||
QuestInterface *parse,
|
||||
lua_State* L,
|
||||
|
||||
Reference in New Issue
Block a user