[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 authored and GitHub committed 2023-02-26 21:35:10 -05:00
1 parent ff4ccfa98f
commit 3448758c03
3 files changed
+12

No files matched your search

+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