mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 18:43:48 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -72,7 +72,7 @@ void Vehicle::Install()
|
||||
{
|
||||
if (PowerDisplayEntry const* powerDisplay = sPowerDisplayStore.LookupEntry(_vehicleInfo->m_powerDisplayId))
|
||||
_me->setPowerType(Powers(powerDisplay->PowerType));
|
||||
else if (_me->getClass() == CLASS_ROGUE)
|
||||
else if (_me->IsClass(CLASS_ROGUE, CLASS_CONTEXT_ABILITY))
|
||||
_me->setPowerType(POWER_ENERGY);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user