mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
The base runspeeds for mobs were about 80% high. This scales them to values appropriate for new speed calculations. The RescaleRunspeeds regroups speeds into common seen speed bins. Higher speeds it lowers them by 20%. This should only be run once against a db. The Set specific speeds is tailored to specific mob run speeds, based on data taken from eqlive.
7 lines
746 B
SQL
7 lines
746 B
SQL
/* This rescales the old peq runspeeds which were about 80 percent too high to new values */
|
|
/* This section should only ever be run once */
|
|
UPDATE npc_types SET npc_types.runspeed = 1.050 WHERE (npc_types.runspeed > 0 and npc_types.runspeed < 1.2);
|
|
UPDATE npc_types SET npc_types.runspeed = 1.325 WHERE (npc_types.runspeed > 1.19 and npc_types.runspeed < 1.75 and race != 73 and race != 72);
|
|
UPDATE npc_types SET npc_types.runspeed = 1.575 WHERE (npc_types.runspeed > 1.69 and npc_types.runspeed < 2.2);
|
|
UPDATE npc_types SET npc_types.runspeed = 1.850 WHERE (npc_types.runspeed > 2.19 and npc_types.runspeed < 3);
|
|
UPDATE npc_types SET npc_types.runspeed = (npc_types.runspeed * 0.8) WHERE (npc_types.runspeed > 2.99 and npc_types.runspeed < 20); |