diff options
| author | Rival <dev.rival@mail.ru> | 2016-08-26 18:21:56 +0400 |
|---|---|---|
| committer | Shin <borzifrancesco@gmail.com> | 2016-08-26 16:21:56 +0200 |
| commit | f82c3fd94cbbd55109f4b12856d975b020432e38 (patch) | |
| tree | 90af250ffd05b32f16295353de18b0c822ea1fe8 /src | |
| parent | 527bbf80d53d2ba2b79ca7e91436d03e04d19f56 (diff) | |
Core/Pet: Fix initial energy of DK's Ghoul (#115)
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Entities/Pet/Pet.cpp | 5 |
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 +} |
