Mercurial > mm7
comparison Actor.h @ 2293:b0f10ef66e00
stru319::CalcMagicalDamageToActor moved to Actor class
author | Grumpy7 |
---|---|
date | Sun, 16 Mar 2014 19:42:29 +0100 |
parents | ab8797ea43b6 |
children | 4c3f91554be8 |
comparison
equal
deleted
inserted
replaced
2292:ab8797ea43b6 | 2293:b0f10ef66e00 |
---|---|
12 #pragma pack(push, 1) | 12 #pragma pack(push, 1) |
13 struct stru319 | 13 struct stru319 |
14 { | 14 { |
15 int which_player_to_attack(struct Actor *pActor); | 15 int which_player_to_attack(struct Actor *pActor); |
16 int _427546(int a2); | 16 int _427546(int a2); |
17 int CalcMagicalDamageToActor(Actor *pActor, DAMAGE_TYPE dmgType, signed int incomingDmg); | |
18 bool GetMagicalResistance(struct Actor *pActor, unsigned int uType); | 17 bool GetMagicalResistance(struct Actor *pActor, unsigned int uType); |
19 int FindClosestActor(int a2, int a3, int a4); | 18 int FindClosestActor(int a2, int a3, int a4); |
20 | 19 |
21 char field_0; | 20 char field_0; |
22 }; | 21 }; |
235 void LootActor(); | 234 void LootActor(); |
236 bool _427102_IsOkToCastSpell(signed int a2); | 235 bool _427102_IsOkToCastSpell(signed int a2); |
237 ABILITY_INDEX special_ability_use_check(int a2); | 236 ABILITY_INDEX special_ability_use_check(int a2); |
238 bool _4273BB_DoesHitOtherActor(Actor *defender, int a3, int a4); | 237 bool _4273BB_DoesHitOtherActor(Actor *defender, int a3, int a4); |
239 bool ActorHitOrMiss(Player *pPlayer); | 238 bool ActorHitOrMiss(Player *pPlayer); |
239 int CalcMagicalDamageToActor(DAMAGE_TYPE dmgType, signed int incomingDmg); | |
240 | 240 |
241 char pActorName[32]; | 241 char pActorName[32]; |
242 signed __int16 sNPC_ID; | 242 signed __int16 sNPC_ID; |
243 __int16 field_22; | 243 __int16 field_22; |
244 unsigned int uAttributes; | 244 unsigned int uAttributes; |