Example #1
0
    public ComboBuff() : base(6)
    {
        energyCost = 25;

        instantAttackCombinations = new IType.BuffType[3];

        instantAttackCombinations[0] = IType.BuffType.Strength;
        instantAttackCombinations[1] = IType.BuffType.Speed;
        instantAttackCombinations[2] = IType.BuffType.Split;
    }
Example #2
0
    public SplitBuff() : base(5)
    {
        energyCost = 20;

        //Sets up combinations
        instantAttackCombinations = new IType.BuffType[3];

        instantAttackCombinations[0] = IType.BuffType.Strength;
        instantAttackCombinations[1] = IType.BuffType.Speed;
        instantAttackCombinations[2] = IType.BuffType.Combo;
    }
Example #3
0
    public HealBuff() : base(3)
    {
        energyCost = 25;
        instantPassiveCombinations = new IType.BuffType[3];

        instantPassiveCombinations[0] = IType.BuffType.Relax;
        instantPassiveCombinations[1] = IType.BuffType.Shield;
        instantPassiveCombinations[2] = IType.BuffType.Speed;

        delayedPassiveCombinations    = new IType.BuffType[1];
        delayedPassiveCombinations[0] = IType.BuffType.Linger;
    }
Example #4
0
    public ShieldBuff() : base(2)
    {
        energyCost = 10;

        //Sets up combinations
        instantPassiveCombinations    = new IType.BuffType[3];
        instantPassiveCombinations[0] = IType.BuffType.Heal;
        instantPassiveCombinations[0] = IType.BuffType.Relax;
        instantPassiveCombinations[0] = IType.BuffType.Speed;

        delayedPassiveCombinations    = new IType.BuffType[1];
        delayedPassiveCombinations[0] = IType.BuffType.Linger;
    }
Example #5
0
    public LingerBuff() : base(7)
    {
        energyCost = 10;

        delayedPassiveCombinations = new IType.BuffType[4];
        delayedPassiveCombinations[0] = IType.BuffType.Heal;
        delayedPassiveCombinations[1] = IType.BuffType.Relax;
        delayedPassiveCombinations[2] = IType.BuffType.Shield;
        delayedPassiveCombinations[3] = IType.BuffType.Speed;

        delayedAttackCombinations = new IType.BuffType[1];
        delayedAttackCombinations[0] = IType.BuffType.Strength;
    }
Example #6
0
    //Checks if the move targets itself (like heal/relax)
    public bool isTargetingSelf()
    {
        bool result = true;

        for (int i = 0; i < buffs.Length; i++)
        {
            IType.BuffType type = (IType.BuffType)buffs[i].GetBuffID();
            if (type == IType.BuffType.Combo || type == IType.BuffType.Split || type == IType.BuffType.Strength)
            {
                result = false;
                break;
            }
        }
        return(result);
    }
Example #7
0
    //Constructor - ID = 0
    public StrengthBuff() : base(0)
    {
        energyCost = 20;

        //Sets up combinations
        instantAttackCombinations = new IType.BuffType[4];

        instantAttackCombinations[0] = IType.BuffType.Strength;
        instantAttackCombinations[1] = IType.BuffType.Speed;
        instantAttackCombinations[2] = IType.BuffType.Combo;
        instantAttackCombinations[3] = IType.BuffType.Split;

        delayedAttackCombinations = new IType.BuffType[1];

        delayedAttackCombinations[0] = IType.BuffType.Linger;
    }
Example #8
0
    public SpeedBuff() : base(1)
    {
        energyCost = 15;

        //Sets up combinations
        instantAttackCombinations = new IType.BuffType[4];

        instantAttackCombinations[0] = IType.BuffType.Strength;
        instantAttackCombinations[2] = IType.BuffType.Combo;
        instantAttackCombinations[3] = IType.BuffType.Split;
        instantAttackCombinations[3] = IType.BuffType.Speed;

        instantPassiveCombinations = new IType.BuffType[3];

        instantPassiveCombinations[0] = IType.BuffType.Heal;
        instantPassiveCombinations[1] = IType.BuffType.Relax;
        instantPassiveCombinations[2] = IType.BuffType.Shield;

        delayedPassiveCombinations    = new IType.BuffType[1];
        delayedPassiveCombinations[0] = IType.BuffType.Linger;
    }