Core/Spells: Fix damage scaling of mages Water Elementals.

- Water Elemental scales with 33% of mages spell power.
- Waterbolt scales with 83.33% of elementals spell power.
This commit is contained in:
kaelima
2011-04-17 13:32:46 +02:00
parent 35c238050a
commit 18f4ed5de4
3 changed files with 5 additions and 5 deletions
+1 -5
View File
@@ -939,11 +939,7 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
{
case 510: // mage Water Elemental
{
//40% damage bonus of mage's frost damage
float val = m_owner->GetUInt32Value(PLAYER_FIELD_MOD_DAMAGE_DONE_POS + SPELL_SCHOOL_FROST) * 0.4f;
if (val < 0)
val = 0;
SetBonusDamage(int32(val));
SetBonusDamage(int32(m_owner->SpellBaseDamageBonus(SPELL_SCHOOL_MASK_FROST) * 0.33f));
break;
}
case 1964: //force of nature