mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 12:47:07 +00:00
Core/Pet: Fix initial energy of DK's Ghoul (#115)
This commit is contained in:
@@ -977,6 +977,9 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
|
||||
// Can be summon and guardian
|
||||
if (GetEntry() == NPC_RISEN_GHOUL)
|
||||
{
|
||||
// 100% energy after summon
|
||||
SetPower(POWER_ENERGY, GetMaxPower(POWER_ENERGY));
|
||||
|
||||
// xinef: fixes orc death knight command racial
|
||||
if (m_owner->getRace() == RACE_ORC)
|
||||
CastSpell(this, SPELL_ORC_RACIAL_COMMAND, true, NULL, NULL, m_owner->GetGUID());
|
||||
@@ -2240,4 +2243,4 @@ void Pet::RemoveSpellCooldown(uint32 spell_id, bool update /* = false */)
|
||||
playerOwner->SendDirectMessage(&data);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user