[int64] Support for HP / Mana / End / Damage / Hate (#2091)

* Initial int64 work

* Hate 64 bit

* Update special_attacks.cpp

* Aggro / Damage / Hate int64

* NPC edit adjustments

* Fix bot compile

* More int64 adjustments

* More int64 references

* npcedit references

* aggrozone

* More int64 changes

* More int64 changes for damage

* Many more damage int64 references

* More spell damage int64 conversions

* HealDamage

* Damage fully working

* Remove debug

* Add migration

* More int64 adjustments

* Much wow, many int64

* More int64

* PR adjustments
This commit is contained in:
Chris Miles
2022-05-07 22:32:02 -05:00
committed by GitHub
parent d9c41526e8
commit f201d4c999
57 changed files with 743 additions and 708 deletions
+5 -5
View File
@@ -36,8 +36,8 @@ struct NPCType
{
char name[64];
char lastname[70];
int32 current_hp;
int32 max_hp;
int64 current_hp;
int64 max_hp;
float size;
float runspeed;
uint8 gender;
@@ -60,7 +60,7 @@ struct NPCType
uint32 trap_template;
uint8 light;
uint32 AC;
uint32 Mana; //not loaded from DB
uint64 Mana; //not loaded from DB
uint32 ATK; //not loaded from DB
uint32 STR;
uint32 STA;
@@ -104,9 +104,9 @@ struct NPCType
uint8 prim_melee_type;
uint8 sec_melee_type;
uint8 ranged_type;
int32 hp_regen;
int64 hp_regen;
int64 hp_regen_per_second;
int32 mana_regen;
int64 mana_regen;
int32 aggroradius; // added for AI improvement - neotokyo
int32 assistradius; // assist radius, defaults to aggroradis if not set
uint16 see_invis; // See Invis flag added