From 3344b3500a6ef847e51692e84b4a8657f365e8a3 Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Sat, 26 Dec 2009 10:24:19 +0100 Subject: Fixed Glyph of Feral Spirit --HG-- branch : trunk --- src/game/Pet.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index 58a561c3a6f..88e07ae69f4 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -886,7 +886,14 @@ bool Guardian::InitStatsForLevel(uint8 petlevel) SetCreateStat(STAT_INTELLECT, 28); SetCreateStat(STAT_SPIRIT, 27); } - + if (GetEntry() == 29264) + { + float apbonus=0.35f; + + // Glyph of Feral Spirit + if (AuraEffect *aurEff = m_owner->GetAuraEffect(63271, 0)) + apbonus += aurEff->GetAmount() / 100.0f; + } m_bonusdamage = 0; switch (petType) { -- cgit v1.2.3