Is there a way to send messages to error box or something. I have some steps in a method that sends feedback to a textbox. The problem is this part
never seems to happen, even when I set parrySkillOpponent over 100.Code://If parryroll was greater than their ParrySkill then they failed if (parry == true) //parry ability true, opponent can Parry! { parryrate = parrySkillOpponent; //Opponent's skill in Parry Random randParry = new Random(); parryroll = Math.Abs(randParry.Next(1, 100)); if (parrySkillOpponent < parryroll) {
(BTW) The Parry skill is enabled true by a check box. Maybe I am not correctly checking if the checkbox has been checked? If so what is the correct way to check if a Checkbox has been checked?




Reply With Quote