diff options
author | QAston <none@none> | 2009-07-28 21:34:18 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-07-28 21:34:18 +0200 |
commit | c15c25aca40d30b9ac978f3f6476dc52fa6ff94b (patch) | |
tree | f9d8df65afa21221b3be1d52f23891b8b6a5dc3d /src/game/Pet.cpp | |
parent | cf0d8a2b035a60ed0fc9a70df8d2d4d9b3a598ea (diff) |
*Cleanups and Fixes in Mirror Image script.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r-- | src/game/Pet.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index 96e365c2251..704e0981413 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -928,6 +928,16 @@ bool Guardian::InitStatsForLevel(uint32 petlevel) SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel * 4 + petlevel)); break; } + case 31216: // Mirror Image + { + SetBonusDamage( int32(m_owner->SpellBaseDamageBonus(SPELL_SCHOOL_MASK_FROST) * 0.33f)); + if(!pInfo) + { + SetCreateMana(28 + 30*petlevel); + SetCreateHealth(28 + 10*petlevel); + } + break; + } default: { if(!pInfo) |