diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-10-13 10:50:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-10-13 10:50:15 -0300 |
commit | a48805eec28796e4febb2f9588f483ce11d774b8 (patch) | |
tree | 9f5a12b918a6d36a1ba2230aace66c705b1fec05 | |
parent | 678a8e27f01e55d5dafd511a9e6e85523b13b903 (diff) | |
download | serverdata-a48805eec28796e4febb2f9588f483ce11d774b8.tar.gz serverdata-a48805eec28796e4febb2f9588f483ce11d774b8.tar.bz2 serverdata-a48805eec28796e4febb2f9588f483ce11d774b8.tar.xz serverdata-a48805eec28796e4febb2f9588f483ce11d774b8.zip |
Consider item level on the malus formula as well
-rw-r--r-- | npc/005-4/tolchi.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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); |