Add Lua function bindings for IsPet and ToPet
This commit is contained in:
@@ -416,6 +416,7 @@ ALERegister<Unit> UnitMethods[] =
|
|||||||
{ "IsCasting", &LuaUnit::IsCasting },
|
{ "IsCasting", &LuaUnit::IsCasting },
|
||||||
{ "IsStandState", &LuaUnit::IsStandState },
|
{ "IsStandState", &LuaUnit::IsStandState },
|
||||||
{ "IsOnVehicle", &LuaUnit::IsOnVehicle },
|
{ "IsOnVehicle", &LuaUnit::IsOnVehicle },
|
||||||
|
{ "IsPet", &LuaUnit::IsPet },
|
||||||
|
|
||||||
// Other
|
// Other
|
||||||
{ "HandleStatFlatModifier", &LuaUnit::HandleStatFlatModifier },
|
{ "HandleStatFlatModifier", &LuaUnit::HandleStatFlatModifier },
|
||||||
@@ -471,6 +472,7 @@ ALERegister<Unit> UnitMethods[] =
|
|||||||
{ "ModifyThreatPct", &LuaUnit::ModifyThreatPct },
|
{ "ModifyThreatPct", &LuaUnit::ModifyThreatPct },
|
||||||
{ "ClearThreat", &LuaUnit::ClearThreat },
|
{ "ClearThreat", &LuaUnit::ClearThreat },
|
||||||
{ "ResetAllThreat", &LuaUnit::ResetAllThreat },
|
{ "ResetAllThreat", &LuaUnit::ResetAllThreat },
|
||||||
|
{ "ToPet", &LuaUnit::ToPet },
|
||||||
|
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user