mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 17:38:26 +00:00
[Quest API] Add HasSpellEffect() to Perl/Lua (#3319)
* [Quest API] Add HasSpellEffect() to Perl/Lua # Perl - Add `$mob->HasSpellEffect(effect_id)`. # Lua - Add `mob:HasSpellEffect(effect_id)`. # Notes - Allows operators to see if a Mob has an effect ID from any of their buffs. * Update mob.cpp
This commit is contained in:
@@ -541,6 +541,7 @@ public:
|
||||
void StopAllTimers();
|
||||
void StopTimer(const char* timer_name);
|
||||
luabind::object GetBuffSpellIDs(lua_State* L);
|
||||
bool HasSpellEffect(int effect_id);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user