[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 authored and GitHub committed 2021-08-01 19:23:59 -05:00
1 parent e71b11fcba
commit 0e7cfe96ef
2 files changed
+52 -121

No files matched your search

+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();