/*************************************************************************** * 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. * ***************************************************************************/ /*************************************************************************** * ROM 2.4 is copyright 1993-1995 Russ Taylor * * ROM has been brought to you by the ROM consortium * * Russ Taylor (rtaylor@pacinfo.com) * * Gabrielle Taylor (gtaylor@pacinfo.com) * * Brian Moore (rom@rom.efn.org) * * By using this code, you have agreed to follow the terms of the * * ROM license, in the file Rom24/doc/rom.license * ***************************************************************************/ /*************************************************************************** * ROT 1.4 is copyright 1996-1997 by Russ Walsh * * By using this code, you have agreed to follow the terms of the * * ROT license, in the file doc/rot.license * ***************************************************************************/ /* * Spell functions. * Defined in magic.c. */ DECLARE_SPELL_FUN( spell_null ); DECLARE_SPELL_FUN( spell_acid_blast ); DECLARE_SPELL_FUN( spell_animate ); DECLARE_SPELL_FUN( spell_armor ); DECLARE_SPELL_FUN( spell_bless ); DECLARE_SPELL_FUN( spell_blindness ); DECLARE_SPELL_FUN( spell_cancellation ); DECLARE_SPELL_FUN( spell_chain_lightning ); DECLARE_SPELL_FUN( spell_charm_person ); DECLARE_SPELL_FUN( spell_conjure ); DECLARE_SPELL_FUN( spell_continual_light ); DECLARE_SPELL_FUN( spell_cure_blindness ); DECLARE_SPELL_FUN( spell_cure_disease ); DECLARE_SPELL_FUN( spell_cure_wounds ); DECLARE_SPELL_FUN( spell_cure_poison ); DECLARE_SPELL_FUN( spell_curse ); DECLARE_SPELL_FUN( spell_demonfire ); DECLARE_SPELL_FUN( spell_detect_evil ); DECLARE_SPELL_FUN( spell_detect_good ); DECLARE_SPELL_FUN( spell_detect_hidden ); DECLARE_SPELL_FUN( spell_detect_invis ); DECLARE_SPELL_FUN( spell_detect_magic ); DECLARE_SPELL_FUN( spell_detect_poison ); DECLARE_SPELL_FUN( spell_dispel_magic ); DECLARE_SPELL_FUN( spell_earthquake ); DECLARE_SPELL_FUN( spell_elemental_fury ); DECLARE_SPELL_FUN( spell_empower ); DECLARE_SPELL_FUN( spell_energy_drain ); DECLARE_SPELL_FUN( spell_faerie_fire ); DECLARE_SPELL_FUN( spell_faerie_fog ); DECLARE_SPELL_FUN( spell_farsight ); DECLARE_SPELL_FUN( spell_fireproof ); DECLARE_SPELL_FUN( spell_fireshield ); DECLARE_SPELL_FUN( spell_fly ); DECLARE_SPELL_FUN( spell_frenzy ); DECLARE_SPELL_FUN( spell_gate ); DECLARE_SPELL_FUN( spell_vigor ); DECLARE_SPELL_FUN( spell_haste ); DECLARE_SPELL_FUN( spell_heal ); DECLARE_SPELL_FUN( spell_heat_metal ); DECLARE_SPELL_FUN( spell_iceshield ); DECLARE_SPELL_FUN( spell_identify ); DECLARE_SPELL_FUN( spell_infravision ); DECLARE_SPELL_FUN( spell_invis ); DECLARE_SPELL_FUN( spell_know_alignment ); DECLARE_SPELL_FUN( spell_locate_object ); DECLARE_SPELL_FUN( spell_magic_missile ); DECLARE_SPELL_FUN( spell_mass_healing ); DECLARE_SPELL_FUN( spell_mass_invis ); DECLARE_SPELL_FUN( spell_pass_door ); DECLARE_SPELL_FUN( spell_plague ); DECLARE_SPELL_FUN( spell_poison ); DECLARE_SPELL_FUN( spell_protection_evil ); DECLARE_SPELL_FUN( spell_protection_good ); DECLARE_SPELL_FUN( spell_protection_voodoo ); DECLARE_SPELL_FUN( spell_protection_neutral); DECLARE_SPELL_FUN( spell_quest_pill ); DECLARE_SPELL_FUN( spell_refresh ); DECLARE_SPELL_FUN( spell_remove_curse ); DECLARE_SPELL_FUN( spell_restore_mana ); DECLARE_SPELL_FUN( spell_resurrect ); DECLARE_SPELL_FUN( spell_sanctuary ); DECLARE_SPELL_FUN( spell_sandstorm ); DECLARE_SPELL_FUN( spell_sever ); DECLARE_SPELL_FUN( spell_shockshield ); DECLARE_SPELL_FUN( spell_shield ); DECLARE_SPELL_FUN( spell_sleep ); DECLARE_SPELL_FUN( spell_slow ); DECLARE_SPELL_FUN( spell_stone_skin ); DECLARE_SPELL_FUN( spell_summon ); DECLARE_SPELL_FUN( spell_teleport ); DECLARE_SPELL_FUN( spell_transport ); DECLARE_SPELL_FUN( spell_voodoo ); DECLARE_SPELL_FUN( spell_weaken ); DECLARE_SPELL_FUN( spell_acid_breath ); DECLARE_SPELL_FUN( spell_fire_breath ); DECLARE_SPELL_FUN( spell_frost_breath ); DECLARE_SPELL_FUN( spell_gas_breath ); DECLARE_SPELL_FUN( spell_lightning_breath ); DECLARE_SPELL_FUN( spell_general_purpose ); DECLARE_SPELL_FUN( spell_high_explosive ); DECLARE_SPELL_FUN( spell_ward ); DECLARE_SPELL_FUN( spell_shadowshield ); DECLARE_SPELL_FUN( spell_bladebarrier ); DECLARE_SPELL_FUN( spell_prismaticshield ); DECLARE_SPELL_FUN( spell_acidshield ); DECLARE_SPELL_FUN( spell_earthshield ); DECLARE_SPELL_FUN( spell_true_sight ); DECLARE_SPELL_FUN( spell_swarm ); DECLARE_SPELL_FUN( spell_death_touch ); DECLARE_SPELL_FUN( spell_bloodbath ); DECLARE_SPELL_FUN( spell_ultravision ); DECLARE_SPELL_FUN( spell_protective_force ); DECLARE_SPELL_FUN( spell_resistance ); DECLARE_SPELL_FUN( spell_cleansing ); DECLARE_SPELL_FUN( spell_grow ); DECLARE_SPELL_FUN( spell_mana_shield ); DECLARE_SPELL_FUN( spell_hailstorm ); DECLARE_SPELL_FUN( spell_tornado ); DECLARE_SPELL_FUN( spell_leech ); DECLARE_SPELL_FUN( spell_corrupt_potion ); DECLARE_SPELL_FUN( spell_regeneration ); DECLARE_SPELL_FUN( spell_blade_poison ); DECLARE_SPELL_FUN( spell_cause_damage ); DECLARE_SPELL_FUN( spell_renewal ); DECLARE_SPELL_FUN( spell_divine_blessing ); DECLARE_SPELL_FUN( spell_infernal_offering ); DECLARE_SPELL_FUN( spell_cascade ); DECLARE_SPELL_FUN( spell_outrage ); DECLARE_SPELL_FUN( spell_nourish ); DECLARE_SPELL_FUN( spell_essence_of_mist ); DECLARE_SPELL_FUN( spell_essence_of_bat ); DECLARE_SPELL_FUN( spell_essence_of_wolf ); DECLARE_SPELL_FUN( spell_blaze ); DECLARE_SPELL_FUN( spell_shrink ); DECLARE_SPELL_FUN( spell_mastermind );