home » builders » builder's lessons » object affect flags

Object affect flags

Affects can be applied to objects, and when worn these affects affect the wearer.

AFF_BLIND Wearer of object is affected by blindness
AFF_INVIS Wearer of object is invisible
AFF_DETECT_EVIL Wearer of object can detect evil
AFF_DETECT_INVIS Wearer of object can detect magic
AFF_DETECT_MAGIC Wearer of object can detect magic
AFF_DETECT_HIDDEN Wearer of object can detect hidden creatures
AFF_DETECT_BURIED Wearer of object can detect buried
AFF_SANCTUARY Wearer of object is protected by sanctuary
AFF_FAERIE_FIRE Wearer of object is affected by faerie fire
AFF_INFRARED Wearer of object has infravision
AFF_CURSE Wearer of object is cursed
AFF_POISON Wearer of object is poisoned
AFF_PROTECT Wearer of object is protected by protection
AFF_PARALYSIS Wearer of object is paralyzed
AFF_SNEAK Wearer of object is sneaking
AFF_HIDE Wearer of object is hiding
AFF_SLEEP Wearer of object is affected by sleep spell
AFF_CHARM Wearer of object is charmed
AFF_FLYING Wearer of object is is flying
AFF_PASS_DOOR Wearer of object can pass door
AFF_FLOATING Wearer of object is floating
AFF_TRUE_SIGHT Wearer of object is affected by truesight
AFF_FIRESHIELD Wearer of object is affected by fireshield
AFF_SHOCKSHIELD Wearer of object is affected by shockshield
AFF_ICESHIELD Wearer of object is affected by iceshield
AFF_BERSERK Object affects wearer with berserk
AFF_WATER_BREATHING Wearer of object is affected by water breathing
AFF_GUARDIAN Object guards the wearer while they sleep