[Spells] Implemented SPA 511 SE_Ff_FocusTimerMin (#1645)

* update for SPA 511

* remove debugs, AA implemented

* update

* format update

* rename function

renamed function
only check for buffs value > 0, don't need to check for AA's which are negative ID's

* var rename

update var name to better represent its function.
This commit is contained in:
KayenEQ
2021-10-26 21:36:10 -04:00
committed by GitHub
parent ef5124d756
commit fb66afd565
10 changed files with 99 additions and 117 deletions
+5 -1
View File
@@ -103,7 +103,6 @@ Mob::Mob(
ranged_timer(2000),
tic_timer(6000),
mana_timer(2000),
focus_proc_limit_timer(250),
spellend_timer(0),
rewind_timer(30000),
bindwound_timer(10000),
@@ -350,6 +349,11 @@ Mob::Mob(
ProjectileAtk[i].speed_mod = 0.0f;
}
for (int i = 0; i < MAX_FOCUS_PROC_LIMIT_TIMERS; i++) {
focusproclimit_spellid[i] = 0;
focusproclimit_timer[i].Disable();
}
memset(&itembonuses, 0, sizeof(StatBonuses));
memset(&spellbonuses, 0, sizeof(StatBonuses));
memset(&aabonuses, 0, sizeof(StatBonuses));