コード例 #1
0
 /// <summary>
 /// Get total damage, after adding/subtracting all modifiers (is not used for DoT)
 /// </summary>
 public int GetFinalDamage(DamageSchool school, int dmg, Spell spell = null)
 {
     if (spell != null)
     {
         dmg = Auras.GetModifiedInt(SpellModifierType.SpellPower, spell, dmg);
     }
     return(dmg);
 }