diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-26 12:41:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-26 12:41:17 -0300 |
commit | f47eb5218f6d6b7e93a02d67284c4b35ea47df9e (patch) | |
tree | b968fa9492a70f34add266b8cf719ed9bbe10876 /npc/005-4/tolchi.txt | |
parent | 319e6722e7e7bc0ed64d166469e6cb1aeb4cec3d (diff) | |
download | serverdata-f47eb5218f6d6b7e93a02d67284c4b35ea47df9e.tar.gz serverdata-f47eb5218f6d6b7e93a02d67284c4b35ea47df9e.tar.bz2 serverdata-f47eb5218f6d6b7e93a02d67284c4b35ea47df9e.tar.xz serverdata-f47eb5218f6d6b7e93a02d67284c4b35ea47df9e.zip |
Force BaseLevel and Rebirth to affect negativelly the re-rolls
Diffstat (limited to 'npc/005-4/tolchi.txt')
-rw-r--r-- | npc/005-4/tolchi.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt index b4c11c74d..ed461cbd4 100644 --- a/npc/005-4/tolchi.txt +++ b/npc/005-4/tolchi.txt @@ -314,10 +314,9 @@ function tolchi_tweaks { .@bonus=csys_Multiplier(.@lv); setitemoptionbyindex(.@id, 0, .@vartp, .@bonus); - /* // Re-roll: Easier for lower levels. Equip based. deletearray(@csys_attr[.@popindex], 2); - if (rand2(1000) < 250-(.@lv*2)) { + if (rand2(1000) < 250-((.@lv+BaseLevel*REBIRTH)*2)) { .@vartp=relative_array_random(@csys_attr); .@popindex=getarrayindex(.@vartp); .@bonus=csys_Multiplier(.@lv); @@ -326,13 +325,12 @@ function tolchi_tweaks { // Final re-roll: Easier for lower levels. Equip based. Nearly impossible. deletearray(@csys_attr[.@popindex], 2); - if (rand2(10000) < 250-(.@lv*2)) { + if (rand2(10000) < 250-((.@lv+BaseLevel*REBIRTH)*2)) { .@vartp=relative_array_random(@csys_attr); .@popindex=getarrayindex(.@vartp); .@bonus=csys_Multiplier(.@lv); setitemoptionbyindex(.@id, 1, .@vartp, .@bonus); } - */ mesn; mesc l("Well, here you are. I hope you enjoy ^^", 3); |