Ejemplo n.º 1
0
    public static void Skill_2()
    {
        if (PlayerInfo.skilllvl[1] > 0)
        {
            if (PlayerInfo.skilllvl[1] > 1)
            {
                skillRange_2 = 25;
            }
            else
            {
                skillRange_2 = 20;
            }

            if (PlayerInfo.qualify[2] == 2)
            {
                if (PlayerInfo.skilllvl[1] > 2)
                {
                    PlayerInfo.skillcd[1] = 3 - Q13;
                }

                else
                {
                    PlayerInfo.skillcd[1] = 4 - Q13;
                }

                AreaATK.Area_ATK_Myself(ConnectAndJoinRandom.character, 2, RandomDie.pad, skillRange_2);
            }

            else
            {
                Choose.Selecting(ConnectAndJoinRandom.character, 2, skillRange_2);
            }
        }
    }
Ejemplo n.º 2
0
 public static void Skill_1()
 {
     if (PlayerInfo.skilllvl[0] > 0)
     {
         Choose.Selecting(ConnectAndJoinRandom.character, 1, skillRange);
     }
 }
Ejemplo n.º 3
0
    public static void Skill_1()
    {
        if (PlayerInfo.skilllvl[0] > 0)
        {
            if (PlayerInfo.qualify[2] == 2)
            {
                if (PlayerInfo.skilllvl[0] == 1)
                {
                    PlayerInfo.skillcd[0] = 4;
                }

                else if (PlayerInfo.skilllvl[0] == 2)
                {
                    PlayerInfo.skillcd[0] = 3;
                }

                else if (PlayerInfo.skilllvl[0] == 3)
                {
                    PlayerInfo.skillcd[0] = 2;
                }

                AreaATK.Area_ATK_Myself(ConnectAndJoinRandom.character, 1, RandomDie.pad, skillRange_1);
            }

            else
            {
                Choose.Selecting(ConnectAndJoinRandom.character, 1, skillRange_1);
            }
        }
    }
Ejemplo n.º 4
0
 public void OnClick()
 {
     Choose.Selecting(ConnectAndJoinRandom.character, 0, PlayerInfo.range);
 }