Simplified the code in HeroAppearance.cpp

This commit is contained in:
NovaRain
2020-02-03 11:23:20 +08:00
parent 3b85596ca1
commit 84204d97d8
4 changed files with 83 additions and 95 deletions
+1
View File
@@ -569,6 +569,7 @@ StartGDialogFix=0
AttackComplexFix=0
;Set to 1 to fix the issue with the division operator treating negative integers as unsigned
;If you still want to perform the unsigned integer division, use the new 'div' operator
DivisionOperatorFix=1
;Set to 1 to enable the balanced bullet distribution formula for burst attacks
+1 -1
View File
@@ -334,6 +334,6 @@
#define OBJ_DATA_COMBAT_STATE (0x3C) // flags: 1 - combat, 2 - target is out of range, 4 - flee
#define OBJ_DATA_CUR_ACTION_POINT (0x40)
#define OBJ_DATA_DAMAGE_LAST_TURN (0x48)
#define OBJ_DATA_WHO_HIT_ME (0x54)
#define OBJ_DATA_WHO_HIT_ME (0x54) // current target of the critter
#endif // DEFINE_EXTRA_H