[Rules] Add option rule to load AA based on CurrentExpansion rule (#1758)

* Add option rule to load AA based on CurrentExpansion rule

* Default UseCurrentExpansionAAOnly to true

* Only clear the PlayerAA when reloadingAA
This commit is contained in:
Natedog2012
2021-11-14 19:54:45 -06:00
committed by GitHub
parent 76b0183a0f
commit 6400e2f8bc
4 changed files with 25 additions and 4 deletions
+2
View File
@@ -897,6 +897,8 @@ public:
void ResetAA();
void RefundAA();
void SendClearAA();
void SendClearLeadershipAA();
void SendClearPlayerAA();
inline uint32 GetAAXP() const { return m_pp.expAA; }
inline uint32 GetAAPercent() const { return m_epp.perAA; }
int32 CalcAAFocus(focusType type, const AA::Rank &rank, uint16 spell_id);