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