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
57 #define COND_EVERYROUND 10
58 #define COND_TOOKDAMAGE 11
60 //resources for the seven eyes effect
70 #define SS_HOPELESSNESS 0
71 #define SS_PROTFROMEVIL 1
72 #define SS_ARMOROFFAITH 2
74 #define SS_ENFEEBLED 4
75 #define SS_FIRESHIELD 5
76 #define SS_ICESHIELD 6
78 #define SS_DEATHWARD 8
79 #define SS_HOLYPOWER 9
80 #define SS_GOODCHANT 10
81 #define SS_BADCHANT 11
82 #define SS_GOODPRAYER 12
83 #define SS_BADPRAYER 13
84 #define SS_GOODRECIT 14
85 #define SS_BADRECIT 15
86 #define SS_RIGHTEOUS 16 //allied
87 #define SS_RIGHTEOUS2 17 //allied and same alignment
88 #define SS_STONESKIN 18
89 #define SS_IRONSKIN 19
90 #define SS_SANCTUARY 20
91 #define SS_RESILIENT 21
94 #define SS_BARKSKIN 24
95 #define SS_HOLYMIGHT 25
96 #define SS_ENTANGLE 26
99 #define SS_FREEACTION 29
100 #define SS_ENTROPY 30
101 #define SS_STORMSHELL 31
102 #define SS_ELEMPROT 32
103 #define SS_BERSERK 33
104 #define SS_BLOODRAGE 34
105 #define SS_NOHPINFO 35
106 #define SS_NOAWAKE 36
109 #define SS_ANIMALRAGE 39
110 #define SS_NOBACKSTAB 40
111 #define SS_CHAOTICCMD 41
112 #define SS_MISCAST 42
114 #define SS_MALISON 44
115 //#define SS_CATSGRACE 45 //used explicitly
116 #define SS_MOLDTOUCH 46
117 #define SS_FLAMESHROUD 47
118 #define SS_EYEMIND 48
119 #define SS_EYESWORD 49
120 #define SS_EYEMAGE 50
121 #define SS_EYEVENOM 51
122 #define SS_EYESPIRIT 52
123 #define SS_EYEFORTITUDE 53
124 #define SS_EYESTONE 54
126 #define SS_EXECUTIONER 56
127 #define SS_ENERGYDRAIN 57
128 #define SS_TORTOISE 58
130 #define SS_MINORGLOBE 60
131 #define SS_PROTFROMMISS 61
132 #define SS_GHOSTARMOR 62
133 #define SS_REFLECTION 63
135 #define SS_CALLEDSHOT 65
136 #define SS_MIRRORIMAGE 66
138 #define SS_BLADEBARRIER 68
139 #define SS_POISONWEAPON 69
140 #define SS_STUNNINGBLOW 70
141 #define SS_QUIVERPALM 71
142 #define SS_DOMINATION 72
143 #define SS_MAJORGLOBE 73
145 #define SS_ANTIMAGIC 75
146 #define SS_POWERATTACK 76
148 #define SS_EXPERTISE 81
150 #define SS_ARTERIAL 86
151 #define SS_HAMSTRING 87
152 #define SS_RAPIDSHOT 88
153 #define SS_IRONBODY 89
155 #define SS_SMITEEVIL 91
156 #define SS_ALICORNLANCE 92
157 #define SS_LIGHTNING 93
158 #define SS_CHAMPIONS 94
159 #define SS_BONECIRCLE 95
160 #define SS_CLOAKOFFEAR 96
161 #define SS_PESTILENCE 97
162 #define SS_CONTAGION 98
164 #define SS_DEFENSIVE 100
165 #define SS_DESTRUCTION 101
166 #define SS_DOLOROUS 102
168 #define SS_EXALTATION 104
169 #define SS_FAERIEFIRE 105
170 #define SS_FINDTRAPS 106
171 #define SS_GREATERLATH 107
172 #define SS_MAGICRESIST 108
173 #define SS_NPROTECTION 109
174 #define SS_PROTFROMFIRE 110
175 #define SS_PROTFROMLIGHTNING 111
176 #define SS_ELEMENTAL 112
177 #define SS_LATHANDER 113
178 #define SS_SLOWPOISON 114
179 #define SS_SPELLSHIELD 115
180 #define SS_STATICCHARGE 116
181 #define SS_ACIDARROW 117
182 #define SS_FREEZING 118
183 #define SS_PROTFROMACID 119
184 #define SS_PROTFROMELEC 120
185 #define SS_PFNMISSILES 121
186 #define SS_PROTFROMPETR 122
187 #define SS_ENFEEBLEMENT 123
188 #define SS_SEVENEYES 124
189 //#define SS_SOULEATER 125
191 #define SS_LOWERRESIST 140
193 //tested for this, splstate is wrong or this entry has two uses
194 #define SS_DAYBLINDNESS 178
195 #define SS_REBUKED 179
197 #endif //IE_OPCODE_PARAMS_H