Fixed shops no longer displaying unlimited and affect flags off by 1 (128 bit). --Rumble

This commit is contained in:
Rumble 2007-05-15 00:40:55 +00:00
parent 76d1d89597
commit bfa47111db
3 changed files with 31 additions and 31 deletions

View file

@ -211,31 +211,32 @@
/* Affect bits: used in char_data.char_specials.saved.affected_by */
/* WARNING: In the world files, NEVER set the bits marked "R" ("Reserved") */
#define AFF_BLIND 0 /* (R) Char is blind */
#define AFF_INVISIBLE 1 /* Char is invisible */
#define AFF_DETECT_ALIGN 2 /* Char is sensitive to align*/
#define AFF_DETECT_INVIS 3 /* Char can see invis chars */
#define AFF_DETECT_MAGIC 4 /* Char is sensitive to magic*/
#define AFF_SENSE_LIFE 5 /* Char can sense hidden life*/
#define AFF_WATERWALK 6 /* Char can walk on water */
#define AFF_SANCTUARY 7 /* Char protected by sanct */
#define AFF_GROUP 8 /* (R) Char is grouped */
#define AFF_CURSE 9 /* Char is cursed */
#define AFF_INFRAVISION 10 /* Char can see in dark */
#define AFF_POISON 11 /* (R) Char is poisoned */
#define AFF_PROTECT_EVIL 12 /* Char protected from evil */
#define AFF_PROTECT_GOOD 13 /* Char protected from good */
#define AFF_SLEEP 14 /* (R) Char magically asleep */
#define AFF_NOTRACK 15 /* Char can't be tracked */
#define AFF_UNUSED16 16 /* Room for future expansion */
#define AFF_UNUSED17 17 /* Room for future expansion */
#define AFF_SNEAK 18 /* Char can move quietly */
#define AFF_HIDE 19 /* Char is hidden */
#define AFF_UNUSED20 20 /* Room for future expansion */
#define AFF_CHARM 21 /* Char is charmed */
#define AFF_DONTUSE 0 /* DON'T USE! */
#define AFF_BLIND 1 /* (R) Char is blind */
#define AFF_INVISIBLE 2 /* Char is invisible */
#define AFF_DETECT_ALIGN 3 /* Char is sensitive to align */
#define AFF_DETECT_INVIS 4 /* Char can see invis chars */
#define AFF_DETECT_MAGIC 5 /* Char is sensitive to magic */
#define AFF_SENSE_LIFE 6 /* Char can sense hidden life */
#define AFF_WATERWALK 7 /* Char can walk on water */
#define AFF_SANCTUARY 8 /* Char protected by sanct */
#define AFF_GROUP 9 /* (R) Char is grouped */
#define AFF_CURSE 10 /* Char is cursed */
#define AFF_INFRAVISION 11 /* Char can see in dark */
#define AFF_POISON 12 /* (R) Char is poisoned */
#define AFF_PROTECT_EVIL 13 /* Char protected from evil */
#define AFF_PROTECT_GOOD 14 /* Char protected from good */
#define AFF_SLEEP 15 /* (R) Char magically asleep */
#define AFF_NOTRACK 16 /* Char can't be tracked */
#define AFF_UNUSED16 17 /* Room for future expansion */
#define AFF_UNUSED17 18 /* Room for future expansion */
#define AFF_SNEAK 19 /* Char can move quietly */
#define AFF_HIDE 20 /* Char is hidden */
#define AFF_UNUSED20 21 /* Room for future expansion */
#define AFF_CHARM 22 /* Char is charmed */
/* Modes of connectedness: used by descriptor_data.state */
#define CON_PLAYING 0 /* Playing - Nominal state */
/* Modes of connectedness: used by descriptor_data.state */
#define CON_PLAYING 0 /* Playing - Nominal state */
#define CON_CLOSE 1 /* User disconnect, remove character. */
#define CON_GET_NAME 2 /* By what name ..? */
#define CON_NAME_CNFRM 3 /* Did I get that right, x? */