public static void MindlessAttack(Donger dong) { foreach (Effect f in dong.effects) { f.Execute(dong); } dong.effects.RemoveAll(x => x.Timer <= 0); int strike = SeijaHelper.RandomProvider.GetThreadRandom().Next(0, 100); if (strike < dong.acurityMod) { int damage = SeijaHelper.RandomProvider.GetThreadRandom().Next(3, 10); //damage=?; damage = (int)(damage * dong.damageMod); if (dong.armor == Donger.defArmor) Donger.SendMessages(dong.DongerInfo + " attacks " + dong.DongerInfo + " and deals " + damage.ToString() + " damage"); else Donger.SendMessages(dong.DongerInfo + " attacks " + dong.DongerInfo + " and deals " + ((int)(damage / dong.armor)).ToString() + " damage"); dong.TakeDamage(damage); } else Donger.SendMessages(dong.DongerInfo + " misses!"); }