[Quest API] Add HasSpecialAbilities() to Perl/Lua (#2994)

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

# Perl
- Add `$mob->HasSpecialAbilities()`.

# Lua
- Add `mob:HasSpecialAbilities()`

# Notes
- Allows operators to check if a mob has special abilities

* Move to NPC.

* Update lua_mob.cpp
This commit is contained in:
Alex King
2023-02-26 21:35:10 -05:00
committed by GitHub
parent ff4ccfa98f
commit 3448758c03
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -174,6 +174,7 @@ public:
void SetLDoNTrapDetected(bool is_detected);
void ScaleNPC(uint8 npc_level);
void ScaleNPC(uint8 npc_level, bool override_special_abilities);
bool HasSpecialAbilities();
};
#endif