Exemple #1
0
        public Int32 Cast(Int32 Barrier)
        {
            Int32 Dmg = MDmg.Int() * Ap.Int();

            Dmg -= (Int32)(Barrier * 0.2);
            return(Dmg < 0 ? 0 : Dmg);
        }
Exemple #2
0
 public void Activate()
 {
     if (State.Random.Next(2) == 0)
     {
         Attacking();
     }
     else if (MDmg.Int() != 0)
     {
         Casting();
     }
     else
     {
         Attacking();
     }
     State.Current.Info.Draw();
 }