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
|
|
@ -10,7 +10,7 @@ namespace Server.Factions
|
|||
|
||||
[Constructible]
|
||||
public FactionWarHorse(Faction faction = null)
|
||||
: base("a war horse", 0xE2, 0x3EA0, AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
|
||||
: base("a war horse", 0xE2, 0x3EA0, AIType.AI_Melee, FightMode.Aggressor, 10, 1)
|
||||
{
|
||||
BaseSoundID = 0xA8;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ namespace Server.Factions
|
|||
private DateTime m_OrdersEnd;
|
||||
private Town m_Town;
|
||||
|
||||
public BaseFactionGuard(string title) : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
public BaseFactionGuard(string title) : base(AIType.AI_Melee)
|
||||
{
|
||||
Orders = new Orders(this);
|
||||
Title = title;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue