[Quest API] Add CopyHateList() to Perl/Lua. (#2623)

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

# Perl
- Add `$mob->CopyHateList(to_mob)`.

# Lua
- Add `mob:CopyHateList(to_mob)`.

# Notes
- Allows operators to easily copy and entire hatelist from one mob to another.

* Update mob.cpp
This commit is contained in:
Alex King
2022-12-06 08:38:51 -05:00
committed by GitHub
parent 3774dc50d9
commit 91ea6462f2
5 changed files with 27 additions and 0 deletions
+1
View File
@@ -519,6 +519,7 @@ public:
void DamageHateListNPCs(int64 damage, uint32 distance);
void DamageHateListNPCsPercentage(int64 damage);
void DamageHateListNPCsPercentage(int64 damage, uint32 distance);
void CopyHateList(Lua_Mob to);
};
#endif