feat(LuaEngine/UnitMethods): add GetThreat, ClearThreat, ResetAllThreat methods (#234)
This commit is contained in:
@@ -321,6 +321,7 @@ ElunaRegister<Unit> UnitMethods[] =
|
||||
// {"GetVehicle", &LuaUnit::GetVehicle}, // :GetVehicle() - UNDOCUMENTED - Gets the Vehicle kit of the vehicle the unit is on
|
||||
{ "GetMovementType", &LuaUnit::GetMovementType },
|
||||
{ "GetAttackers", &LuaUnit::GetAttackers },
|
||||
{ "GetThreat", &LuaUnit::GetThreat },
|
||||
|
||||
// Setters
|
||||
{ "SetFaction", &LuaUnit::SetFaction },
|
||||
@@ -454,6 +455,8 @@ ElunaRegister<Unit> UnitMethods[] =
|
||||
{ "DealHeal", &LuaUnit::DealHeal },
|
||||
{ "AddThreat", &LuaUnit::AddThreat },
|
||||
{ "ModifyThreatPct", &LuaUnit::ModifyThreatPct },
|
||||
{ "ClearThreat", &LuaUnit::ClearThreat },
|
||||
{ "ResetAllThreat", &LuaUnit::ResetAllThreat },
|
||||
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user