aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Pet.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 1f89e94754d..5bd42cfa007 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -883,14 +883,7 @@ 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)
{
@@ -982,7 +975,7 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
SetCreateHealth(30*petlevel);
float dmg_multiplier = 0.3f;
- if (HasAura(63271)) // Glyph of Feral Spirit
+ if (m_owner->GetAuraEffect(63271, 0)) // Glyph of Feral Spirit
dmg_multiplier = 0.6f;
SetBonusDamage(int32(m_owner->GetTotalAttackPowerValue(BASE_ATTACK) * dmg_multiplier));