mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
[Bug Fix] Fix EVENT_KILLED_MERIT firing before NPC removal (#4185)
* [Bug Fix] Fix EVENT_KILLED_MERIT firing before NPC removal # Notes - NPCs were parsing this event too early and anything that checked if they were still alive in `EVENT_KILLED_MERIT` would show them still alive because of this. # Image * Code cleanup * Update client.h * Add GetRaidOrGroupOrSelf() to Perl/Lua * Update to luabind::object, fix logic per comments. * Fix * Fix per comments.
This commit is contained in:
@@ -496,6 +496,8 @@ public:
|
||||
int GetAAEXPPercentage();
|
||||
int GetEXPPercentage();
|
||||
bool IsInAGuild();
|
||||
luabind::object GetRaidOrGroupOrSelf(lua_State* L);
|
||||
luabind::object GetRaidOrGroupOrSelf(lua_State* L, bool clients_only);
|
||||
|
||||
void ApplySpell(int spell_id);
|
||||
void ApplySpell(int spell_id, int duration);
|
||||
|
||||
Reference in New Issue
Block a user