[Spells] Update to SPA 130 and SPA 131 focus calculation, focus code improvements (#1486)

[Spells] Update to SPA 130 and SPA 131 focus calculation, focus code improvements
#use instead of PR 1483
This commit is contained in:
KayenEQ
2021-08-01 20:23:59 -04:00
committed by GitHub
parent e71b11fcba
commit 0e7cfe96ef
2 changed files with 52 additions and 121 deletions
+2
View File
@@ -837,6 +837,8 @@ public:
inline void SetSpellPowerDistanceMod(int16 value) { SpellPowerDistanceMod = value; };
int32 GetSpellStat(uint32 spell_id, const char *identifier, uint8 slot = 0);
bool HarmonySpellLevelCheck(int32 spell_id, Mob* target = nullptr);
bool CanFocusUseRandomEffectivenessByType(focusType type);
int GetFocusRandomEffectivenessValue(int focus_base, int focus_base2, bool best_focus = 0);
void CastSpellOnLand(Mob* caster, int32 spell_id);
void FocusProcLimitProcess();