public void AcquireArmor() { damageReduction = armorRating; int d = SlotInfo.GetItemsFlags(); d |= SlotInfo.stateArmor; SlotInfo.SetItemsFlags(d); }
public void AcquireSubTankWeapon2() { if (!SlotInfo.isSubTankWeapon2Acquired) { mSubTankWeaponMax += subTankMaxValue; int d = SlotInfo.GetItemsFlags(); d |= SlotInfo.stateSubTankWeapon2; SlotInfo.SetItemsFlags(d); } }
public void AcquireSubTankEnergy1() { if (!SlotInfo.isSubTankEnergy1Acquired) { mSubTankEnergyMax += subTankMaxValue; int d = SlotInfo.GetItemsFlags(); d |= SlotInfo.stateSubTankEnergy1; SlotInfo.SetItemsFlags(d); } }