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