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
|
// Can be summon and guardian
|
||||||
if (GetEntry() == NPC_RISEN_GHOUL)
|
if (GetEntry() == NPC_RISEN_GHOUL)
|
||||||
{
|
{
|
||||||
|
// 100% energy after summon
|
||||||
|
SetPower(POWER_ENERGY, GetMaxPower(POWER_ENERGY));
|
||||||
|
|
||||||
// xinef: fixes orc death knight command racial
|
// xinef: fixes orc death knight command racial
|
||||||
if (m_owner->getRace() == RACE_ORC)
|
if (m_owner->getRace() == RACE_ORC)
|
||||||
CastSpell(this, SPELL_ORC_RACIAL_COMMAND, true, NULL, NULL, m_owner->GetGUID());
|
CastSpell(this, SPELL_ORC_RACIAL_COMMAND, true, NULL, NULL, m_owner->GetGUID());
|
||||||
|
|||||||
Reference in New Issue
Block a user