Пример #1
0
        public new void Attack(HeroSteve steve, System.Windows.Forms.RichTextBox richTextBox, System.Windows.Forms.Label lHero, System.Windows.Forms.Label lMonster)
        {
            steve.SetHeroDamages(this.attackPoints, richTextBox, lHero);
            int diceScore = this.FateDice.GetFateDiceResult();

            lMonster.Text = diceScore.ToString();
            if (diceScore < 6)
            {
                richTextBox.AppendText("MUDA MUDA MUDA MUDA MUDA MUDA MUDA (attaque magique)" + "\r\n");
                MagicAttack(steve, diceScore, richTextBox, lHero);
            }
        }
Пример #2
0
 private void MagicAttack(HeroSteve livingBeeing, int diceNumber, System.Windows.Forms.RichTextBox richTextBox, System.Windows.Forms.Label lHero)
 {
     livingBeeing.SetHeroDamages(this.attackPoints * diceNumber, richTextBox, lHero);
 }
Пример #3
0
 public void Attack(HeroSteve steve, System.Windows.Forms.RichTextBox richTextBox, System.Windows.Forms.Label hero, System.Windows.Forms.Label badguy)
 {
     steve.SetHeroDamages(this.attackPoints, richTextBox, hero);
 }