Merge branch 'master' into dev

This commit is contained in:
Salja
2014-12-21 07:00:03 +01:00
4 changed files with 370 additions and 0 deletions

View File

@@ -265,6 +265,9 @@ ElunaRegister<Unit> UnitMethods[] =
{ "GetVehicleKit", &LuaUnit::GetVehicleKit }, // :GetVehicleKit() - Gets unit's Vehicle kit if the unit is a vehicle
// {"GetVehicle", &LuaUnit::GetVehicle}, // :GetVehicle() - Gets the Vehicle kit of the vehicle the unit is on
#endif
#ifdef MANGOS
{ "GetMovementType", &LuaUnit::GetMovementType },
#endif
// Setters
{ "SetFaction", &LuaUnit::SetFaction }, // :SetFaction(factionId) - Sets the unit's faction