Classes:AmuletOfWarding


Classes: InventoryArmorHexenArmorAmuletOfWarding
The Amulet of Warding is a silver pendant on a leather chain with a blue gemstone. It increases a Hexen player class's Armor Class by a certain amount:

  • +5 for Daedolon the Mage
  • +4 for Parias the Cleric
  • +1 for Baratus the Fighter
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
Amulet of warding
Actor type Armor Game
DoomEd Number 8008 Class Name AmuletOfWarding
Spawn ID 71 Identifier T_AMULETOFWARDING

In Hexen, it is designed to be used with the Falcon Shield, Mesh Armor and Platinum Helm, but if imported in another game only one piece of Hexen Armor can be used at a time.

In Hexen.wad, the sprite is actually named ARM4A0 and is renamed at load-time by ZDoom.

DECORATE definition

ACTOR AmuletOfWarding : HexenArmor
{
  +NOGRAVITY
  Health 3 // Armor class
  Inventory.Amount 0
  Inventory.PickupMessage "$TXT_ARMOR4" // "AMULET OF WARDING"
  States
  {
  Spawn:
    AR_4 A -1
    Stop
  }
}

ArtiBoostArmor, called in-game the Dragonskin Bracers, enhance a character's Hexen Armor class.

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.