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