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 ++++-- npc/commands/kami.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'npc') 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); diff --git a/npc/commands/kami.txt b/npc/commands/kami.txt index d1b8518f1..7ac50c7bc 100644 --- a/npc/commands/kami.txt +++ b/npc/commands/kami.txt @@ -73,7 +73,7 @@ OnSkry: OnJustDoIt: //dispbottom l("STR: %d AGI %d VIT %d", readparam2(bStr), readparam2(bAgi), readparam2(bVit)); - unitskilluseid(getcharid(3), 20000, 4, getcharid(3)); + unitskilluseid(getcharid(3), 10010, 1, getcharid(3)); end; OnInit: -- cgit v1.2.3-70-g09d2