[Spells] Fix for AA and Discipline recast timers being set on spell casting failure. (#1971)

* recast timer updates

* reworked

* removed unneeded param

* fix expendible AA

* fixed

* Update spells.cpp

* [Spells] Fix for AA and Discipline recast timers being set on spell casting failure.

don't check recasts from triggered spells.
This commit is contained in:
KayenEQ authored and GitHub committed 2022-02-08 07:35:47 -05:00
1 parent a208801d1f
commit 8a48473dbc
5 files changed
+130 -99

No files matched your search

+2
View File
@@ -1495,6 +1495,8 @@ public:
void SendItemRecastTimer(int32 recast_type, uint32 recast_delay = 0);
void SetItemRecastTimer(int32 spell_id, uint32 inventory_slot);
bool HasItemRecastTimer(int32 spell_id, uint32 inventory_slot);
void SetDisciplineRecastTimer(int32 spell_id);
void SetAARecastTimer(AA::Rank *rank_in, int32 spell_id);
inline bool AggroMeterAvailable() const { return ((m_ClientVersionBit & EQ::versions::maskRoF2AndLater)) && RuleB(Character, EnableAggroMeter); } // RoF untested
inline void SetAggroMeterLock(int in) { m_aggrometer.set_lock_id(in); }