[Messages] Fix multiple errors in spell damage at death. (#4264)

* [Messages] Fix multiple errors in spell damage at death.

* Change iBuffTic in new code to use snake_case
This commit is contained in:
Paul Coene
2024-04-27 22:49:00 -04:00
committed by GitHub
parent 37e21d7757
commit e268ab18f5
11 changed files with 44 additions and 18 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ public:
virtual ~Merc();
//abstract virtual function implementations requird by base abstract class
virtual bool Death(Mob* killer_mob, int64 damage, uint16 spell_id, EQ::skills::SkillType attack_skill, uint8 killed_by = 0);
virtual bool Death(Mob* killer_mob, int64 damage, uint16 spell_id, EQ::skills::SkillType attack_skill, uint8 killed_by = 0, bool is_buff_tic = false);
virtual void Damage(Mob* from, int64 damage, uint16 spell_id, EQ::skills::SkillType attack_skill, bool avoidable = true, int8 buffslot = -1, bool iBuffTic = false, eSpecialAttacks special = eSpecialAttacks::None);
virtual bool Attack(Mob* other, int Hand = EQ::invslot::slotPrimary, bool FromRiposte = false, bool IsStrikethrough = false,
bool IsFromSpell = false, ExtraAttackOptions *opts = nullptr);