diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-26 12:40:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-26 12:40:26 -0300 |
commit | 319e6722e7e7bc0ed64d166469e6cb1aeb4cec3d (patch) | |
tree | d273f6006aff4a90141916de1270ebb2523a0f99 | |
parent | 3143e0cd86bac1f007ff1a88ec697a7985a50323 (diff) | |
download | serverdata-319e6722e7e7bc0ed64d166469e6cb1aeb4cec3d.tar.gz serverdata-319e6722e7e7bc0ed64d166469e6cb1aeb4cec3d.tar.bz2 serverdata-319e6722e7e7bc0ed64d166469e6cb1aeb4cec3d.tar.xz serverdata-319e6722e7e7bc0ed64d166469e6cb1aeb4cec3d.zip |
Leave the commented code operational
-rw-r--r-- | npc/005-4/tolchi.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt index a28500ba9..b4c11c74d 100644 --- a/npc/005-4/tolchi.txt +++ b/npc/005-4/tolchi.txt @@ -320,18 +320,15 @@ function tolchi_tweaks { if (rand2(1000) < 250-(.@lv*2)) { .@vartp=relative_array_random(@csys_attr); .@popindex=getarrayindex(.@vartp); - deletearray(.@popindex, 1); - deletearray(.@popindex, 1); .@bonus=csys_Multiplier(.@lv); setitemoptionbyindex(.@id, 1, .@vartp, .@bonus); } // Final re-roll: Easier for lower levels. Equip based. Nearly impossible. + deletearray(@csys_attr[.@popindex], 2); if (rand2(10000) < 250-(.@lv*2)) { .@vartp=relative_array_random(@csys_attr); .@popindex=getarrayindex(.@vartp); - deletearray(.@popindex, 1); - deletearray(.@popindex, 1); .@bonus=csys_Multiplier(.@lv); setitemoptionbyindex(.@id, 1, .@vartp, .@bonus); } |