Classes:AmuletOfWarding

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
Amulet of warding
Actor type Armor Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number 8008 Class Name AmuletOfWarding
Spawn ID 71 Identifier T_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

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
  }
}

Related Classes

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