/*************************************************************************** * Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, * * Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. * * * * Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael * * Chastain, Michael Quan, and Mitchell Tse. * * * * In order to use any part of this Merc Diku Mud, you must comply with * * both the original Diku license in 'license.doc' as well the Merc * * license in 'license.txt'. In particular, you may not remove either of * * these copyright notices. * * * * Much time and thought has gone into this software and you are * * benefitting. We hope that you share your changes too. What goes * * around, comes around. * ***************************************************************************/ /*************************************************************************** * God Wars Mud copyright (C) 1994, 1995, 1996 by Richard Woolcock * * * * Legend of Chrystancia copyright (C) 1999, 2000, 2001 by Matthew Little * * This mud is NOT to be copied in whole or in part, or to be run without * * the permission of Matthew Little. Nobody else has permission to * * authorise the use of this code. * ***************************************************************************/ /* Special Bits */ #define SPC_CHAMPION 1 /* PLR_CHAMPION 4 */ #define SPC_DEMON_LORD 2 /* OLD_DEMON Flag */ #define SPC_WOLFMAN 4 /* old PLR_WOLFMAN */ #define SPC_PRINCE 8 /* old EXTRA_PRINCE */ #define SPC_SIRE 16 /* Old EXTRA_SIRE */ #define SPC_ANARCH 32 /* old extra_anarch */ #define SPC_INCONNU 64 /* old extra_inconnu */ #define SPC_DROW_WAR 128 #define SPC_DROW_MAG 256 #define SPC_DROW_CLE 512 #define SPC_ROGUE 1024 #define SPC_NOFIND 2048 #define SPC_WRAITHPRINCE 4096 #define SPC_WRAITHSOUL 8192 #define SPC_FAE 16384 #define SPC_SEEMING 32768 #define SPC_DROW_ASN 65536 //#define SPC_HIGHPRIEST 131072 /* Class Bits */ #define CLASS_NONE 0 /* Un-Classed */ #define CLASS_DEMON 1 /* Demon */ #define CLASS_MAGE 2 /* Mage */ #define CLASS_WEREWOLF 4 /* Werewolf */ #define CLASS_VAMPIRE 8 /* Vampire */ #define CLASS_HIGHLANDER 16 /* Highlander */ #define CLASS_DROW 32 /* Drow */ #define CLASS_GARGOYLE 64 /* Gargoule */ #define CLASS_NINJA 128 /* Ninja */ /*256*/ #define CLASS_MONK 512 /* Monk */ #define CLASS_DRAGON 1024 /* Dragon */ #define CLASS_BASTET 2048 /* Bastet */ #define CLASS_WRAITH 4096 /* Wraith */ /*8192*/ #define CLASS_FAE 16384/* Fae */ #define CLASS_CHOOSE 32768/* Fae2 */ #define CLASS_NEWDROW 65536 #define CLASS_PRIEST 131072 #define CLASS_PHOENIX 262144 /* Power Bits for Monks */ #define MPOWER_POWER 2 /* Monk Power */ #define PMONK 0 /* Powers/Principles for Ninjas */ #define NPOWER_SORA 0 #define NPOWER_CHIKYU 1 #define NPOWER_NINGENNO 2 #define NPOWER_TENGU 3 #define BLACK_BELT 4 #define HARA_KIRI 5 #define NINJAKI 6 #define NPOWER_ASHIKO 7 /* * Bits For Highlanders */ #define HPOWER_WPNSKILL 0 #define HPOWER_FLAGS 0 /* Highlander Power Defines - Mac */ #define HPOWER_SENSE (A) /* 1 */ #define HPOWER_EMPOWER (B) /* 2 */ #define HPOWER_HEAL (C) /* 4 */ #define HPOWER_SPEED (D) /* 8 */ #define HPOWER_TOUGHNESS (E) /* 16 */ #define HPOWER_VISION (F) /* 32 */ #define HPOWER_NIGHTSIGHT (G) /* 64 */ #define HPOWER_SHIELD (H) /* 128 */ #define HPOWER_SCRY (I) /* 256 */ #define HPOWER_VANISH (J) /* 512 */ #define HPOWER_MIGHT (K) /* 1024 */ #define HPOWER_READAURA (L) /* 2048 */ #define HPOWER_FIRE (M) /* 4096 */ #define HPOWER_ICE (N) /* 8192 */ #define HPOWER_LIGHTNING (O) /* 16384 */ #define HPOWER_SOUL (P) /* 32768 */ #define HPOWER_DRAIN (Q) /* 65536 */ #define HPOWER_ANCESTRAL (R) /* 131072 */ #define HPOWER_BLADESPIN (S) /* 262144 */ #define HPOWER_CRESCENT_STRIKE (T) /* -- New by Serenity */ #define HPOWER_SERPENT_LUNGE (U) /* -- New by Serenity */ #define HPOWER_MOON_SLASH (V) /* -- New by Serenity */ #define HPOWER_CHAIN_SWING (W) /* -- New by Serenity */ #define HPOWER_ARC_BOW (X) /* -- New by Serenity */ #define HPOWER_BYPASS_DEFENSE (Y) /* -- New by Serenity */ #define HPOWER_SHIELDLESS (Z) /* -- New by Serenity */ #define HPOWER_PRESERVATION (aa) /* -- New by Serenity */ #define HPOWER_SWORDCRAFT (bb) /* -- New by Serenity */ #define HPOWER_USE_BYPASS (cc) /* -- New by Serenity */ #define HPOWER_USE_SHIELDLESS (dd) /* -- New by Serenity */ #define HPOWER_USE_PRESERVATION (ee) /* -- New by Serenity */ /* END */ /* * Bits For Mages */ #define MPOWER_RUNE0 0 #define MPOWER_RUNE1 1 #define MPOWER_RUNE2 2 #define MPOWER_RUNE3 3 #define MPOWER_RUNE4 4 /* * Bits for Werewolves */ /* Stats */ #define UNI_GEN 0 /* vampgen */ #define UNI_AFF 1 /* vampaff */ #define UNI_CURRENT 2 /* vamppass */ #define UNI_RAGE 3 /* ch->wolf = how big rage they are in*/ #define UNI_FORM0 4/* wolfform[0] */ #define UNI_FORM1 5 /* wolfform[1] */ #define WOLF_POLYAFF 6 #define MAGE_CHAIN 7 /*new vamp powers*/ #define VAM_HORNS 1 #define VAM_WINGS 2 #define VAM_EXOSKELETON 3 #define VAM_TAIL 4 #define VAM_HEAD 5 /* * Powers * Totems for werewolves. */ #define WPOWER_TIGER 11 #define WPOWER_MANTIS 0 #define WPOWER_BEAR 1 #define WPOWER_LYNX 2 #define WPOWER_GAIA 12 #define WPOWER_BOAR 3 #define WPOWER_OWL 4 #define WPOWER_SPIDER 5 #define WPOWER_WOLF 6 #define WPOWER_HAWK 7 #define WPOWER_SILVER 10 #define VPOWER_OBJ_VNUM 1 #define DROW_POWER 8 #define DROW_TOTAL 9 #define DROW_MAGIC 11 /* * Bits for Demonic Champions. */ #define DEMON_CURRENT 8 /* POWER_CURRENT 0*/ #define DEMON_TOTAL 9 /* POWER_TOTAL 1*/ #define DEMON_POWER 10 /* TOTAL ARMOUR BOUNS */ #define NINJA_KI 8 /* Ninja Ki is 8 */ /*Powers*/ #define DPOWER_FLAGS 0 /* C_POWERS 1 */ #define DPOWER_CURRENT 1 /* C_CURRENT 2 */ #define DPOWER_HEAD 2 /* C_HEAD 3 */ #define DPOWER_TAIL 3 /* C_TAIL 4 */ #define DPOWER_OBJ_VNUM 4 /* DISC[10] 5 */ #define DPOWER_FLAGS2 5 /* More Demons Powers */ #define N_DPOWER 6 #define DEM_UNFOLDED 1 #define DEM_FANGS 1 #define DEM_CLAWS 2 #define DEM_HORNS 4 #define DEM_TAIL 8 #define DEM_HOOVES 16 #define DEM_EYES 32 #define DEM_WINGS 64 #define DEM_MIGHT 128 #define DEM_TOUGH 256 #define DEM_SPEED 512 #define DEM_TRAVEL 1024 #define DEM_SCRY 2048 #define DEM_SHADOWSIGHT 4096 /* Object Powers */ #define DEM_MOVE 8192 /* 1 Can roll as an object */ #define DEM_LEAP 16384 /* 2 Can leap out of someone's hands */ #define DEM_MAGIC 32768 /* 4 Can cast spells as an object */ #define DEM_LIFESPAN 65536 /* 8 Can change lifespan */ #define DEM_GRAFT 131072 #define DEM_IMMOLATE 262144 #define DEM_INFERNO 524288 #define DEM_CAUST 1048576 #define DEM_ENTOMB 2097152 #define DEM_FREEZEWEAPON 4194304 #define DEM_UNNERVE 8388608 #define DEM_LEECH 16777216 #define DEM_TRUESIGHT 33554432 #define DEM_BLINK 67108864 #define DEM_FORM 134217728 #define DEM_SHIELD 268435456 #define DEM_GATE 536870912 #define DEM_GRAB 1073741824 #define DEM_EYESPY 2147483648 /* 1 */ #define DEM_SEED 2 #define DEM_SERVANT 4 #define DEM_DRAIN 8 /* 16 */ /* 32 */ /* 64 */ #define DEM_FLAMEHOOVES 128 #define DEM_BODYSPIKES 256 #define HEAD_NORMAL 0 #define HEAD_WOLF 1 #define HEAD_EAGLE 2 #define HEAD_LION 4 #define HEAD_SNAKE 8 #define TAIL_NONE 0 #define TAIL_POISONOUS 1 #define TAIL_SCORPION 2 /* * Bits for Demonic Armour. */ #define ARM_BLACK 0 #define ARM_GREY 1 #define ARM_PURPLE 2 #define ARM_RED 3 #define ARM_BRASS 4 /* Drow Powers */ /* #define DPOWER_DROWFIRE 1 #define DPOWER_DARKNESS 2 #define DPOWER_LIGHTS 4 #define DPOWER_DROWSIGHT 8 #define DPOWER_LEVITATION 16 #define DPOWER_DROWSHIELD 32 #define DPOWER_DROWPOISON 64 #define DPOWER_FANGS 128 */ #define DPOWER_DROWFIRE 1 #define DPOWER_DARKNESS 2 #define DPOWER_LIGHTS 4 #define DPOWER_DROWSIGHT 8 #define DPOWER_LEVITATION 16 #define DPOWER_DROWSHIELD 32 #define DPOWER_DROWPOISON 64 #define DPOWER_SHADOWWALK 128 #define DPOWER_GAROTTE 256 #define DPOWER_ARMS 512 #define DPOWER_DROWHATE 1024 #define DPOWER_SPIDERFORM 2048 #define DPOWER_WEB 4096 #define DPOWER_DGAROTTE 8192 #define DPOWER_CONFUSE 16384 #define DPOWER_GLAMOUR 32768 #define DPOWER_EARTHSHATTER 65536 #define DPOWER_SPEED 131072 #define DPOWER_TOUGHSKIN 262144 #define DPOWER_REGEN 524288 #define DPOWER_DRIDERFORM 1048576 #define DPOWER_DROWSCRY 2097152 #define DPOWER_SHADOWBODY 4194304 #define DPOWER_FIGHTDANCE 8388608 #define DPOWER_DARKTENDRILS 16777216 #define DPOWER_CHAOSBLAST 33554432 #define DPOWER_DROWHEAL 67108864