[INT64] Further int64 cleanup in Perl SetHP() and GetSpellHPBonuses() in Perl/Lua. (#2222)

This commit is contained in:
Kinglykrab
2022-05-29 17:36:32 -04:00
committed by GitHub
parent d493a6627b
commit 11369247b1
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -608,7 +608,7 @@ public:
virtual int64 GetMaxEndurance() const { return 0; }
virtual void SetEndurance(int32 newEnd) { return; }
int64 GetItemHPBonuses();
int32 GetSpellHPBonuses();
int64 GetSpellHPBonuses();
virtual const int64& SetMana(int64 amount);
inline float GetManaRatio() const { return max_mana == 0 ? 100 :
((static_cast<float>(current_mana) / max_mana) * 100); }