mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[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:
+18
-18
@@ -58,18 +58,18 @@ public:
|
||||
bool Attack(Lua_Mob other, int hand, bool from_riposte, bool is_strikethrough);
|
||||
bool Attack(Lua_Mob other, int hand, bool from_riposte, bool is_strikethrough, bool is_from_spell);
|
||||
bool Attack(Lua_Mob other, int hand, bool from_riposte, bool is_strikethrough, bool is_from_spell, luabind::adl::object opts);
|
||||
void Damage(Lua_Mob from, int damage, int spell_id, int attack_skill);
|
||||
void Damage(Lua_Mob from, int damage, int spell_id, int attack_skill, bool avoidable);
|
||||
void Damage(Lua_Mob from, int damage, int spell_id, int attack_skill, bool avoidable, int buffslot);
|
||||
void Damage(Lua_Mob from, int damage, int spell_id, int attack_skill, bool avoidable, int buffslot, bool buff_tic);
|
||||
void Damage(Lua_Mob from, int64 damage, int spell_id, int attack_skill);
|
||||
void Damage(Lua_Mob from, int64 damage, int spell_id, int attack_skill, bool avoidable);
|
||||
void Damage(Lua_Mob from, int64 damage, int spell_id, int attack_skill, bool avoidable, int buffslot);
|
||||
void Damage(Lua_Mob from, int64 damage, int spell_id, int attack_skill, bool avoidable, int buffslot, bool buff_tic);
|
||||
void RangedAttack(Lua_Mob other);
|
||||
void ThrowingAttack(Lua_Mob other);
|
||||
void Heal();
|
||||
void HealDamage(uint32 amount);
|
||||
void HealDamage(uint32 amount, Lua_Mob other);
|
||||
void HealDamage(uint64 amount);
|
||||
void HealDamage(uint64 amount, Lua_Mob other);
|
||||
uint32 GetLevelCon(int other);
|
||||
uint32 GetLevelCon(int my, int other);
|
||||
void SetHP(int hp);
|
||||
void SetHP(int64 hp);
|
||||
void DoAnim(int anim_num);
|
||||
void DoAnim(int anim_num, int type);
|
||||
void DoAnim(int anim_num, int type, bool ackreq);
|
||||
@@ -220,19 +220,19 @@ public:
|
||||
Lua_NPC GetHateRandomNPC();
|
||||
Lua_Mob GetHateClosest();
|
||||
void AddToHateList(Lua_Mob other);
|
||||
void AddToHateList(Lua_Mob other, int hate);
|
||||
void AddToHateList(Lua_Mob other, int hate, int damage);
|
||||
void AddToHateList(Lua_Mob other, int hate, int damage, bool yell_for_help);
|
||||
void AddToHateList(Lua_Mob other, int hate, int damage, bool yell_for_help, bool frenzy);
|
||||
void AddToHateList(Lua_Mob other, int hate, int damage, bool yell_for_help, bool frenzy, bool buff_tic);
|
||||
void AddToHateList(Lua_Mob other, int64 hate);
|
||||
void AddToHateList(Lua_Mob other, int64 hate, int64 damage);
|
||||
void AddToHateList(Lua_Mob other, int64 hate, int64 damage, bool yell_for_help);
|
||||
void AddToHateList(Lua_Mob other, int64 hate, int64 damage, bool yell_for_help, bool frenzy);
|
||||
void AddToHateList(Lua_Mob other, int64 hate, int64 damage, bool yell_for_help, bool frenzy, bool buff_tic);
|
||||
void SetHate(Lua_Mob other);
|
||||
void SetHate(Lua_Mob other, int hate);
|
||||
void SetHate(Lua_Mob other, int hate, int damage);
|
||||
void SetHate(Lua_Mob other, int64 hate);
|
||||
void SetHate(Lua_Mob other, int64 hate, int64 damage);
|
||||
void HalveAggro(Lua_Mob other);
|
||||
void DoubleAggro(Lua_Mob other);
|
||||
uint32 GetHateAmount(Lua_Mob target);
|
||||
uint32 GetHateAmount(Lua_Mob target, bool is_damage);
|
||||
uint32 GetDamageAmount(Lua_Mob target);
|
||||
uint64 GetHateAmount(Lua_Mob target);
|
||||
uint64 GetHateAmount(Lua_Mob target, bool is_damage);
|
||||
uint64 GetDamageAmount(Lua_Mob target);
|
||||
void WipeHateList();
|
||||
bool CheckAggro(Lua_Mob other);
|
||||
void Stun(int duration);
|
||||
@@ -442,7 +442,7 @@ public:
|
||||
int AttackAnimation(int Hand, Lua_ItemInst weapon);
|
||||
int GetWeaponDamage(Lua_Mob against, Lua_ItemInst weapon);
|
||||
bool IsBerserk();
|
||||
bool TryFinishingBlow(Lua_Mob defender, int &damage);
|
||||
bool TryFinishingBlow(Lua_Mob defender, int64 &damage);
|
||||
int GetBodyType();
|
||||
int GetOrigBodyType();
|
||||
void CheckNumHitsRemaining(int type, int32 buff_slot, uint16 spell_id);
|
||||
|
||||
Reference in New Issue
Block a user