[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
2023-02-28 21:13:43 -05:00
committed by GitHub
parent 69c6a7b89a
commit 9a5bf53e11
3 changed files with 13 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 IsUnderwaterOnly();
bool HasSpecialAbilities();
};