Code Here:
Code: Select all
ACTOR ArmorBonus2 : Inventory replaces ArmorBonus
{
Radius 20
Height 16
Inventory.PickupMessage "$GOTARMBONUS" // "Picked up an armor bonus."
Inventory.PickupSound "pickup/bonus"
Inventory.Icon "ARM1A0"
Armor.SavePercent 33.335
Armor.SaveAmount 2
Armor.MaxSaveAmount 200
Inventory.MaxAmount 0
+COUNTITEM
+INVENTORY.ALWAYSPICKUP
+INVENTORY.AUTOACTIVATE
States
{
Spawn:
BON2 ABCDCB 6
Loop
}
}