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:
parent
44bd129734
commit
bdee7bc671
357 changed files with 767 additions and 962 deletions
|
|
@ -3,7 +3,7 @@ namespace Server.Mobiles
|
|||
public class AncientLich : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public AncientLich() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public AncientLich() : base(AIType.AI_Mage)
|
||||
{
|
||||
Name = NameList.RandomName("ancient lich");
|
||||
Body = 78;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class ArcaneDaemon : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public ArcaneDaemon() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public ArcaneDaemon() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 0x310;
|
||||
BaseSoundID = 0x47D;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class Balron : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Balron() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Balron() : base(AIType.AI_Mage)
|
||||
{
|
||||
Name = NameList.RandomName("balron");
|
||||
Body = 40;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Mobiles
|
|||
private bool m_Stunning;
|
||||
|
||||
[Constructible]
|
||||
public Betrayer() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Betrayer() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 767;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class Bogle : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Bogle() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Bogle() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 153;
|
||||
BaseSoundID = 0x482;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Mobiles
|
|||
public class BoneMagi : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public BoneMagi() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public BoneMagi() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 148;
|
||||
BaseSoundID = 451;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Mobiles
|
|||
public class Daemon : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Daemon() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Daemon() : base(AIType.AI_Mage)
|
||||
{
|
||||
Name = NameList.RandomName("daemon");
|
||||
Body = 9;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace Server.Mobiles
|
|||
public class ElderGazer : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public ElderGazer() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public ElderGazer() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 22;
|
||||
BaseSoundID = 377;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Mobiles
|
|||
public partial class EvilMage : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public EvilMage() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public EvilMage() : base(AIType.AI_Mage)
|
||||
{
|
||||
Name = NameList.RandomName("evil mage");
|
||||
Title = "the evil mage";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Mobiles
|
|||
public partial class EvilMageLord : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public EvilMageLord() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public EvilMageLord() : base(AIType.AI_Mage)
|
||||
{
|
||||
Name = NameList.RandomName("evil mage lord");
|
||||
Body = Core.UOR ? Utility.Random(125, 2) : 0x190;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace Server.Mobiles
|
|||
public class FireGargoyle : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public FireGargoyle() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public FireGargoyle() : base(AIType.AI_Mage)
|
||||
{
|
||||
Name = NameList.RandomName("fire gargoyle");
|
||||
Body = 130;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class Gargoyle : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Gargoyle() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Gargoyle() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 4;
|
||||
BaseSoundID = 372;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class GargoyleDestroyer : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public GargoyleDestroyer() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public GargoyleDestroyer() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 0x2F3;
|
||||
BaseSoundID = 0x174;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class GargoyleEnforcer : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public GargoyleEnforcer() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public GargoyleEnforcer() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 0x2F2;
|
||||
BaseSoundID = 0x174;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class Gazer : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Gazer() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Gazer() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 22;
|
||||
BaseSoundID = 377;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class GolemController : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public GolemController() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public GolemController() : base(AIType.AI_Mage)
|
||||
{
|
||||
Name = NameList.RandomName("golem controller");
|
||||
Title = "the controller";
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace Server.Mobiles
|
|||
public class IceFiend : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public IceFiend() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public IceFiend() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 43;
|
||||
BaseSoundID = 357;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace Server.Mobiles
|
|||
public class Imp : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Imp() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Imp() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 74;
|
||||
BaseSoundID = 422;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class Lich : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Lich() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Lich() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 24;
|
||||
BaseSoundID = 0x3E9;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class LichLord : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public LichLord() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public LichLord() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 79;
|
||||
BaseSoundID = 412;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Mobiles
|
|||
public class OrcishMage : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public OrcishMage() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public OrcishMage() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 140;
|
||||
BaseSoundID = 0x45A;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class RatmanMage : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public RatmanMage() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public RatmanMage() : base(AIType.AI_Mage)
|
||||
{
|
||||
Name = NameList.RandomName("ratman");
|
||||
Body = 0x8F;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Mobiles
|
|||
public class SavageShaman : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public SavageShaman() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public SavageShaman() : base(AIType.AI_Mage)
|
||||
{
|
||||
Name = NameList.RandomName("savage shaman");
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace Server.Mobiles
|
|||
public class Shade : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Shade() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Shade() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 26;
|
||||
Hue = 0x4001;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class SkeletalMage : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public SkeletalMage() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public SkeletalMage() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 148;
|
||||
BaseSoundID = 451;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace Server.Mobiles
|
|||
public class Spectre : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Spectre() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Spectre() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 26;
|
||||
Hue = 0x4001;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace Server.Mobiles
|
|||
public class Succubus : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Succubus() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Succubus() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 149;
|
||||
BaseSoundID = 0x4B0;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Mobiles
|
|||
public class Titan : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Titan() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Titan() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 76;
|
||||
BaseSoundID = 609;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace Server.Mobiles
|
|||
public class Wraith : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Wraith() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public Wraith() : base(AIType.AI_Mage)
|
||||
{
|
||||
Body = 26;
|
||||
Hue = 0x4001;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue