[Feature] Change GetSkillDmgAmt to int32 (#2364)

This commit is contained in:
Aeadoin 2022-08-09 21:24:15 -04:00 committed by GitHub
parent 8ee7759dec
commit 1d5a3a82a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5473,7 +5473,7 @@ int16 Mob::GetSkillReuseTime(uint16 skill)
return skill_reduction;
}
int16 Mob::GetSkillDmgAmt(uint16 skill)
int Mob::GetSkillDmgAmt(uint16 skill)
{
int skill_dmg = 0;

View File

@ -888,7 +888,7 @@ public:
int16 GetMeleeDmgPositionMod(Mob* defender);
int16 GetSkillReuseTime(uint16 skill);
int GetCriticalChanceBonus(uint16 skill);
int16 GetSkillDmgAmt(uint16 skill);
int GetSkillDmgAmt(uint16 skill);
int16 GetPositionalDmgAmt(Mob* defender);
inline bool CanBlockSpell() const { return(spellbonuses.FocusEffects[focusBlockNextSpell]); }
bool DoHPToManaCovert(int32 mana_cost = 0);