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); } }
private void MagicAttack(HeroSteve livingBeeing, int diceNumber, System.Windows.Forms.RichTextBox richTextBox, System.Windows.Forms.Label lHero) { livingBeeing.SetHeroDamages(this.attackPoints * diceNumber, richTextBox, lHero); }
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); }