Merge pull request #4354 from elecyb/eletotem2

Core/Spells: Added spells for Fire Elemental Totem and Earth Elemental T...
This commit is contained in:
Machiavelli
2011-12-16 09:44:31 -08:00
4 changed files with 127 additions and 0 deletions
+1
View File
@@ -908,6 +908,7 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
SetCreateHealth(40*petlevel);
SetCreateMana(28 + 10*petlevel);
}
SetBonusDamage(m_owner->SpellBaseDamageBonus(SPELL_SCHOOL_MASK_FIRE) * 0.5f);
SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel * 4 - petlevel));
SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel * 4 + petlevel));
break;