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 committed 2011-04-17 13:32:46 +02:00
1 parent 35c238050a
commit 18f4ed5de4
3 files changed
+5 -5

No files matched your search

+1
View File
@@ -16956,6 +16956,7 @@ INSERT INTO `spell_bonus_data` (`entry`,`direct_bonus`,`dot_bonus`,`ap_bonus`,`a
(2948, 0.4286, -1, -1, -1, 'Mage - Scorch'),
(59638, 0.3, -1, 0, -1, 'Mage - Mirror Image Frostbolt'),
(59637, 0.15, -1, 0, -1, 'Mage - Mirror Image Fire Blast'),
(31707, 0.8333, 0, 0, 0, 'Mage - Water Elemental Waterbolt'),
(31935, 0.07, -1, 0.07, -1, 'Paladin - Avenger Shield'),
(53742, -1, 0.0176, -1, 0.03, 'Paladin - Blood Corruption'),
(26573, -1, 0.04, -1, 0.04, 'Paladin - Consecration'),
@@ -0,0 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry`=31707;
INSERT INTO `spell_bonus_data` (`entry`,`direct_bonus`,`dot_bonus`,`ap_bonus`,`ap_dot_bonus`,`comments`) VALUES
(31707,0.8333,0,0,0, 'Mage - Water Elemental Waterbolt');
+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