[Rules] Add rule to configure max number of procs per round Combat:MaxProcs (#3640)

This commit is contained in:
Chris Miles
2023-10-20 13:57:50 -05:00
committed by GitHub
parent 605480f1c4
commit adc64005f1
5 changed files with 24 additions and 16 deletions
+4 -1
View File
@@ -1459,6 +1459,9 @@ protected:
Timer m_z_clip_check_timer;
// dynamically set via memory on constructor
int8 m_max_procs = 0;
virtual bool AI_EngagedCastCheck() { return(false); }
virtual bool AI_PursueCastCheck() { return(false); }
virtual bool AI_IdleCastCheck() { return(false); }
@@ -1600,7 +1603,7 @@ protected:
int16 GetSympatheticSpellProcRate(uint16 spell_id);
uint16 GetSympatheticSpellProcID(uint16 spell_id);
enum {MAX_PROCS = 4};
enum {MAX_PROCS = 10};
tProc PermaProcs[MAX_PROCS];
tProc SpellProcs[MAX_PROCS];
tProc DefensiveProcs[MAX_PROCS];