Reimplement a few methods
This commit is contained in:
@@ -285,9 +285,9 @@ ElunaRegister<Unit> UnitMethods[] =
|
||||
#endif
|
||||
{ "SetSpeed", &LuaUnit::SetSpeed }, // :SetSpeed(type, speed[, forced]) - Sets speed for the movement type (0 = walk, 1 = run ..)
|
||||
// {"SetStunned", &LuaUnit::SetStunned}, // :SetStunned([enable]) - Stuns or removes stun
|
||||
// {"SetRooted", &LuaUnit::SetRooted}, // :SetRooted([enable]) - Roots or removes root
|
||||
// {"SetConfused", &LuaUnit::SetConfused}, // :SetConfused([enable]) - Sets confused or removes confusion
|
||||
// {"SetFeared", &LuaUnit::SetFeared}, // :SetFeared([enable]) - Fears or removes fear
|
||||
{"SetRooted", &LuaUnit::SetRooted}, // :SetRooted([enable]) - Roots or removes root
|
||||
{"SetConfused", &LuaUnit::SetConfused}, // :SetConfused([enable]) - Sets confused or removes confusion
|
||||
{"SetFeared", &LuaUnit::SetFeared}, // :SetFeared([enable]) - Fears or removes fear
|
||||
{ "SetPvP", &LuaUnit::SetPvP }, // :SetPvP([apply]) - Sets the units PvP on or off
|
||||
#if (!defined(TBC) && !defined(CLASSIC))
|
||||
{ "SetFFA", &LuaUnit::SetFFA }, // :SetFFA([apply]) - Sets the units FFA tag on or off
|
||||
|
||||
Reference in New Issue
Block a user