diff options
author | n0n4m3 <none@none> | 2009-12-26 10:24:19 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-26 10:24:19 +0100 |
commit | 3344b3500a6ef847e51692e84b4a8657f365e8a3 (patch) | |
tree | fff6c9151730865264c5a420e79f8dfc0e4b7192 | |
parent | 4a707509b9cd5316633d6b5abf8e0cbb9f1baa26 (diff) |
Fixed Glyph of Feral Spirit
--HG--
branch : trunk
-rw-r--r-- | src/game/Pet.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
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) { |