AUTHOR: Cronel (cronel_kal@hotmail.com) of FrozenMUD (empire.digiunix.net 4000) FILES fear.c The code fear.txt This file fear.help Suggested help file(s) for this code LICENSE Permission to use and distribute this code is granted provided the header in the source file is retained and unaltered, and the distribution package contains all the original files unmodified. If you modify this code and use/distribute modified versions you must give credit to the original author(s). DESCRIPTION This spell, meant to be called in the middle of a fight, makes the opponent flee, and will make them fear the caster from then on. It won't work on players or sentinel mobs, and it only works once in a while (can't use it repeatedly and cause chaos in the mud). If you want to, you can set it so that the victim negates the spell via saving throws. Since this is a fairly standard spell in AD&D games of all kinds, I think I've seen a couple of implementation for this spell around, but this is my own personal one. INSTALLATION INSTRUCTIONS To install the fear spell, follow these steps: 1) Add a DECLARE_SPELL_FUN for "spell_fear" in mud.h, near the other DECLARE_SPELL_FUN declarations. 2) Add a TIMER_FEARSPELL in the timers enum in mud.h (the one with TIMER_NONE, TIMER_RECENTFIGHT, etc). 3) Add an entry for "spell_fear" in the "spell_function" function in tables.c. 4) Add an entry for "spell_fear" in the "spell_name" function in tables.c (these two last steps commonly referred to as "adding to the tables). 5) Add the code, preferably to magic.c 6) Run "make" in the /dist/src directory, and reboot. 7) Create the spell using the "sset" command and set the code for it to "spell_fear"; if you want the spell to be denied via saving throws, set this in the spell via "sset" too. And you're done. If you have any comments, or bug reports please feel free to mail the author, or the mud administration of FrozenMUD at mudadmins@xnet.org. Even dropping a "Good work guys!" line can go a long way in future releases. --Cronel 24/10/1998