From a48805eec28796e4febb2f9588f483ce11d774b8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 13 Oct 2020 10:50:15 -0300 Subject: Consider item level on the malus formula as well --- npc/005-4/tolchi.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt index bab1f0d88..0972aea07 100644 --- a/npc/005-4/tolchi.txt +++ b/npc/005-4/tolchi.txt @@ -343,7 +343,8 @@ function tolchi_tweaks { #FIRST_TIME=true; } - if (BaseLevel*(REBIRTH+1) > 25) + .@mylevel=BaseLevel*(REBIRTH+1) + max(1, .@lv); + if (.@mylevel > 30) setitemoptionbyindex(.@id, 3, IOPT_WALKSPEED, rand2(-10, -5)); mesn; mesc l("Well, here you are. I hope you enjoy ^^", 3); -- cgit v1.2.3-60-g2f50