0
|
1 #pragma once
|
|
2 #include "Items.h"
|
|
3 #include "Spells.h"
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9 /* 339 */
|
|
10 enum CHARACTER_RACE
|
|
11 {
|
|
12 CHARACTER_RACE_HUMAN = 0x0,
|
|
13 CHARACTER_RACE_ELF = 0x1,
|
|
14 CHARACTER_RACE_GOBLIN = 0x2,
|
|
15 CHARACTER_RACE_DWARF = 0x3,
|
|
16 };
|
|
17 enum CHARACTER_ATTRIBUTE
|
|
18 {
|
|
19 CHARACTER_MIGHT = 0x0,
|
|
20 CHARACTER_INTELLIGANCE = 0x1,
|
|
21 CHARACTER_WILLPOWER = 0x2,
|
|
22 CHARACTER_ENDURANCE = 0x3,
|
|
23 CHARACTER_ACCURACY = 0x4,
|
|
24 CHARACTER_SPEED = 0x5,
|
|
25 CHARACTER_LUCK = 0x6,
|
|
26 };
|
|
27
|
130
|
28
|
|
29
|
0
|
30 /* 332 */
|
|
31 enum CHARACTER_ATTRIBUTE_TYPE
|
|
32 {
|
|
33 CHARACTER_ATTRIBUTE_STRENGTH = 0x0,
|
|
34 CHARACTER_ATTRIBUTE_INTELLIGENCE = 0x1,
|
|
35 CHARACTER_ATTRIBUTE_WILLPOWER = 0x2,
|
|
36 CHARACTER_ATTRIBUTE_ENDURANCE = 0x3,
|
|
37 CHARACTER_ATTRIBUTE_ACCURACY = 0x4,
|
|
38 CHARACTER_ATTRIBUTE_SPEED = 0x5,
|
|
39 CHARACTER_ATTRIBUTE_LUCK = 0x6,
|
|
40 CHARACTER_ATTRIBUTE_HEALTH = 0x7,
|
|
41 CHARACTER_ATTRIBUTE_MANA = 0x8,
|
|
42 CHARACTER_ATTRIBUTE_AC_BONUS = 0x9,
|
|
43 CHARACTER_ATTRIBUTE_RESIST_FIRE = 0xA,
|
|
44 CHARACTER_ATTRIBUTE_RESIST_AIR = 0xB,
|
|
45 CHARACTER_ATTRIBUTE_RESIST_WATER = 0xC,
|
|
46 CHARACTER_ATTRIBUTE_RESIST_EARTH = 0xD,
|
|
47 CHARACTER_ATTRIBUTE_RESIST_MIND = 0xE,
|
|
48 CHARACTER_ATTRIBUTE_RESIST_BODY = 0xF,
|
|
49 CHARACTER_ATTRIBUTE_LEVEL = 0x18,
|
|
50 CHARACTER_ATTRIBUTE_ATTACK = 0x19,
|
|
51 CHARACTER_ATTRIBUTE_MELEE_DMG_BONUS = 0x1A,
|
|
52 CHARACTER_ATTRIBUTE_MELEE_DMG_MIN = 0x1B,
|
|
53 CHARACTER_ATTRIBUTE_MELEE_DMG_MAX = 0x1C,
|
|
54 CHARACTER_ATTRIBUTE_RANGED_ATTACK = 0x1D,
|
|
55 CHARACTER_ATTRIBUTE_RANGED_DAMAGE_BONUS = 0x1E,
|
|
56 CHARACTER_ATTRIBUTE_RANGED_DAMAGE_MIN = 0x1F,
|
|
57 CHARACTER_ATTRIBUTE_RANGED_DAMAGE_MAX = 0x20,
|
|
58 };
|
|
59
|
|
60 /* 328 */
|
|
61 enum PLAYER_SKILL_TYPE
|
|
62 {
|
135
|
63 PLAYER_SKILL_STAFF = 0,
|
|
64 PLAYER_SKILL_SWORD = 1,
|
|
65 PLAYER_SKILL_DAGGER = 2,
|
|
66 PLAYER_SKILL_AXE = 3,
|
|
67 PLAYER_SKILL_SPEAR = 4,
|
|
68 PLAYER_SKILL_BOW = 5,
|
|
69 PLAYER_SKILL_MACE = 6,
|
|
70 PLAYER_SKILL_BLASTER = 7,
|
|
71 PLAYER_SKILL_SHIELD = 8,
|
|
72 PLAYER_SKILL_LEATHER = 9,
|
|
73 PLAYER_SKILL_CHAIN = 10,
|
|
74 PLAYER_SKILL_PLATE = 11,
|
|
75 PLAYER_SKILL_FIRE = 12,
|
|
76 PLAYER_SKILL_AIR = 13,
|
|
77 PLAYER_SKILL_WATER = 14,
|
|
78 PLAYER_SKILL_EARTH = 15,
|
|
79 PLAYER_SKILL_SPIRIT = 16,
|
0
|
80 PLAYER_SKILL_MIND = 0x11,
|
135
|
81 PLAYER_SKILL_BODY = 18,
|
0
|
82 PLAYER_SKILL_LIGHT = 0x13,
|
|
83 PLAYER_SKILL_DARK = 0x14,
|
|
84 PLAYER_SKILL_ITEM_ID = 0x15,
|
|
85 PLAYER_SKILL_MERCHANT = 0x16,
|
|
86 PLAYER_SKILL_REPAIR = 0x17,
|
|
87 PLAYER_SKILL_BODYBUILDING = 0x18,
|
|
88 PLAYER_SKILL_MEDITATION = 0x19,
|
|
89 PLAYER_SKILL_PERCEPTION = 0x1A,
|
|
90 PLAYER_SKILL_DIPLOMACY = 0x1B,
|
|
91 PLAYER_SKILL_TIEVERY = 0x1C,
|
135
|
92 PLAYER_SKILL_TRAP_DISARM = 29,
|
0
|
93 PLAYER_SKILL_DODGE = 0x1E,
|
|
94 PLAYER_SKILL_UNARMED = 0x1F,
|
|
95 PLAYER_SKILL_MONSTER_ID = 0x20,
|
135
|
96 PLAYER_SKILL_ARMSMASTER = 33,
|
|
97 PLAYER_SKILL_STEALING = 34,
|
|
98 PLAYER_SKILL_ALCHEMY = 35,
|
0
|
99 PLAYER_SKILL_LEARNING = 0x24,
|
|
100 };
|
|
101
|
|
102 /* 329 */
|
135
|
103 enum PLAYER_CLASS_TYPE: unsigned __int8
|
0
|
104 {
|
135
|
105 PLAYER_CLASS_KNIGHT = 0,
|
|
106 PLAYER_CLASS_THEIF = 4,
|
0
|
107 PLAYER_CLASS_BOUNTY_HUNTER = 0x7,
|
|
108 PLAYER_CLASS_MONK = 0x8,
|
|
109 PLAYER_CLASS_PALADIN = 0xC,
|
|
110 PLAYER_CLASS_SHOOTER = 0x10,
|
|
111 PLAYER_CLASS_RANGER = 0x14,
|
135
|
112 PLAYER_CLASS_CLERIC = 24,
|
0
|
113 PLAYER_CLASS_PRIEST_OF_MOON = 0x1B,
|
135
|
114 PLAYER_CLASS_DRUID = 28,
|
|
115 PLAYER_CLASS_31 = 31,
|
|
116 PLAYER_CLASS_SORCERER = 32,
|
|
117 PLAYER_CLASS_LICH = 35,
|
0
|
118 };
|
|
119
|
|
120
|
|
121
|
|
122
|
|
123 #pragma pack(push, 1)
|
|
124 struct LloydBeacon
|
|
125 {
|
|
126 unsigned __int64 uBeaconTime;
|
|
127 int field_8;
|
|
128 int field_C;
|
|
129 int field_10;
|
|
130 int field_14;
|
|
131 int field_18;
|
|
132 };
|
|
133 #pragma pack(pop)
|
|
134
|
|
135
|
|
136
|
|
137 #pragma pack(push, 1)
|
|
138 struct PlayerSpellbookChapter
|
|
139 {
|
|
140 unsigned __int8 bIsSpellbookAvailable;
|
|
141 char bIsSpellAvailable[10];
|
|
142 };
|
|
143 #pragma pack(pop)
|
|
144
|
|
145 #pragma pack(push, 1)
|
|
146 struct PlayerSpells
|
|
147 {
|
|
148 union
|
|
149 {
|
|
150 struct
|
|
151 {
|
|
152 PlayerSpellbookChapter pFireSpellbook;
|
|
153 PlayerSpellbookChapter pAirSpellbook;
|
|
154 PlayerSpellbookChapter pWaterSpellbook;
|
|
155 PlayerSpellbookChapter pEarthSpellbook;
|
|
156 PlayerSpellbookChapter pSpiritSpellbook;
|
|
157 PlayerSpellbookChapter pMindSpellbook;
|
|
158 PlayerSpellbookChapter pBodySpellbook;
|
|
159 PlayerSpellbookChapter pLightSpellbook;
|
|
160 PlayerSpellbookChapter pDarkSpellbook;
|
|
161 char _pad_0;
|
|
162 };
|
|
163 struct
|
|
164 {
|
|
165 PlayerSpellbookChapter pChapters[9];
|
|
166 char _pad_1;
|
|
167 };
|
|
168 };
|
|
169 };
|
|
170 #pragma pack(pop)
|
|
171
|
|
172
|
|
173
|
|
174 #pragma pack(push, 1)
|
|
175 union PlayerEquipment
|
|
176 {
|
|
177 union
|
|
178 {
|
|
179 struct
|
|
180 {
|
|
181 unsigned int uOffHand;
|
|
182 unsigned int uMainHand;
|
|
183 unsigned int uBow;
|
|
184 unsigned int uBody;
|
|
185 unsigned int uHelm;
|
|
186 unsigned int uBelt;
|
|
187 unsigned int uCloak;
|
|
188 unsigned int field_1C;
|
|
189 unsigned int field_20;
|
|
190 unsigned int field_24;
|
|
191 unsigned int field_28;
|
|
192 unsigned int field_2C;
|
|
193 unsigned int field_30;
|
|
194 unsigned int field_34;
|
|
195 unsigned int field_38;
|
|
196 unsigned int field_3C;
|
|
197 };
|
|
198 unsigned int pIndices[16];
|
|
199 };
|
|
200 };
|
|
201 #pragma pack(pop)
|
|
202
|
|
203
|
|
204
|
|
205
|
|
206
|
130
|
207 enum CHARACTER_EXPRESSION_ID: unsigned __int16
|
|
208 {
|
|
209 CHARACTER_EXPRESSION_INVALID = 0,
|
|
210 CHARACTER_EXPRESSION_1 = 1,
|
|
211 CHARACTER_EXPRESSION_CURSED = 2,
|
|
212 CHARACTER_EXPRESSION_WEAK = 3,
|
|
213 CHARACTER_EXPRESSION_SLEEP = 4,
|
|
214 CHARACTER_EXPRESSION_FEAR = 5,
|
|
215 CHARACTER_EXPRESSION_DRUNK = 6,
|
|
216 CHARACTER_EXPRESSION_INSANE = 7,
|
|
217 CHARACTER_EXPRESSION_POISONED = 8,
|
|
218 CHARACTER_EXPRESSION_DISEASED = 9,
|
|
219 CHARACTER_EXPRESSION_PARALYZED = 10,
|
|
220 CHARACTER_EXPRESSION_UNCONCIOUS = 11,
|
|
221 CHARACTER_EXPRESSION_PERTIFIED = 12,
|
|
222 CHARACTER_EXPRESSION_13 = 13,
|
|
223 CHARACTER_EXPRESSION_14 = 14,
|
|
224 CHARACTER_EXPRESSION_15 = 15,
|
|
225 CHARACTER_EXPRESSION_16 = 16,
|
|
226 CHARACTER_EXPRESSION_17 = 17,
|
|
227 CHARACTER_EXPRESSION_18 = 18,
|
|
228 CHARACTER_EXPRESSION_19 = 19,
|
|
229 CHARACTER_EXPRESSION_20 = 20,
|
|
230 CHARACTER_EXPRESSION_21 = 21,
|
|
231 CHARACTER_EXPRESSION_22 = 22,
|
|
232 CHARACTER_EXPRESSION_23 = 23,
|
|
233 CHARACTER_EXPRESSION_24 = 24,
|
|
234 CHARACTER_EXPRESSION_25 = 25,
|
|
235 CHARACTER_EXPRESSION_26 = 26,
|
|
236 CHARACTER_EXPRESSION_27 = 27,
|
|
237 CHARACTER_EXPRESSION_28 = 28,
|
|
238 CHARACTER_EXPRESSION_29 = 29,
|
|
239 CHARACTER_EXPRESSION_30 = 30,
|
|
240 CHARACTER_EXPRESSION_31 = 31,
|
|
241 CHARACTER_EXPRESSION_32 = 32,
|
|
242 CHARACTER_EXPRESSION_33 = 33,
|
|
243 CHARACTER_EXPRESSION_34 = 34,
|
|
244 CHARACTER_EXPRESSION_35 = 35,
|
|
245 CHARACTER_EXPRESSION_36 = 36,
|
|
246 CHARACTER_EXPRESSION_37 = 37,
|
|
247 CHARACTER_EXPRESSION_38 = 38,
|
|
248 CHARACTER_EXPRESSION_39 = 39,
|
|
249
|
|
250 // ?
|
|
251
|
|
252 CHARACTER_EXPRESSION_46 = 46,
|
|
253
|
|
254 CHARACTER_EXPRESSION_54 = 54,
|
|
255 CHARACTER_EXPRESSION_55 = 55,
|
|
256 CHARACTER_EXPRESSION_56 = 56,
|
|
257 CHARACTER_EXPRESSION_57 = 57,
|
|
258
|
|
259 // ?
|
|
260
|
|
261 CHARACTER_EXPRESSION_DEAD = 98,
|
|
262 CHARACTER_EXPRESSION_ERADICATED = 99,
|
|
263 };
|
|
264
|
|
265
|
0
|
266 enum PLAYER_SEX: unsigned __int8
|
|
267 {
|
|
268 SEX_MALE = 0,
|
|
269 SEX_FEMALE = 1
|
|
270 };
|
|
271
|
|
272 #pragma pack(push, 1)
|
|
273 struct Player
|
|
274 {
|
|
275 enum Condition: unsigned __int32
|
|
276 {
|
|
277 Condition_Cursed = 0,
|
|
278 Condition_Weak = 1,
|
|
279 Condition_Sleep = 2,
|
|
280 Condition_Fear = 3,
|
|
281 Condition_Drunk = 4,
|
|
282 Condition_Insane = 5,
|
|
283 Condition_Poison1 = 6,
|
|
284 Condition_Disease1 = 7,
|
130
|
285 Condition_Poison2 = 8,
|
0
|
286 Condition_Disease2 = 9,
|
|
287 Condition_Poison3 = 10,
|
|
288 Condition_Disease3 = 11,
|
|
289 Condition_Paralyzed = 12,
|
|
290 Condition_Unconcious = 13,
|
|
291 Condition_Dead = 14,
|
|
292 Condition_Pertified = 15,
|
|
293 Condition_Eradicated = 16,
|
|
294 Condition_Zombie = 17,
|
|
295 Condition_Good = 18
|
|
296 };
|
|
297
|
|
298 Player();
|
|
299
|
|
300 void SetVariable(enum VariableType var, signed int a3);
|
|
301 void AddVariable(enum VariableType var, signed int val);
|
|
302 void SubtractVariable(enum VariableType var, void *a3);
|
|
303 char CompareVariable(enum VariableType var, signed int a1);
|
|
304 void UseItem_DrinkPotion_etc(signed int a2, int a3);
|
|
305 bool AddItem(struct ItemGen *pItem);
|
|
306 int GetBaseStrength();
|
|
307 int GetBaseIntelligence();
|
|
308 int GetBaseWillpower();
|
|
309 int GetBaseEndurance();
|
|
310 int GetBaseAccuracy();
|
|
311 int GetBaseSpeed();
|
|
312 int GetBaseLuck();
|
|
313 int GetBaseLevel();
|
|
314 int GetActualLevel();
|
|
315 int GetActualMight();
|
|
316 int GetActualIntelligence();
|
|
317 int GetActualWillpower();
|
|
318 int GetActualEndurance();
|
|
319 int GetActualAccuracy();
|
|
320 int GetActualSpeed();
|
|
321 int GetActualLuck();
|
|
322 int GetActualAttack(int a2);
|
|
323 int GetMeleeDamageMinimal();
|
|
324 int GetMeleeDamageMaximal();
|
|
325 int CalculateMeleeDamageTo(int a2, int a3, unsigned int uTargetActorID);
|
|
326 int GetRangedAttack();
|
|
327 int GetRangedDamageMin();
|
|
328 int GetRangedDamageMax();
|
|
329 bool CalculateRangedDamageTo(int a2);
|
|
330 char *GetMeleeDamageString();
|
|
331 char *GetRangedDamageString();
|
|
332 bool CanTrainToNextLevel();
|
|
333 unsigned int GetExperienceDisplayColor();
|
|
334 int CalculateIncommingDamage(int resistance, signed int type);
|
|
335 int GetEquippedItemEquipType(unsigned int uEquipSlot);
|
|
336 int GetEquippedItemSkillType(enum ITEM_EQUIP_TYPE uEquipSlot);
|
|
337 bool IsUnarmed();
|
|
338 bool HasItemEquipped(enum ITEM_EQUIP_TYPE uEquipIndex);
|
|
339 bool HasEnchantedItemEquipped(int uEnchantment);
|
|
340 bool WearsItem(int a1, signed int a2);
|
|
341 bool StealFromShop(struct ItemGen *a2, int a3, int a4, int a5, int *a6);
|
|
342 int StealFromActor(unsigned int uActorID, int _steal_perm, int reputation);
|
|
343 void Heal(int amount);
|
|
344 int ReceiveDamage(signed int type, int resistance);
|
|
345 int _48DCF6(int a2, struct Actor *pActor);
|
|
346 unsigned int GetSpellSchool(unsigned int uSpellID);
|
|
347 int GetAttackRecoveryTime(int a2);
|
|
348 int GetMaxHealth();
|
|
349 int GetMaxMana();
|
|
350 int GetBaseAC();
|
|
351 int GetActualAC();
|
|
352 unsigned int GetBaseAge();
|
|
353 unsigned int GetActualAge();
|
|
354 int GetBaseResistance(enum CHARACTER_ATTRIBUTE_TYPE a2);
|
|
355 int GetActualResistance(enum CHARACTER_ATTRIBUTE_TYPE a2);
|
|
356 void SetRecoveryTime(signed int sRecoveryTime);
|
|
357 void RandomizeName();
|
|
358 unsigned int GetMajorConditionIdx();
|
|
359 int _48EA1B_get_static_effect(int a2);
|
|
360 int _48EA46_calc_special_bonus_by_items(int a2);
|
|
361 int GetItemsBonus(enum CHARACTER_ATTRIBUTE_TYPE attr, int a3);
|
|
362 int GetMagicalBonus(enum CHARACTER_ATTRIBUTE_TYPE a2);
|
|
363 char GetActualSkillLevel(enum PLAYER_SKILL_TYPE uSkillType);
|
|
364 int GetSkillBonus(enum CHARACTER_ATTRIBUTE_TYPE a2);
|
|
365 enum CHARACTER_RACE GetRace();
|
|
366 int GetSexByVoice();
|
|
367 void SetInitialStats();
|
|
368 int SetSexByVoice();
|
135
|
369 void Reset(PLAYER_CLASS_TYPE classType);
|
0
|
370 enum PLAYER_SKILL_TYPE GetSkillIdxByOrder(signed int order);
|
|
371 void DecreaseAttribute(int eAttribute);
|
|
372 int IncreaseAttribute(int eAttribute);
|
|
373 void Player::Zero();
|
|
374 __int16 GetStatColor(unsigned int uStat);
|
|
375 bool DiscardConditionIfLastsLongerThan(unsigned int uCondition, unsigned __int64 uTime);
|
|
376 int _490EEE(ItemGen *pItem, int a3, int a4, int a5);
|
|
377 int GetBodybuilding();
|
|
378 int GetMediatation();
|
|
379 int CanIdentify(ItemGen *pItem);
|
|
380 int CanRepair(ItemGen *);
|
|
381 int GetMerchant();
|
|
382 int GetPerception();
|
|
383 int GetDisarmTrap();
|
|
384 char GetLearningPercent();
|
|
385 bool CanFitItem(unsigned int uSlot, unsigned int uItemID);
|
|
386 unsigned int FindFreeInventorySlot();
|
|
387 int CreateItemInInventory(unsigned int uSlot, unsigned int uItemID);
|
|
388 int HasSkill(unsigned int uSkillType);
|
|
389 int WearItem(unsigned int uItemID);
|
|
390 int AddItem(unsigned int uSlot, unsigned int uItemID);
|
|
391 int AddItem2(unsigned int uSlot, ItemGen *Src);
|
|
392 int CreateItemInInventory2(unsigned int uSlot, ItemGen *Src);
|
|
393 bool _49298B(ItemGen *a2, int a3, int a4);
|
|
394 unsigned int RemoveItemAtInventoryIndex(unsigned int uSlot);
|
|
395 bool CanAct();
|
|
396 bool CanSteal();
|
|
397 bool CanEquip_RaceAndAlignmentCheck(unsigned int uItemID);
|
|
398 int SetCondition(unsigned int uConditionIdx, int a3);
|
|
399 int _49327B(unsigned int uClass, int a3);
|
|
400 __int16 PlaySound(int a2, int a3);
|
130
|
401 __int16 PlayEmotion(CHARACTER_EXPRESSION_ID expression, int a3);
|
0
|
402 char _4160CA(int a2);
|
|
403 unsigned int GetItemIDAtInventoryIndex(int *a2);
|
|
404 int _4B6FF9();
|
|
405 int _4B824B(float a2);
|
|
406 int _4B8265(int a2, float a3);
|
|
407 int _4B8233(int a2, float a3);
|
|
408 int _4B8213(int a2, float a3);
|
|
409 int _4B81C3(int a2, float a3);
|
|
410 int _4B8179(float a2);
|
|
411 int _4B8142(int a2, float a3);
|
|
412 int _4B8102(int a2, float a3);
|
|
413 int _4B807C(float a2);
|
|
414 int _4B8040_condition_time(unsigned int uCondition);
|
|
415 bool _43EEF3();
|
|
416 void _4BE2DD(unsigned int a2, int a3, int _2devent_idx);
|
|
417 bool Recover(signed int a2);
|
|
418 bool CanCastSpell(unsigned int uRequiredMana);
|
|
419
|
|
420 inline bool Dead() {return pConditions[Condition::Condition_Dead] != 0;}
|
|
421 inline bool Eradicated() {return pConditions[Condition::Condition_Eradicated] != 0;}
|
135
|
422 inline bool Zombie() {return pConditions[Condition::Condition_Zombie] != 0;}
|
0
|
423
|
|
424
|
|
425
|
|
426 __int64 pConditions[20];
|
|
427 unsigned __int64 uExperience;
|
|
428 char pName[16];
|
|
429 PLAYER_SEX uSex;
|
135
|
430 PLAYER_CLASS_TYPE classType;
|
0
|
431 unsigned __int8 uFace;
|
|
432 char field_BB;
|
|
433 unsigned __int16 uMight;
|
|
434 unsigned __int16 uMightBonus;
|
|
435 unsigned __int16 uIntelligence;
|
|
436 unsigned __int16 uIntelligenceBonus;
|
|
437 unsigned __int16 uWillpower;
|
|
438 unsigned __int16 uWillpowerBonus;
|
|
439 unsigned __int16 uEndurance;
|
|
440 unsigned __int16 uEnduranceBonus;
|
|
441 unsigned __int16 uSpeed;
|
|
442 unsigned __int16 uSpeedBonus;
|
|
443 unsigned __int16 uAccuracy;
|
|
444 unsigned __int16 uAccuracyBonus;
|
|
445 unsigned __int16 uLuck;
|
|
446 unsigned __int16 uLuckBonus;
|
|
447 __int16 sACModifier;
|
|
448 unsigned __int16 uLevel;
|
|
449 __int16 sLevelModifier;
|
|
450 __int16 sAgeModifier;
|
|
451 int field_E0;
|
|
452 int field_E4;
|
|
453 int field_E8;
|
|
454 int field_EC;
|
|
455 int field_F0;
|
|
456 int field_F4;
|
|
457 int field_F8;
|
|
458 int field_FC;
|
|
459 int field_100;
|
|
460 int field_104;
|
|
461 union
|
|
462 {
|
|
463 struct
|
|
464 {
|
|
465 unsigned __int16 skillStaff;
|
|
466 unsigned __int16 skillSword;
|
|
467 unsigned __int16 skillDagger;
|
|
468 unsigned __int16 skillAxe;
|
|
469 unsigned __int16 skillSpear;
|
|
470 unsigned __int16 skillBow;
|
|
471 unsigned __int16 skillMace;
|
|
472 unsigned __int16 skillBlaster;
|
|
473 unsigned __int16 skillShield;
|
|
474 unsigned __int16 skillLeather;
|
|
475 unsigned __int16 skillChain;
|
|
476 unsigned __int16 skillPlate;
|
|
477 unsigned __int16 skillFire;
|
|
478 unsigned __int16 skillAir;
|
|
479 unsigned __int16 skillWater;
|
|
480 unsigned __int16 skillEarth;
|
|
481 unsigned __int16 skillSpirit;
|
|
482 unsigned __int16 skillMind;
|
|
483 unsigned __int16 skillBody;
|
|
484 unsigned __int16 skillLight;
|
|
485 unsigned __int16 skillDark;
|
|
486 unsigned __int16 skillItemId;
|
|
487 unsigned __int16 skillMerchant;
|
|
488 unsigned __int16 skillRepair;
|
|
489 unsigned __int16 skillBodybuilding;
|
|
490 unsigned __int16 skillMeditation;
|
|
491 unsigned __int16 skillPerception;
|
|
492 unsigned __int16 skillDiplomacy;
|
|
493 unsigned __int16 skillThievery;
|
|
494 unsigned __int16 skillDisarmTrap;
|
|
495 unsigned __int16 skillDodge;
|
|
496 unsigned __int16 skillUnarmed;
|
|
497 unsigned __int16 skillMonsterId;
|
|
498 unsigned __int16 skillArmsmaster;
|
|
499 unsigned __int16 skillStealing;
|
|
500 unsigned __int16 skillAlchemy;
|
|
501 unsigned __int16 skillLearning;
|
|
502 };
|
|
503 unsigned __int16 pActiveSkills[37];
|
|
504 };
|
|
505 char field_152[64];
|
|
506 PlayerSpells spellbook;
|
|
507 char field_1F5[30]; // used to be [31]
|
|
508 ItemGen pInventoryItems[126];
|
|
509 ItemGen pEquippedItems[12];
|
|
510 int pInventoryIndices[126];
|
|
511 __int16 sResFireBase;
|
|
512 __int16 sResAirBase;
|
|
513 __int16 sResWaterBase;
|
|
514 __int16 sResEarthBase;
|
|
515 __int16 field_177C;
|
|
516 __int16 sResMagicBase;
|
|
517 __int16 sResSpiritBase;
|
|
518 __int16 sResMindBase;
|
|
519 __int16 sResBodyBase;
|
|
520 __int16 sResLightBase;
|
|
521 __int16 sResDarkBase;
|
|
522 __int16 sResFireBonus;
|
|
523 __int16 sResAirBonus;
|
|
524 __int16 sResWaterBonus;
|
|
525 __int16 sResEarthBonus;
|
|
526 __int16 field_1792;
|
|
527 __int16 sResMagicBonus;
|
|
528 __int16 sResSpiritBonus;
|
|
529 __int16 sResMindBonus;
|
|
530 __int16 sResBodyBonus;
|
|
531 __int16 sResLightBonus;
|
|
532 __int16 sResDarkBonus;
|
|
533 SpellBuff pPlayerBuffs[24];
|
|
534 unsigned int uVoiceID;
|
|
535 int field_1924;
|
|
536 int field_1928;
|
|
537 int field_192C;
|
|
538 int field_1930;
|
|
539 unsigned __int16 uTimeToRecovery;
|
|
540 char field_1936;
|
|
541 char field_1937;
|
|
542 unsigned int uSkillPoints;
|
|
543 int sHealth;
|
|
544 int sMana;
|
|
545 unsigned int uBirthYear;
|
|
546 PlayerEquipment pEquipment;
|
|
547 int field_1988[49];
|
|
548 char field_1A4C;
|
|
549 char field_1A4D;
|
|
550 char pNumSpellBookPage;
|
|
551 unsigned __int8 uQuickSpell;
|
|
552 char field_1A50[64];
|
|
553 char _some_attack_bonus;
|
|
554 char field_1A91;
|
|
555 char _melee_dmg_bonus;
|
|
556 char field_1A93;
|
|
557 char _ranged_atk_bonus;
|
|
558 char field_1A95;
|
|
559 char _ranged_dmg_bonus;
|
|
560 char field_1A97;
|
|
561 char uFullHealthBonus;
|
|
562 char _health_related;
|
|
563 char uFullManaBonus;
|
|
564 char _mana_related;
|
130
|
565 CHARACTER_EXPRESSION_ID expression;
|
0
|
566 unsigned __int16 uExpressionTimePassed;
|
|
567 unsigned __int16 uExpressionTimeLength;
|
|
568 __int16 field_1AA2;
|
|
569 int field_1AA4;
|
|
570 int field_1AA8;
|
|
571 LloydBeacon pInstalledBeacons[5];
|
|
572 char uNumDivineInterventionCastsThisDay;
|
|
573 char uNumArmageddonCasts;
|
|
574 char uNumFireSpikeCasts;
|
|
575 char field_1B3B;
|
|
576 };
|
|
577 #pragma pack(pop)
|