[Quest API] Add IsUnderwaterOnly() to Perl/Lua (#2995)

# Perl
- Add `$npc->IsUnderwaterOnly()`.

# Lua
- Add `npc:IsUnderwaterOnly()`.

# Notes
- Allows operators to chec k if an NPC is underwater only.
This commit is contained in:
Alex King authored and GitHub committed 2023-02-28 21:13:43 -05:00
1 parent 69c6a7b89a
commit 9a5bf53e11
3 files changed
+13

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 IsUnderwaterOnly();
bool HasSpecialAbilities();
};