fix: Fixes NPC slowness. (#955)

* Adds the following configurations:
  * `movement.delay.npcMinDelay` - 0.1 - Pets or Non-monster NPCs
  * `movement.delay.npcMaxDelay` - 0.4 - Pets or Non-monster NPCs
  * `movement.delay.monsterMinDelay` - 0.4 - Non-pet Monsters or NPC vs Player Combat
  * `movement.delay.monsterMaxDelay` - 0.8 - Non-pet Monsters or NPC vs Player Combat
  * `movement.delay.monsterMinDex` - 150 - Dex maximum for delay by dex
  * `movement.delay.MinDex` - 190 - Dex maximum for delay by dex
This commit is contained in:
Kamron Batman 2022-03-10 22:55:06 -08:00 • committed by GitHub
parent 44bd129734
commit bdee7bc671
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
357 changed files with 767 additions and 962 deletions

View file

@ -3,7 +3,7 @@ namespace Server.Mobiles
public class Cougar : BaseCreature
{
[Constructible]
public Cougar() : base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
public Cougar() : base(AIType.AI_Animal, FightMode.Aggressor)
{
Body = 63;
BaseSoundID = 0x73;

View file

@ -4,7 +4,7 @@ namespace Server.Mobiles
public class HellCat : BaseCreature
{
[Constructible]
public HellCat() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
public HellCat() : base(AIType.AI_Melee)
{
Body = 0xC9;
Hue = Utility.RandomList(0x647, 0x650, 0x659, 0x662, 0x66B, 0x674);

View file

@ -3,7 +3,7 @@ namespace Server.Mobiles
public class Panther : BaseCreature
{
[Constructible]
public Panther() : base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
public Panther() : base(AIType.AI_Animal, FightMode.Aggressor)
{
Body = 0xD6;
Hue = 0x901;

View file

@ -4,7 +4,7 @@ namespace Server.Mobiles
public class PredatorHellCat : BaseCreature
{
[Constructible]
public PredatorHellCat() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
public PredatorHellCat() : base(AIType.AI_Melee)
{
Body = 127;
BaseSoundID = 0xBA;

View file

@ -4,7 +4,7 @@ namespace Server.Mobiles
public class SnowLeopard : BaseCreature
{
[Constructible]
public SnowLeopard() : base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
public SnowLeopard() : base(AIType.AI_Animal, FightMode.Aggressor)
{
Body = Utility.RandomList(64, 65);
BaseSoundID = 0x73;