Core/Pet: Fix initial energy of DK's Ghoul (#115)
This commit is contained in:
parent
527bbf80d5
commit
f82c3fd94c
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue