forked from github/server
4dc1339ec3
New: familiars can have a LUA initialization function. Moved the spell implementations from spell.c to spells.c where they "belong". Spell ids moved to a separate header (to phase them out eventually)
209 lines
4.5 KiB
C
209 lines
4.5 KiB
C
/* vi: set ts=2:
|
|
* +-------------------+ Christian Schlittchen <corwin@amber.kn-bremen.de>
|
|
* | | Enno Rehling <enno@eressea.de>
|
|
* | Eressea PBEM host | Katja Zedel <katze@felidae.kn-bremen.de>
|
|
* | (c) 1998 - 2005 |
|
|
* | | This program may not be used, modified or distributed
|
|
* +-------------------+ without prior permission by the authors of Eressea.
|
|
*
|
|
*/
|
|
|
|
#ifndef H_KRNL_SPELLID
|
|
#define H_KRNL_SPELLID
|
|
|
|
/* Sprüche. Neue NUR hinten anfügen, oder das Datenfile geht kaputt */
|
|
enum {
|
|
SPL_NOSPELL = 0,
|
|
LUASPL_ARTEFAKT_OF_POWER,
|
|
LUASPL_ARTEFAKT_OF_AURAPOWER,
|
|
LUASPL_ARTEFAKT_OF_REGENERATION,
|
|
SPL_FIREBALL = 4,
|
|
SPL_HAGEL,
|
|
SPL_RUSTWEAPON,
|
|
SPL_COMBATRUST,
|
|
SPL_TREEGROW,
|
|
SPL_HEALING,
|
|
SPL_HEALINGSONG,
|
|
SPL_BADDREAMS,
|
|
SPL_GOODDREAMS,
|
|
SPL_DREAMREADING,
|
|
SPL_SWEETDREAMS,
|
|
SPL_TIREDSOLDIERS,
|
|
SPL_PLAGUE,
|
|
SPL_MAGICBOOST,
|
|
SPL_CHAOSROW,
|
|
SPL_SONG_OF_CONFUSION,
|
|
SPL_FLEE,
|
|
SPL_SONG_OF_FEAR,
|
|
SPL_BERSERK,
|
|
SPL_BLOODTHIRST,
|
|
SPL_MAELSTROM,
|
|
SPL_BLESSEDHARVEST,
|
|
SPL_RAINDANCE,
|
|
SPL_TRANSFERAURA_DRUIDE,
|
|
SPL_TRANSFERAURA_BARDE,
|
|
SPL_TRANSFERAURA_CHAOS,
|
|
SPL_TRANSFERAURA_TRAUM,
|
|
SPL_TRANSFERAURA_ASTRAL,
|
|
SPL_STONEGOLEM,
|
|
SPL_IRONGOLEM,
|
|
SPL_SUMMONSHADOW,
|
|
SPL_SUMMONSHADOWLORDS,
|
|
SPL_REELING_ARROWS,
|
|
SPL_ANTIMAGICZONE,
|
|
LUASPL_CREATE_ANTIMAGICCRYSTAL,
|
|
SPL_KAELTESCHUTZ = 39,
|
|
SPL_STEALAURA,
|
|
SPL_SUMMONUNDEAD,
|
|
SPL_AURALEAK,
|
|
SPL_GREAT_DROUGHT,
|
|
SPL_STRONG_WALL,
|
|
SPL_HOMESTONE,
|
|
SPL_DROUGHT,
|
|
SPL_FOREST_FIRE,
|
|
LUASPL_STRENGTH,
|
|
SPL_SUMMONENT = 49,
|
|
SPL_DISTURBINGDREAMS,
|
|
SPL_DENYATTACK,
|
|
SPL_SLEEP,
|
|
SPL_EARTHQUAKE,
|
|
SPL_IRONKEEPER,
|
|
SPL_STORMWINDS,
|
|
SPL_GOODWINDS,
|
|
SPL_FLYING_SHIP,
|
|
SPL_SUMMON_ALP,
|
|
SPL_WINDSHIELD,
|
|
SPL_RAISEPEASANTS,
|
|
SPL_DEPRESSION,
|
|
SPL_HEADACHE,
|
|
LUASPL_ARTEFAKT_NIMBLEFINGERRING,
|
|
SPL_ENTERASTRAL = 64,
|
|
SPL_LEAVEASTRAL,
|
|
SPL_SHOWASTRAL,
|
|
SPL_VERSTEINERN,
|
|
SPL_TREEWALKENTER,
|
|
SPL_TREEWALKEXIT,
|
|
SPL_CHAOSSUCTION,
|
|
SPL_VIEWREALITY,
|
|
SPL_DISRUPTASTRAL,
|
|
SPL_SEDUCE,
|
|
SPL_PUMP,
|
|
SPL_CALM_MONSTER,
|
|
SPL_HERO,
|
|
SPL_FRIGHTEN,
|
|
SPL_MINDBLAST,
|
|
SPL_SPEED,
|
|
SPL_SPEED2,
|
|
SPL_FIREDRAGONODEM,
|
|
SPL_DRAGONODEM,
|
|
SPL_WYRMODEM, /* 83 */
|
|
SPL_MAGICSTREET,
|
|
SPL_REANIMATE,
|
|
SPL_RECRUIT,
|
|
SPL_GENEROUS,
|
|
SPL_PERMTRANSFER,
|
|
SPL_SONG_OF_PEACE,
|
|
SPL_MIGRANT,
|
|
SPL_RALLYPEASANTMOB,
|
|
SPL_RAISEPEASANTMOB,
|
|
SPL_ILL_SHAPESHIFT,
|
|
SPL_WOLFHOWL,
|
|
SPL_FOG_OF_CONFUSION,
|
|
SPL_DREAM_OF_CONFUSION,
|
|
SPL_RESISTMAGICBONUS,
|
|
SPL_KEEPLOOT,
|
|
SPL_SCHILDRUNEN,
|
|
SPL_SONG_RESISTMAGIC,
|
|
SPL_SONG_SUSCEPTMAGIC,
|
|
SPL_ANALYSEMAGIC,
|
|
SPL_ANALYSEDREAM,
|
|
SPL_UNIT_ANALYSESONG,
|
|
SPL_OBJ_ANALYSESONG,
|
|
SPL_TYBIED_DESTROY_MAGIC,
|
|
SPL_DESTROY_MAGIC,
|
|
SPL_METEORRAIN,
|
|
SPL_REDUCESHIELD,
|
|
SPL_ARMORSHIELD,
|
|
SPL_DEATHCLOUD,
|
|
SPL_ORKDREAM,
|
|
SPL_SUMMONDRAGON,
|
|
SPL_READMIND,
|
|
SPL_BABBLER,
|
|
SPL_MOVECASTLE,
|
|
SPL_BLESSSTONECIRCLE,
|
|
SPL_ILLAUN_FAMILIAR,
|
|
SPL_GWYRRD_FAMILIAR,
|
|
SPL_DRAIG_FAMILIAR,
|
|
SPL_CERDDOR_FAMILIAR,
|
|
SPL_TYBIED_FAMILIAR,
|
|
SPL_SONG_OF_ENSLAVE,
|
|
LUASPL_TRUESEEING_GWYRRD,
|
|
LUASPL_TRUESEEING_DRAIG,
|
|
LUASPL_TRUESEEING_ILLAUN,
|
|
LUASPL_TRUESEEING_CERDDOR,
|
|
LUASPL_TRUESEEING_TYBIED,
|
|
LUASPL_INVISIBILITY_GWYRRD,
|
|
LUASPL_INVISIBILITY_DRAIG,
|
|
LUASPL_INVISIBILITY_ILLAUN,
|
|
LUASPL_INVISIBILITY_CERDDOR,
|
|
LUASPL_INVISIBILITY_TYBIED,
|
|
LUASPL_ARTEFAKT_CHASTITYBELT,
|
|
LUASPL_ARTEFAKT_RUNESWORD,
|
|
SPL_FUMBLECURSE = 136,
|
|
SPL_ICASTLE,
|
|
SPL_GWYRRD_DESTROY_MAGIC,
|
|
SPL_DRAIG_DESTROY_MAGIC,
|
|
SPL_ILLAUN_DESTROY_MAGIC,
|
|
SPL_CERDDOR_DESTROY_MAGIC,
|
|
SPL_GWYRRD_ARMORSHIELD,
|
|
SPL_DRAIG_FUMBLESHIELD,
|
|
SPL_GWYRRD_FUMBLESHIELD,
|
|
SPL_CERRDOR_FUMBLESHIELD,
|
|
SPL_TYBIED_FUMBLESHIELD,
|
|
SPL_SHADOWKNIGHTS,
|
|
LUASPL_FIRESWORD,
|
|
LUASPL_CREATE_TACTICCRYSTAL,
|
|
SPL_ITEMCLOAK = 150,
|
|
SPL_FIREWALL,
|
|
SPL_WISPS,
|
|
SPL_SPARKLE_CHAOS,
|
|
SPL_SPARKLE_DREAM,
|
|
LUASPL_BAG_OF_HOLDING,
|
|
SPL_PULLASTRAL = 156,
|
|
SPL_FETCHASTRAL,
|
|
SPL_ILLAUN_EARN_SILVER,
|
|
SPL_GWYRRD_EARN_SILVER,
|
|
SPL_DRAIG_EARN_SILVER,
|
|
SPL_TYBIED_EARN_SILVER,
|
|
SPL_CERDDOR_EARN_SILVER,
|
|
SPL_SHOCKWAVE,
|
|
SPL_UNDEADHERO,
|
|
LUASPL_ARTEFAKT_SACK_OF_CONSERVATION,
|
|
SPL_BECOMEWYRM = 166,
|
|
SPL_ETERNIZEWALL,
|
|
SPL_PUTTOREST,
|
|
SPL_UNHOLYPOWER,
|
|
SPL_HOLYGROUND,
|
|
SPL_BLOODSACRIFICE,
|
|
SPL_MALLORN,
|
|
SPL_CLONECOPY,
|
|
SPL_DRAINODEM, /* 174? */
|
|
SPL_AURA_OF_FEAR, /* 175? */
|
|
SPL_SHADOWCALL, /* 176? */
|
|
SPL_MALLORNTREEGROW,
|
|
LUASPL_INVISIBILITY2_ILLAUN,
|
|
SPL_BIGRECRUIT = 179,
|
|
SPL_IMMOLATION,
|
|
SPL_FIREODEM, /* 181 */
|
|
SPL_ICEODEM,
|
|
SPL_ACIDODEM,
|
|
#ifdef WDW_PYRAMIDSPELL
|
|
SPL_WDWPYRAMID_TRAUM,
|
|
SPL_WDWPYRAMID_ASTRAL,
|
|
SPL_WDWPYRAMID_DRUIDE,
|
|
SPL_WDWPYRAMID_BARDE,
|
|
SPL_WDWPYRAMID_CHAOS,
|
|
#endif
|
|
};
|
|
|
|
#endif
|