feat: add Unit:GetAttackers (#116)

This commit is contained in:
Axel Cocat
2023-04-04 21:17:11 +02:00
committed by GitHub
parent 995ca165a9
commit 8a85df8ee7
3 changed files with 30 additions and 0 deletions

View File

@@ -311,6 +311,7 @@ ElunaRegister<Unit> UnitMethods[] =
// {"GetVehicle", &LuaUnit::GetVehicle}, // :GetVehicle() - UNDOCUMENTED - Gets the Vehicle kit of the vehicle the unit is on
#endif
{ "GetMovementType", &LuaUnit::GetMovementType },
{ "GetAttackers", &LuaUnit::GetAttackers },
// Setters
{ "SetFaction", &LuaUnit::SetFaction },