Update to focus SE_BlockNextSpell (#1479)

Minor code changes to make the focus be checked consistent with how all other focuses are checked. No change in functionality.
This commit is contained in:
KayenEQ
2021-08-01 14:19:42 -04:00
committed by GitHub
parent 38beb804a3
commit 93b0264a8b
4 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -823,7 +823,7 @@ public:
int GetCriticalChanceBonus(uint16 skill);
int16 GetSkillDmgAmt(uint16 skill);
bool TryReflectSpell(uint32 spell_id);
bool CanBlockSpell() const { return(spellbonuses.BlockNextSpell); }
inline bool CanBlockSpell() const { return(spellbonuses.FocusEffects[focusBlockNextSpell]); }
bool DoHPToManaCovert(uint16 mana_cost = 0);
int32 ApplySpellEffectiveness(int16 spell_id, int32 value, bool IsBard = false, uint16 caster_id=0);
int8 GetDecayEffectValue(uint16 spell_id, uint16 spelleffect);