2 # GemRB - Infinity Engine Emulator
3 # Copyright (C) 2003 The GemRB Project
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 # ie_stats.py - definitions of creature stats codes
22 # !!! NOTE: Keep this file synchronized with gemrb/includes/ie_stats.h !!!
43 # state bits (IE_STATE)
45 STATE_HELPLESS
= 1 + 32
46 STATE_PETRIFIED
= 8 + 64 + 128
48 STATE_POISONED
= 0x4000
50 MC_WAS_FIGHTER
= 0x0008
52 MC_WAS_CLERIC
= 0x0020
55 MC_WAS_RANGER
= 0x0100
56 MC_WAS_ANY_CLASS
= MC_WAS_FIGHTER|MC_WAS_MAGE|MC_WAS_CLERIC|MC_WAS_THIEF|MC_WAS_DRUID|MC_WAS_RANGER
58 MC_FALLEN_PALADIN
= 0x200
59 MC_FALLEN_RANGER
= 0x400
62 MC_PLOT_CRITICAL
= 0x2000
63 MC_BEENINPARTY
= 0x8000
75 IE_NUMBEROFATTACKS
= 8
86 IE_RESISTELECTRICITY
= 16
89 IE_RESISTMAGICFIRE
= 19
90 IE_RESISTMAGICCOLD
= 20
91 IE_RESISTSLASHING
= 21
92 IE_RESISTCRUSHING
= 22
93 IE_RESISTPIERCING
= 23
117 IE_MORALERECOVERYTIME
= 47
121 IE_SPELLFAILUREMAGE
= 51
122 IE_SPELLFAILUREPRIEST
= 52
123 IE_SPELLDURATIONMODMAGE
= 53
124 IE_SPELLDURATIONMODPRIEST
= 54
125 IE_TURNUNDEADLEVEL
= 55
126 IE_BACKSTABDAMAGEMULTIPLIER
= 56
127 IE_LAYONHANDSAMOUNT
= 57
142 IE_MISSILEHITBONUS
= 72
143 IE_MAGICDAMAGERESISTANCE
= 73
146 IE_AURACLEANSING
= 76
148 IE_PHYSICALSPEED
= 78
149 IE_CASTINGLEVELBONUSMAGE
= 79
150 IE_CASTINGLEVELBONUSCLERIC
= 80
152 IE_IGNOREDIALOGPAUSE
= 82
154 IE_HITBONUSRIGHT
= 84
156 IE_DAMAGEBONUSRIGHT
= 86
157 IE_DAMAGEBONUSLEFT
= 87
160 IE_FEAT_CROSSBOW
= 90
168 IE_FEAT_GREAT_SWORD
= 98
169 IE_FEAT_LARGE_SWORD
= 99
170 IE_FEAT_SMALL_SWORD
= 100
171 IE_FEAT_TOUGHNESS
= 101
172 IE_FEAT_ARMORED_ARCANA
= 102
175 IE_FEAT_ENCHANTMENT
= 105
176 IE_FEAT_EVOCATION
= 106
177 IE_FEAT_NECROMANCY
= 107
178 IE_FEAT_TRANSMUTATION
= 108
179 IE_FEAT_SPELL_PENETRATION
= 109
180 IE_FEAT_EXTRA_RAGE
= 110
181 IE_FEAT_EXTRA_SHAPE
= 111
182 IE_FEAT_EXTRA_SMITING
= 112
183 IE_FEAT_EXTRA_TURNING
= 113
184 IE_FEAT_BASTARDSWORD
= 114
188 IE_CONCENTRATION
= 118
194 IE_PROFICIENCYBASTARDSWORD
= 89
195 IE_PROFICIENCYLONGSWORD
= 90
196 IE_PROFICIENCYSHORTSWORD
= 91
197 IE_PROFICIENCYAXE
= 92
198 IE_PROFICIENCYTWOHANDEDSWORD
= 93
199 IE_PROFICIENCYKATANA
= 94
200 IE_PROFICIENCYSCIMITARWAKISASHININJATO
= 95
201 IE_PROFICIENCYDAGGER
= 96
202 IE_PROFICIENCYWARHAMMER
= 97
203 IE_PROFICIENCYSPEAR
= 98
204 IE_PROFICIENCYHALBERD
= 99
205 IE_PROFICIENCYFLAILMORNINGSTAR
= 100
206 IE_PROFICIENCYMACE
= 101
207 IE_PROFICIENCYQUARTERSTAFF
= 102
208 IE_PROFICIENCYCROSSBOW
= 103
209 IE_PROFICIENCYLONGBOW
= 104
210 IE_PROFICIENCYSHORTBOW
= 105
211 IE_PROFICIENCYDART
= 106
212 IE_PROFICIENCYSLING
= 107
213 IE_PROFICIENCYBLACKJACK
= 108
214 IE_PROFICIENCYGUN
= 109
215 IE_PROFICIENCYMARTIALARTS
= 110
216 IE_PROFICIENCY2HANDED
= 111
217 IE_PROFICIENCYSWORDANDSHIELD
= 112
218 IE_PROFICIENCYSINGLEWEAPON
= 113
219 IE_PROFICIENCY2WEAPON
= 114
220 IE_EXTRAPROFICIENCY1
= 115
221 IE_EXTRAPROFICIENCY2
= 116
222 IE_EXTRAPROFICIENCY3
= 117
223 IE_EXTRAPROFICIENCY4
= 118
224 IE_EXTRAPROFICIENCY5
= 119
225 IE_EXTRAPROFICIENCY6
= 120
226 IE_EXTRAPROFICIENCY7
= 121
227 IE_EXTRAPROFICIENCY8
= 122
228 IE_EXTRAPROFICIENCY9
= 123
229 IE_EXTRAPROFICIENCY10
= 124
230 IE_EXTRAPROFICIENCY11
= 125
231 IE_EXTRAPROFICIENCY12
= 126
232 IE_EXTRAPROFICIENCY13
= 127
233 IE_EXTRAPROFICIENCY14
= 128
234 IE_EXTRAPROFICIENCY15
= 129
235 IE_EXTRAPROFICIENCY16
= 130
236 IE_EXTRAPROFICIENCY17
= 131
238 IE_EXTRAPROFICIENCY18
= 132
240 IE_EXTRAPROFICIENCY19
= 133
242 IE_EXTRAPROFICIENCY20
= 134
243 IE_FREESLOTS
= 134 #not an error (PST)
244 IE_HIDEINSHADOWS
= 135
245 IE_DETECTILLUSIONS
= 136
247 IE_PUPPETMASTERID
= 138
248 IE_PUPPETMASTERTYPE
= 139
251 IE_CHECKFORBERSERK
= 142
252 IE_BERSERKSTAGE1
= 143
253 IE_BERSERKSTAGE2
= 144
255 IE_CRITICALHITBONUS
= 146
259 IE_SUMMONDISABLE
= 150
264 IE_IMPROVEDHASTE
= 155
265 IE_SCRIPTINGSTATE1
= 156
266 IE_SCRIPTINGSTATE2
= 157
267 IE_SCRIPTINGSTATE3
= 158
268 IE_SCRIPTINGSTATE4
= 159
269 IE_SCRIPTINGSTATE5
= 160
270 IE_SCRIPTINGSTATE6
= 161
271 IE_SCRIPTINGSTATE7
= 162
272 IE_SCRIPTINGSTATE8
= 163
273 IE_SCRIPTINGSTATE9
= 164
274 IE_SCRIPTINGSTATE10
= 165
277 IE_MISSILEDAMAGE
= 168
283 IE_DISABLEOVERLAY
= 174
284 IE_DISABLEBACKSTAB
= 175
285 IE_XP_MAGE
= 176 # In PST this stores secondary level exp
286 IE_XP_THIEF
= 177 # In PST this stores tertiary level exp
287 IE_DIALOGRANGE
= 178 # distance for dialogue
288 IE_MOVEMENTRATE
= 179
290 IE_STONESKINSGOLEM
= 199
292 IE_AVATARREMOVAL
= 201
294 IE_DISABLEDBUTTON
= 204
295 # GemRB Specific Defines
296 IE_ANIMATION_ID
= 205
303 IE_LEATHER_COLOR
= 212
307 IE_CLASSLEVELSUM
= 216
309 IE_UNSELECTABLE
= 218
314 IE_SPECIES
= 223 #pst specific
322 # These are in original PST, IWD, IWD2, but not as stats
329 IE_LEVELBARBARIAN
= 240
334 IE_LEVELPALADIN
= 245
336 IE_LEVELSORCEROR
= 247
337 #place for more classes
342 # End of file ie_stats.py