Anders Olsen Hello all Circlemudders. I have taken so much from here, so now it's my turn to return a thing. I made my own regeneration rooms, and thought of the regeneration spell. Took me 5 minutes to make it. simple but good! This is made for CyberMUD (dkmud.dk port: 5000) which is a circlemud bpl15. This is taken with copy/paste, please correct it. All right, here goes: ---------- Structs.h ---------- SEARCH FOR: #define AFF_CHARM (1 << 21) /* Char is charmed */ ADD: #define AFF_REGEN (1 << 22) /* Char can regen faster */ ---------- Limits.c ---------- SEARCH FOR: gain Somewhere add: if (IS_AFFECTED(ch, AFF_REGEN)) gain >>= 2; NB!: make sure to add it both in hp/mana and move option. (EASY!) ---------- Constants.c ---------- SEARCH FOR: charm ADD BELOW: "REGEN", and again search for: const char *spell_wear_off_msg[] = { ADD IN THE LIST AT THE END: "Your regeneration wears off message", OR JUST TYPE: "!REGEN!", --------- Magic.c --------- SEARCH FOR: spell_infravision ADD BELOW THE BREAK: case SPELL_REGENERATION: af[0].bitvector = AFF_REGEN; accum_duration = TRUE; af[0].duration = 4; /* hours of lasting */ to_vict = "You body shines, as you rub it with your magic"; break; -------------------- Specify class and level in class.c, and it is working! -- Weaver (CyberMUD - klogetrold@get2net.dk)