From b8a16d5b4742b857c50e4c4cde4e3821eb51e791 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 26 Apr 2020 12:35:25 -0300 Subject: Tolchi is not purging its options correctly, so comment this chunk of code --- npc/005-4/tolchi.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'npc/005-4') diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt index 67215d20f..682214df8 100644 --- a/npc/005-4/tolchi.txt +++ b/npc/005-4/tolchi.txt @@ -309,13 +309,14 @@ function tolchi_tweaks { // Select a bonus and purge it .@vartp=relative_array_random(@csys_attr); .@popindex=getarrayindex(.@vartp); - deletearray(.@popindex, 1); - deletearray(.@popindex, 1); + //deletearray(.@popindex, 1); + //deletearray(.@popindex, 1); // Apply the bonus .@bonus=csys_Multiplier(.@lv); setitemoptionbyindex(.@id, 0, .@vartp, .@bonus); + /* // Re-roll: Easier for lower levels. Equip based. if (rand2(1000) < 250-(.@lv*2)) { .@vartp=relative_array_random(@csys_attr); @@ -335,6 +336,7 @@ function tolchi_tweaks { .@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-70-g09d2