diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-26 12:35:25 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-26 12:35:25 -0300 |
commit | b8a16d5b4742b857c50e4c4cde4e3821eb51e791 (patch) | |
tree | c1948aa7d86a2457e5b84d5279da38aa3e3dd99d | |
parent | 23bb1aa4258fb4f6c450461a260795977aa6fdfa (diff) | |
download | serverdata-b8a16d5b4742b857c50e4c4cde4e3821eb51e791.tar.gz serverdata-b8a16d5b4742b857c50e4c4cde4e3821eb51e791.tar.bz2 serverdata-b8a16d5b4742b857c50e4c4cde4e3821eb51e791.tar.xz serverdata-b8a16d5b4742b857c50e4c4cde4e3821eb51e791.zip |
Tolchi is not purging its options correctly, so comment this chunk of code
-rw-r--r-- | npc/005-4/tolchi.txt | 6 | ||||
-rw-r--r-- | npc/commands/kami.txt | 2 |
2 files changed, 5 insertions, 3 deletions
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: |