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 AncientWyrm : BaseCreature
{
[Constructible]
public AncientWyrm() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public AncientWyrm() : base(AIType.AI_Mage)
{
Body = 46;
BaseSoundID = 362;

View file

@ -5,7 +5,7 @@ namespace Server.Mobiles
public class DeepSeaSerpent : BaseCreature
{
[Constructible]
public DeepSeaSerpent() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public DeepSeaSerpent() : base(AIType.AI_Mage)
{
Body = 150;
BaseSoundID = 447;

View file

@ -3,7 +3,7 @@ namespace Server.Mobiles
public class Dragon : BaseCreature
{
[Constructible]
public Dragon() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public Dragon() : base(AIType.AI_Mage)
{
Body = Utility.RandomList(12, 59);
BaseSoundID = 362;

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
public class Leviathan : BaseCreature
{
[Constructible]
public Leviathan(Mobile fisher = null) : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public Leviathan(Mobile fisher = null) : base(AIType.AI_Mage)
{
Fisher = fisher;

View file

@ -10,7 +10,7 @@ namespace Server.Mobiles
};
[Constructible]
public OphidianArchmage() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public OphidianArchmage() : base(AIType.AI_Mage)
{
Name = m_Names.RandomElement();
Body = 85;

View file

@ -10,7 +10,7 @@ namespace Server.Mobiles
};
[Constructible]
public OphidianMage() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public OphidianMage() : base(AIType.AI_Mage)
{
Name = m_Names.RandomElement();
Body = 85;

View file

@ -3,7 +3,7 @@ namespace Server.Mobiles
public class OphidianMatriarch : BaseCreature
{
[Constructible]
public OphidianMatriarch() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public OphidianMatriarch() : base(AIType.AI_Mage)
{
Body = 87;
BaseSoundID = 644;

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
public class SeaSerpent : BaseCreature
{
[Constructible]
public SeaSerpent() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public SeaSerpent() : base(AIType.AI_Mage)
{
Body = 150;
BaseSoundID = 447;

View file

@ -5,7 +5,7 @@ namespace Server.Mobiles
public class SerpentineDragon : BaseCreature
{
[Constructible]
public SerpentineDragon() : base(AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4)
public SerpentineDragon() : base(AIType.AI_Mage, FightMode.Evil)
{
Body = 103;
BaseSoundID = 362;

View file

@ -3,7 +3,7 @@ namespace Server.Mobiles
public class ShadowWyrm : BaseCreature
{
[Constructible]
public ShadowWyrm() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public ShadowWyrm() : base(AIType.AI_Mage)
{
Body = 106;
BaseSoundID = 362;

View file

@ -3,7 +3,7 @@ namespace Server.Mobiles
public class SkeletalDragon : BaseCreature
{
[Constructible]
public SkeletalDragon() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public SkeletalDragon() : base(AIType.AI_Mage)
{
Body = 104;
BaseSoundID = 0x488;

View file

@ -3,7 +3,7 @@ namespace Server.Mobiles
public class WhiteWyrm : BaseCreature
{
[Constructible]
public WhiteWyrm() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
public WhiteWyrm() : base(AIType.AI_Mage)
{
Body = Utility.RandomBool() ? 180 : 49;
BaseSoundID = 362;