Пример #1
0
    public void CSkill(int skillIndex)
    {
        switch (skillIndex)
        {
        case 9:
            laser_Beam_Behaviour.Use(Enemy, Player);
            break;

        case 12:
            StartCoroutine(revind_Behaviour.Use());
            break;

        case 13:
            StartCoroutine(black_Hole_Behaviour.Use(Player));
            break;
        }
        CSlot.CoolDownCounter(CreatePlayer.chosenShip.CSkill, cSkillSlot);
    }
Пример #2
0
    public void ZSkill(int skillIndex)
    {
        switch (skillIndex)
        {
        case 6:
            mirror_Shield_Behaviour.Use(Player);
            break;

        case 10:
            StartCoroutine(invisible_Behaviour.Use(Player));
            break;

        case 14:
            shield_Behaviour.Use(Player);
            break;
        }
        ZSlot.CoolDownCounter(CreatePlayer.chosenShip.ZSkill, zSkillSlot);
    }
Пример #3
0
    public void XSkill(int skillIndex)
    {
        switch (skillIndex)
        {
        case 8:
            desant_Behaviour.Use(Player);
            break;

        case 11:
            StartCoroutine(electric_Charge_Behaviour.Use(Player, Enemy));
            break;

        case 15:
            airForceCall_Behaviour.Use(Player);

            break;
        }
        XSlot.CoolDownCounter(CreatePlayer.chosenShip.XSkill, xSkillSlot);
    }
Пример #4
0
    public void DSkill(int skillIndex)
    {
        StartCoroutine(circle_Move_Behaviour.Use(Player));

        DSlot.CoolDownCounter(CreatePlayer.chosenShip.DSkill, dSkillSlot);
    }
Пример #5
0
    public void SSkill(int skillIndex)
    {
        tel_Behaviour.Use(Player);

        SSlot.CoolDownCounter(CreatePlayer.chosenShip.SSkill, sSkillSlot);
    }
Пример #6
0
    public void ASkill(int skillIndex)
    {
        om_Behaviour.Use(Player);

        ASlot.CoolDownCounter(CreatePlayer.chosenShip.ASkill, aSkillSlot);
    }