Пример #1
0
        private void FightButton_Click(object sender, EventArgs e)
        {
            if (monsterDa >= hp)
            {
                MessageBox.Show("勇者,還是快逃吧!");
            }
            else
            {
                EscapeButton.Hide();
                FightButton.Hide();

                FuncButton.Show();
                FuncButton.Text = "攻擊鈕-剩餘" + attacknum + "次";
            }
        }
Пример #2
0
 public MainScreen()
 {
     InitializeComponent();
     //Story.SetNext(64);
     TutorialScreen.BringToFront();
     TutorialScreen.Show();
     CharacterName.Text = "";
     LabelODa.Text      = LabelOHP.Text = LabelDa.Text = LabelHP.Text = LabelLv.Text = "";
     kill    = hp = da = 0;
     lv      = 'C';
     Rank[1] = 'C';
     Rank[2] = 'B';
     Rank[3] = 'A';
     Rank[4] = 'S';
     FightButton.Hide();
     EscapeButton.Hide();
     FuncButton.Hide();
     da = 10;
     hp = 10;
     PocDefine();
 }
Пример #3
0
 private void EscapeButton_Click(object sender, EventArgs e)
 {
     FightButton.Hide();
     EscapeButton.Hide();
     PocDefine();
 }