summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-26 12:35:25 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-26 12:35:25 -0300
commitb8a16d5b4742b857c50e4c4cde4e3821eb51e791 (patch)
treec1948aa7d86a2457e5b84d5279da38aa3e3dd99d
parent23bb1aa4258fb4f6c450461a260795977aa6fdfa (diff)
downloadserverdata-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.txt6
-rw-r--r--npc/commands/kami.txt2
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: