[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 authored and GitHub committed 2021-11-14 19:54:45 -06:00
1 parent 76b0183a0f
commit 6400e2f8bc
4 files changed
+25 -4

No files matched your search

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