mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
Core/Vehicles: Add some missing power types, thanks to Heisenberg, closes issue 3841
--HG-- branch : trunk
This commit is contained in:
@@ -76,8 +76,10 @@ void Vehicle::Install()
|
||||
switch (m_vehicleInfo->m_powerType)
|
||||
{
|
||||
case POWER_STEAM:
|
||||
case POWER_HEAT:
|
||||
case POWER_BLOOD:
|
||||
case POWER_OOZE:
|
||||
case POWER_WRATH:
|
||||
me->setPowerType(POWER_ENERGY);
|
||||
me->SetMaxPower(POWER_ENERGY, 100);
|
||||
break;
|
||||
|
||||
@@ -29,8 +29,10 @@ enum PowerType
|
||||
{
|
||||
POWER_STEAM = 61,
|
||||
POWER_PYRITE = 41,
|
||||
POWER_HEAT = 101,
|
||||
POWER_OOZE = 121,
|
||||
POWER_BLOOD = 141
|
||||
POWER_BLOOD = 141,
|
||||
POWER_WRATH = 142
|
||||
};
|
||||
|
||||
enum VehicleFlags
|
||||
|
||||
Reference in New Issue
Block a user