Esempio n. 1
0
 //Has a chance to apply the Runes effect on the boss' minion
 public void ApplyEffect(EyerisMinionController minion, SpellEffectController controller)
 {
     if (Random.Range(0f, 1f) < DoTChance)
     {
         minion.ApplyDoT(controller.GetDamageType(), controller.GetPower() * DoTDamage);
     }
 }
Esempio n. 2
0
 //Has a chance to apply the Rune's effect on the boss' minion
 public void ApplyEffect(EyerisMinionController minion, SpellEffectController controller)
 {
     if (Random.Range(0f, 1f) <= manaDrainChance)
     {
         minion.ManaDrain();
     }
 }
Esempio n. 3
0
 //Applies the spells effects when hitting a target
 public void ApplyEffects(EyerisMinionController boss)
 {
     IEffectRune[] effects = GetComponents <IEffectRune>();
     for (int i = 0; i < effects.Length; i++)
     {
         effects[i].ApplyEffect(boss, this);
     }
 }
Esempio n. 4
0
 //This effect does nothing to bosses minions
 public void ApplyEffect(EyerisMinionController minion, SpellEffectController controller)
 {
 }
Esempio n. 5
0
 //Has a chance to apply the Rune's effect on the boss
 public void ApplyEffect(EyerisMinionController minion, SpellEffectController controller)
 {
     minion.Mark(controller.GetDamageType(), markMultiplier);
 }