예제 #1
0
    public void AcquireArmor()
    {
        damageReduction = armorRating;

        int d = SlotInfo.GetItemsFlags();

        d |= SlotInfo.stateArmor;
        SlotInfo.SetItemsFlags(d);
    }
예제 #2
0
    public void AcquireSubTankWeapon2()
    {
        if (!SlotInfo.isSubTankWeapon2Acquired)
        {
            mSubTankWeaponMax += subTankMaxValue;

            int d = SlotInfo.GetItemsFlags();
            d |= SlotInfo.stateSubTankWeapon2;
            SlotInfo.SetItemsFlags(d);
        }
    }
예제 #3
0
    public void AcquireSubTankEnergy1()
    {
        if (!SlotInfo.isSubTankEnergy1Acquired)
        {
            mSubTankEnergyMax += subTankMaxValue;

            int d = SlotInfo.GetItemsFlags();
            d |= SlotInfo.stateSubTankEnergy1;
            SlotInfo.SetItemsFlags(d);
        }
    }