25 #include "common/scummsys.h" 26 #include "common/str-array.h" 35 MS_AcidSpray = 0, MS_Awaken = 1, MS_BeastMaster = 2, MS_Bless = 3,
36 MS_Clairvoyance = 4, MS_ColdRay = 5, MS_CreateFood = 6,
37 MS_CureDisease = 7, MS_CureParalysis = 8, MS_CurePoison = 9,
38 MS_CureWounds = 10, MS_DancingSword = 11, MS_DayOfProtection = 12,
39 MS_DayOfSorcery = 13, MS_DeadlySwarm = 14, MS_DetectMonster = 15,
40 MS_DivineIntervention = 16, MS_DragonSleep = 17, MS_ElementalStorm = 18,
41 MS_EnchantItem = 19, MS_EnergyBlast = 20, MS_Etheralize = 21,
42 MS_FantasticFreeze = 22, MS_FieryFlail = 23, MS_FingerOfDeath = 24,
43 MS_Fireball = 25, MS_FirstAid = 26, MS_FlyingFist = 27,
44 MS_FrostBite = 28, MS_GolemStopper = 29, MS_Heroism = 30,
45 MS_HolyBonus = 31, MS_HolyWord = 32, MS_Hynotize = 33,
46 MS_IdentifyMonster = 34, MS_Implosion = 35, MS_Incinerate = 36,
47 MS_Inferno = 37, MS_InsectSpray = 38, MS_ItemToGold = 39,
48 MS_Jump = 40, MS_Levitate = 41, MS_Light = 42, MS_LightningBolt = 43,
49 MS_LloydsBeacon = 44, MS_MagicArrow = 45, MS_MassDistortion = 46,
50 MS_MegaVolts = 47, MS_MoonRay = 48, MS_NaturesCure = 49, MS_Pain = 50,
51 MS_PoisonVolley = 51, MS_PowerCure = 52, MS_PowerShield = 53,
52 MS_PrismaticLight = 54, MS_ProtFromElements = 55, MS_RaiseDead = 56,
53 MS_RechargeItem = 57, MS_Resurrection = 58, MS_Revitalize = 59,
54 MS_Shrapmetal = 60, MS_Sleep = 61, MS_Sparks = 62, MS_StarBurst = 63,
55 MS_StoneToFlesh = 64, MS_SunRay = 65, MS_SuperShelter = 66,
56 MS_SuppressDisease = 67, MS_SuppressPoison = 68, MS_Teleport = 69,
57 MS_TimeDistortion = 70, MS_TownPortal = 71, MS_ToxicCloud = 72,
58 MS_TurnUndead = 73, MS_WalkOnWater = 74, MS_WizardEye = 75,
59 NO_SPELL = 76, TOTAL_SPELLS = 76
68 void executeSpell(MagicSpell spellId);
88 void dayOfProtection();
92 void divineIntervention();
94 void elementalStorm();
98 void fantasticFreeze();
100 void fingerOfDeath();
110 void identifyMonster();
119 void lightningBolt();
122 void massDistortion();
130 void prismaticLight();
131 void protectionFromElements();
143 void suppressDisease();
144 void suppressPoison();
146 void timeDistortion();
160 int calcSpellCost(
int spellId,
int expenseFactor)
const;
162 int calcSpellPoints(
int spellId,
int expenseFactor)
const;
int subSpellCost(Character &c, int spellId)
void addSpellCost(Character &c, int spellId)
void castItemSpell(int itemSpellId)
int castSpell(Character *c, MagicSpell spellId)
Definition: character.h:106
Definition: detection.h:27