From f47eb5218f6d6b7e93a02d67284c4b35ea47df9e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 26 Apr 2020 12:41:17 -0300 Subject: Force BaseLevel and Rebirth to affect negativelly the re-rolls --- npc/005-4/tolchi.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'npc/005-4/tolchi.txt') 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); -- cgit v1.2.3-60-g2f50