mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Add setphasemask for gameobjects and other worldobjects
This commit is contained in:
@@ -193,6 +193,7 @@ ElunaRegister<WorldObject> WorldObjectMethods[] =
|
||||
{ "GetMap", &LuaWorldObject::GetMap },
|
||||
#if (!defined(TBC) && !defined(CLASSIC))
|
||||
{ "GetPhaseMask", &LuaWorldObject::GetPhaseMask },
|
||||
{ "SetPhaseMask", &LuaUnit::SetPhaseMask },
|
||||
#endif
|
||||
{ "GetInstanceId", &LuaWorldObject::GetInstanceId },
|
||||
{ "GetAreaId", &LuaWorldObject::GetAreaId },
|
||||
@@ -296,9 +297,6 @@ ElunaRegister<Unit> UnitMethods[] =
|
||||
{ "SetNativeDisplayId", &LuaUnit::SetNativeDisplayId },
|
||||
{ "SetFacing", &LuaUnit::SetFacing },
|
||||
{ "SetFacingToObject", &LuaUnit::SetFacingToObject },
|
||||
#if (!defined(TBC) && !defined(CLASSIC))
|
||||
{ "SetPhaseMask", &LuaUnit::SetPhaseMask },
|
||||
#endif
|
||||
{ "SetSpeed", &LuaUnit::SetSpeed },
|
||||
// {"SetStunned", &LuaUnit::SetStunned}, // :SetStunned([enable]) - UNDOCUMENTED - Stuns or removes stun
|
||||
{"SetRooted", &LuaUnit::SetRooted},
|
||||
|
||||
Reference in New Issue
Block a user