summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/005-4/tolchi.txt5
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);
}