fix: Fixes rangePerception to 16 to match OSI (#2084)

This commit is contained in:
Bohica 2025-01-23 21:27:18 -08:00 • committed by GitHub
parent ccc9618c91
commit 8e48177cd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View file

@ -15,7 +15,7 @@ public abstract partial class BaseMount : BaseCreature, IMount
int itemID, int itemID,
AIType aiType, AIType aiType,
FightMode fightMode = FightMode.Closest, FightMode fightMode = FightMode.Closest,
int rangePerception = 10, int rangePerception = DefaultRangePerception,
int rangeFight = 1 int rangeFight = 1
) : base(aiType, fightMode, rangePerception, rangeFight) ) : base(aiType, fightMode, rangePerception, rangeFight)
{ {

View file

@ -8,8 +8,12 @@ namespace Server.Mobiles
public override string DefaultName => "a war horse"; public override string DefaultName => "a war horse";
public BaseWarHorse( public BaseWarHorse(
int bodyID, int itemID, AIType aiType = AIType.AI_Melee, FightMode fightMode = FightMode.Aggressor, int bodyID,
int rangePerception = 10, int rangeFight = 1 int itemID,
AIType aiType = AIType.AI_Melee,
FightMode fightMode = FightMode.Aggressor,
int rangePerception = DefaultRangePerception,
int rangeFight = 1
) : base( ) : base(
bodyID, bodyID,
itemID, itemID,