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/Plugins/APIDump/APIDesc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Server/Plugins/APIDump') diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 54a8d4e4f..8e5e92dd1 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -9240,7 +9240,7 @@ a_Player:OpenWindow(Window); Type = "number", }, }, - Notes = "Returns the relative walk speed of this mob. Standard is 1.0", + Notes = "Returns the walk speed multiplier of this mob. Base is set in monsters.ini (will default to 1 if not set).", }, HasCustomName = { @@ -9404,7 +9404,7 @@ a_Player:OpenWindow(Window); Type = "number", }, }, - Notes = "Sets the relative walk speed of this mob. The default relative speed is 1.0.", + Notes = "Sets the walk speed multiplier of this mob. Base is set in monsters.ini (will default to 1 if not set).", }, StringToMobType = { -- cgit v1.2.3