aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 3cab76b8d9f..3b842034423 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -956,6 +956,19 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel * 4 + petlevel));
break;
}
+ case 19668: // Shadowfiend
+ {
+ if (!pInfo)
+ {
+ SetCreateMana(28 + 10*petlevel);
+ SetCreateHealth(28 + 30*petlevel);
+ }
+ int32 bonus_dmg = (int32(m_owner->SpellBaseDamageBonus(SPELL_SCHOOL_MASK_SHADOW)* 0.3f));
+ SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float((petlevel * 4 - petlevel) + bonus_dmg));
+ SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float((petlevel * 4 + petlevel) + bonus_dmg));
+
+ break;
+ }
case 19833: //Snake Trap - Venomous Snake
{
SetCreateHealth(uint32(107 * (petlevel - 40) * 0.025f));