summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Entities/Pet/Pet.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/Entities/Pet/Pet.cpp b/src/game/Entities/Pet/Pet.cpp
index 8bb6fdaeb8..a0f34e86df 100644
--- a/src/game/Entities/Pet/Pet.cpp
+++ b/src/game/Entities/Pet/Pet.cpp
@@ -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);
}
}
-} \ No newline at end of file
+}