fix: Removes scale speed by dex for monsters, fixes NPC movement/thinking speed (#1019)
* Removes scaled speed by dex for monsters * Changes scaled speed by dex for pets (HS+ expansion) to be 400ms -> 100ms between 50 -> 200 dex * Removes speed changes that were broken for various mobs * Combines "Legacy" speed and renames the class to `NPCSpeeds` * Creates speed "classes" (slow, medium, fast, very fast) * Introduces a new overridable property `SpeedClass`. Register a new speed class using `NPCSpeeds.Register()` and then set the speed class to bulk/mass apply speeds. Order of speed determination: 1. SpeedMod 2. SpeedClass property (not null) 3. SpeedClass entry in Data\npc-speeds.json for that type 4. "Fast" (200ms Active, 400ms Passive)
This commit is contained in:
parent
6ec84b3c01
commit
eee8494558
74 changed files with 477 additions and 472 deletions
|
|
@ -130,7 +130,6 @@ namespace Server.Mobiles
|
|||
|
||||
public Clone(Mobile caster) : base(AIType.AI_Melee, FightMode.None)
|
||||
{
|
||||
SetSpeed(0.3, 1.0);
|
||||
m_Caster = caster;
|
||||
|
||||
Body = caster.Body;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ namespace Server.Mobiles
|
|||
Body = 128;
|
||||
BaseSoundID = 0x467;
|
||||
|
||||
SetSpeed(0.3, 1.0);
|
||||
SetStr(20);
|
||||
SetDex(150);
|
||||
SetInt(125);
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ namespace Server.Mobiles
|
|||
Body = 74;
|
||||
BaseSoundID = 422;
|
||||
|
||||
SetSpeed(0.3, 1.0);
|
||||
SetStr(55);
|
||||
SetDex(40);
|
||||
SetInt(60);
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ namespace Server.Mobiles
|
|||
Body = 0x33;
|
||||
Hue = 0x4001;
|
||||
|
||||
SetSpeed(0.3, 1.0);
|
||||
SetStr(150);
|
||||
SetDex(150);
|
||||
SetInt(100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue