Пример #1
0
 public void AddShadowModifiers(SpellModifiers modifiers)
 {
     modifiers.AddMultiplicativeMultiplier(
         Stats.BonusShadowDamageMultiplier);
     modifiers.AddAdditiveMultiplier(
         Talents.ShadowMastery * .03f);
     if (Options.GetActiveRotation().Contains("Shadow Bolt") ||
         (Options.GetActiveRotation().Contains("Haunt") &&
          Talents.Haunt > 0))
     {
         modifiers.AddMultiplicativeTickMultiplier(
             Talents.ShadowEmbrace * .01f * 3f);
     }
     if (CastSpells.ContainsKey("Haunt"))
     {
         modifiers.AddMultiplicativeTickMultiplier(
             ((Haunt)CastSpells["Haunt"]).GetAvgTickBonus());
     }
     if (Pet is Succubus)
     {
         float bonus = Talents.MasterDemonologist * .01f;
         modifiers.AddMultiplicativeMultiplier(bonus);
         modifiers.AddCritChance(bonus);
     }
 }
Пример #2
0
 public void AddFireModifiers(SpellModifiers modifiers)
 {
     modifiers.AddMultiplicativeMultiplier(
         Stats.BonusFireDamageMultiplier);
     modifiers.AddAdditiveMultiplier(Talents.Emberstorm * .03f);
     if (Pet is Imp)
     {
         float bonus = Talents.MasterDemonologist * .01f;
         modifiers.AddMultiplicativeMultiplier(bonus);
         modifiers.AddCritChance(bonus);
     }
 }