[Quest API] Add SendPath() to Perl/Lua. (#2740)

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

# Perl
- Add `$client->SendPath(target)`.

# Lua
- Add `client:SendPath(target)`.

# Notes
- Allows operators to send a path to a target arbitrarily with a script.

* Update client.cpp
This commit is contained in:
Alex King
2023-01-15 17:02:06 -05:00
committed by GitHub
parent 64c62c4f0a
commit eed45e5250
6 changed files with 144 additions and 99 deletions
+1
View File
@@ -461,6 +461,7 @@ public:
uint64 CalcEXP(uint8 consider_level, bool ignore_modifiers);
bool CanEnterZone(std::string zone_short_name);
bool CanEnterZone(std::string zone_short_name, int16 instance_version);
void SendPath(Lua_Mob target);
void ApplySpell(int spell_id);
void ApplySpell(int spell_id, int duration);