/* Define a new class of armor that gives 50 armor and provides 75% protection
 * against bullets, but only 25% against everything else.
 * Note that the bullets are a custom "hitscan" damage type.
 * replace/monsters.txt will add it to all the stock Doom 2 monsters that use
 * hitscan weapons, but custom monsters are your own problem.
 *
 * DEPENDS ON:
 * - realm667.HeavyArmor.wad (for sprites)
 * - replace/monsters.txt (to give stock monsters the right damage type)
 */

actor CommandoArmor : BasicArmorPickup 13401
{
    radius 20
    height 16
    inventory.pickupmessage "Picked up the commando armor."
    inventory.icon "HEVAB0"
    armor.saveamount 50
    armor.savepercent 25
    damagefactor "hitscan", 0.333

    states {
    Spawn:
      HEVA B 6
      HEVA A 6 bright
      loop
    }
}
