From 6cc845e05e865ca7f911b72d13b3c77cf1c44de2 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" <277429+mackal@users.noreply.github.com> Date: Sun, 8 May 2022 18:18:24 -0400 Subject: [PATCH] Fix out of bounds issues with SPA 288 (#2157) --- zone/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/common.h b/zone/common.h index 00fc99a47..11be83008 100644 --- a/zone/common.h +++ b/zone/common.h @@ -576,7 +576,7 @@ struct StatBonuses { int8 BaseMovementSpeed; // Adjust base run speed, does not stack with other movement bonuses. uint8 IncreaseRunSpeedCap; // Increase max run speed above cap. int32 DoubleSpecialAttack; // Chance to to perform a double special attack (ie flying kick 2x) - int32 SkillAttackProc[3]; // [0] chance to proc [2] spell on [1] skill usage + int32 SkillAttackProc[MAX_CAST_ON_SKILL_USE]; // [0] chance to proc [2] spell on [1] skill usage bool HasSkillAttackProc[EQ::skills::HIGHEST_SKILL + 1]; //check if any skill proc is present before assessing for all skill procs uint8 FrontalStunResist; // Chance to resist a frontal stun int32 BindWound; // Increase amount of HP by percent.