From f70078d62aeeedbf2b98a3a66b5fae5c2f9be5e8 Mon Sep 17 00:00:00 2001 From: Fryguy Date: Sun, 26 May 2024 00:02:30 -0400 Subject: [PATCH] [Hotfix] Missed a mob offense section for PR #4328 (#4331) --- zone/attack.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zone/attack.cpp b/zone/attack.cpp index 454493623..d98e465ae 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -963,6 +963,10 @@ int Mob::GetBestMeleeSkill() int Mob::offense(EQ::skills::SkillType skill) { int offense = GetSkill(skill); + if (RuleB(Combat, UseMobStaticOffenseSkill) && IsNPC() && !IsPet() && !IsTempPet()) { + offense = GetMobFixedWeaponSkill(); + } + int stat_bonus = GetSTR(); switch (skill) {