Exemple #1
0
 //ยัก 5 : ตีกับเวลสาม ชนะ
 // แมลง 3  : เวล 3 เจอเวล  2 ตาย
 // แมลง 4 : เจอเวล 1 ตาย
 public Form1()
 {
     //ob 6 : เวลสองตีเวลสองชนะ
     InitializeComponent();                      // spirit 7 attack น้อยกว่า +2
     m = c.notifymodeltoview();                  // spirit 8 attack น้อย + 1
     battle_button.Hide();                           //9 lv 2  ตายเมื่อสู้ LV 2
     p1_Select.Hide();                               //10 lv 1  ตายเมื่อสู้ LV 2
     P2_Select.Hide();                               //11 lv 1  ตายเมื่อสู้ LV 2
     start.Hide();
     next_button.Hide();
     end.Hide();
 }
Exemple #2
0
 private void pictureBox8_Click(object sender, EventArgs e)
 {
     c.selectclan(2);
     m = c.notifymodeltoview();
     Notify();
     gameview.setclan(2);
     if (c.checkp1())
     {
         text_deck.Text = "Player 2 Select Deck";
     }
     pictureBox8.Hide();
     pictureBox1.Image = chuppy_useless_species.Properties.Resources.human_cover;
     if (c.checkselectdeck())
     {
         text_deck.Hide();
         text_turn.Show();
     }
 }
Exemple #3
0
 public Image returnimgskill(int skillnum)
 {
     Image m = Image.FromFile(@"../../images/bgcard.png");
     switch (skillnum)
     {
         case 1:
             m = Image.FromFile(@"../../images/button/skill/skill_inbox/skill_uplevel2.png");
             break;
         case 2:
             m = Image.FromFile(@"../../images/button/skill/skill_inbox/skill_stillhp1.png");
             break;
         case 3:
             m = Image.FromFile(@"../../images/button/skill/skill_inbox/reversel_inbox.png");
             break;
         case 4:
             m = Image.FromFile(@"../../images/button/skill/skill_inbox/skill_uplevel1.png");
             break;
         case 5:
             m = Image.FromFile(@"../../images/button/skill/skill_inbox/skill_slience.png");
             break;
         case 6:
             m = Image.FromFile(@"../../images/button/skill/skill_inbox/endl_inbox.png");
             break;
         case 7:
             m = Image.FromFile(@"../../images/button/skill/skill_inbox/skill_immune.png");
             break;
         case 8:
             m = Image.FromFile(@"../../images/button/skill/skill_inbox/skill_boom.png");
             break;
         case 9:
             m = Image.FromFile(@"../../images/button/skill/skill_inbox/skill_stillhp2.png");
             break;
         case 10:
             m = Image.FromFile(@"../../images/button/skill/skill_inbox/skill_master.png");
             break;
     }
     return m;
 }