From 5e258c6d95a22664e1f9bfa8e778e007e69b4ef2 Mon Sep 17 00:00:00 2001 From: Angus Date: Sun, 10 Nov 2024 03:28:39 -0800 Subject: Move monster speed to monsters.ini (#4500) * Add walking and running speed to monsters.ini * Add entry to CONTRIBUTORS * Add SetRelativeRunSpeed to APIDesc.lua * Fix typo * Remove unnecessary cast Co-Authored-By: peterbell10 * Use relative walk speed as a modifier to base walk and run speeds * Rename Default to Base in Walk/Run Speeds * Update docs. --------- Co-authored-by: peterbell10 Co-authored-by: Alexander Harkness --- Server/monsters.ini | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Server/monsters.ini') diff --git a/Server/monsters.ini b/Server/monsters.ini index 3d6028ed8..fb42fedb0 100644 --- a/Server/monsters.ini +++ b/Server/monsters.ini @@ -175,6 +175,8 @@ AttackRange=1.0 AttackRate=1.0 MaxHealth=16 SightDistance=25.0 +WalkSpeed=1.0 +RunSpeed=1.3 [Squid] AttackDamage=0.0 @@ -211,6 +213,7 @@ AttackRange=1.0 AttackRate=1.0 MaxHealth=20 SightDistance=25.0 +WalkSpeed=2.0 [Zombie] AttackDamage=4.0 -- cgit v1.2.3