From 8e48177cd4e7d8979eb57128b7755ef914e6a3a6 Mon Sep 17 00:00:00 2001 From: Bohica <53943479+Bohicatv@users.noreply.github.com> Date: Thu, 23 Jan 2025 21:27:18 -0800 Subject: [PATCH] fix: Fixes rangePerception to 16 to match OSI (#2084) --- Projects/UOContent/Mobiles/Animals/Mounts/BaseMount.cs | 2 +- .../Mobiles/Animals/Mounts/War Horses/BaseWarHorse.cs | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Projects/UOContent/Mobiles/Animals/Mounts/BaseMount.cs b/Projects/UOContent/Mobiles/Animals/Mounts/BaseMount.cs index 7b6389854..956f13034 100644 --- a/Projects/UOContent/Mobiles/Animals/Mounts/BaseMount.cs +++ b/Projects/UOContent/Mobiles/Animals/Mounts/BaseMount.cs @@ -15,7 +15,7 @@ public abstract partial class BaseMount : BaseCreature, IMount int itemID, AIType aiType, FightMode fightMode = FightMode.Closest, - int rangePerception = 10, + int rangePerception = DefaultRangePerception, int rangeFight = 1 ) : base(aiType, fightMode, rangePerception, rangeFight) { diff --git a/Projects/UOContent/Mobiles/Animals/Mounts/War Horses/BaseWarHorse.cs b/Projects/UOContent/Mobiles/Animals/Mounts/War Horses/BaseWarHorse.cs index 8a439a98c..4d0751456 100644 --- a/Projects/UOContent/Mobiles/Animals/Mounts/War Horses/BaseWarHorse.cs +++ b/Projects/UOContent/Mobiles/Animals/Mounts/War Horses/BaseWarHorse.cs @@ -8,8 +8,12 @@ namespace Server.Mobiles public override string DefaultName => "a war horse"; public BaseWarHorse( - int bodyID, int itemID, AIType aiType = AIType.AI_Melee, FightMode fightMode = FightMode.Aggressor, - int rangePerception = 10, int rangeFight = 1 + int bodyID, + int itemID, + AIType aiType = AIType.AI_Melee, + FightMode fightMode = FightMode.Aggressor, + int rangePerception = DefaultRangePerception, + int rangeFight = 1 ) : base( bodyID, itemID,