1 /* GemRB - Infinity Engine Emulator
2 * Copyright (C) 2003 The GemRB Project
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 * @file opcode_params.h
23 * Definitions for effect opcode parameters
24 * @author The GemRB Project
27 #ifndef IE_OPCODE_PARAMS_H
28 #define IE_OPCODE_PARAMS_H
30 //regen/poison/disease types
46 //appply spell on condition
49 #define COND_HP_HALF 2
50 #define COND_HP_QUART 3
52 #define COND_HELPLESS 5
53 #define COND_POISONED 6
54 #define COND_ATTACKED 7
58 //resources for the seven eyes effect
68 #define SS_HOPELESSNESS 0
69 #define SS_PROTFROMEVIL 1
70 #define SS_ARMOROFFAITH 2
72 #define SS_ENFEEBLED 4
73 #define SS_FIRESHIELD 5
74 #define SS_ICESHIELD 6
76 #define SS_DEATHWARD 8
77 #define SS_HOLYPOWER 9
78 #define SS_GOODCHANT 10
79 #define SS_BADCHANT 11
80 #define SS_GOODPRAYER 12
81 #define SS_BADPRAYER 13
82 #define SS_GOODRECIT 14
83 #define SS_BADRECIT 15
84 #define SS_RIGHTEOUS 16 //allied
85 #define SS_RIGHTEOUS2 17 //allied and same alignment
86 #define SS_STONESKIN 18
87 #define SS_IRONSKIN 19
88 #define SS_SANCTUARY 20
89 #define SS_RESILIENT 21
92 #define SS_BARKSKIN 24
93 #define SS_HOLYMIGHT 25
94 #define SS_ENTANGLE 26
97 #define SS_FREEACTION 29
99 #define SS_STORMSHELL 31
100 #define SS_ELEMPROT 32
101 #define SS_BERSERK 33
102 #define SS_BLOODRAGE 34
103 #define SS_NOHPINFO 35
104 #define SS_NOAWAKE 36
107 #define SS_ANIMALRAGE 39
108 #define SS_NOBACKSTAB 40
109 #define SS_CHAOTICCMD 41
110 #define SS_MISCAST 42
112 #define SS_MALISON 44
113 //#define SS_CATSGRACE 45 //used explicitly
114 #define SS_MOLDTOUCH 46
115 #define SS_FLAMESHROUD 47
116 #define SS_EYEMIND 48
117 #define SS_EYESWORD 49
118 #define SS_EYEMAGE 50
119 #define SS_EYEVENOM 51
120 #define SS_EYESPIRIT 52
121 #define SS_EYEFORTITUDE 53
122 #define SS_EYESTONE 54
124 #define SS_EXECUTIONER 56
125 #define SS_ENERGYDRAIN 57
126 #define SS_TORTOISE 58
128 #define SS_MINORGLOBE 60
129 #define SS_PROTFROMMISS 61
130 #define SS_GHOSTARMOR 62
131 #define SS_REFLECTION 63
133 #define SS_CALLEDSHOT 65
134 #define SS_MIRRORIMAGE 66
136 #define SS_BLADEBARRIER 68
137 #define SS_POISONWEAPON 69
138 #define SS_STUNNINGBLOW 70
139 #define SS_QUIVERPALM 71
140 #define SS_DOMINATION 72
141 #define SS_MAJORGLOBE 73
143 #define SS_ANTIMAGIC 75
144 #define SS_POWERATTACK 76
146 #define SS_EXPERTISE 81
148 #define SS_ARTERIAL 86
149 #define SS_HAMSTRING 87
150 #define SS_RAPIDSHOT 88
151 #define SS_IRONBODY 89
153 #define SS_SMITEEVIL 91
154 #define SS_ALICORNLANCE 92
155 #define SS_LIGHTNING 93
156 #define SS_CHAMPIONS 94
157 #define SS_BONECIRCLE 95
158 #define SS_CLOAKOFFEAR 96
159 #define SS_PESTILENCE 97
160 #define SS_CONTAGION 98
162 #define SS_DEFENSIVE 100
163 #define SS_DESTRUCTION 101
164 #define SS_DOLOROUS 102
166 #define SS_EXALTATION 104
167 #define SS_FAERIEFIRE 105
168 #define SS_FINDTRAPS 106
169 #define SS_GREATERLATH 107
170 #define SS_MAGICRESIST 108
171 #define SS_NPROTECTION 109
172 #define SS_PROTFROMFIRE 110
173 #define SS_PROTFROMLIGHTNING 111
174 #define SS_ELEMENTAL 112
175 #define SS_LATHANDER 113
176 #define SS_SLOWPOISON 114
177 #define SS_SPELLSHIELD 115
178 #define SS_STATICCHARGE 116
179 #define SS_ACIDARROW 117
180 #define SS_FREEZING 118
181 #define SS_PROTFROMACID 119
182 #define SS_PROTFROMELEC 120
183 #define SS_PFNMISSILES 121
184 #define SS_PROTFROMPETR 122
185 #define SS_ENFEEBLEMENT 123
186 #define SS_SEVENEYES 124
187 //#define SS_SOULEATER 125
189 #define SS_LOWERRESIST 140
191 //tested for this, splstate is wrong or this entry has two uses
192 #define SS_DAYBLINDNESS 178
193 #define SS_REBUKED 179
195 #endif //IE_OPCODE_PARAMS_H