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