summaryrefslogtreecommitdiff
path: root/npc/005-4
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-4')
-rw-r--r--npc/005-4/tolchi.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt
index b4c11c74d..ed461cbd4 100644
--- a/npc/005-4/tolchi.txt
+++ b/npc/005-4/tolchi.txt
@@ -314,10 +314,9 @@ function tolchi_tweaks {
.@bonus=csys_Multiplier(.@lv);
setitemoptionbyindex(.@id, 0, .@vartp, .@bonus);
- /*
// Re-roll: Easier for lower levels. Equip based.
deletearray(@csys_attr[.@popindex], 2);
- if (rand2(1000) < 250-(.@lv*2)) {
+ if (rand2(1000) < 250-((.@lv+BaseLevel*REBIRTH)*2)) {
.@vartp=relative_array_random(@csys_attr);
.@popindex=getarrayindex(.@vartp);
.@bonus=csys_Multiplier(.@lv);
@@ -326,13 +325,12 @@ function tolchi_tweaks {
// Final re-roll: Easier for lower levels. Equip based. Nearly impossible.
deletearray(@csys_attr[.@popindex], 2);
- if (rand2(10000) < 250-(.@lv*2)) {
+ if (rand2(10000) < 250-((.@lv+BaseLevel*REBIRTH)*2)) {
.@vartp=relative_array_random(@csys_attr);
.@popindex=getarrayindex(.@vartp);
.@bonus=csys_Multiplier(.@lv);
setitemoptionbyindex(.@id, 1, .@vartp, .@bonus);
}
- */
mesn;
mesc l("Well, here you are. I hope you enjoy ^^", 3);