summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-29 03:02:59 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-29 03:02:59 -0300
commit44dd7133f4461871a9b6accbcaba31b74d38f2e6 (patch)
tree8bc5d0ff36ee93f48034e040d626f1d3b2537a9b /npc
parent14ce676c6654dbced91fc6008bbb8ac4f16d06c5 (diff)
downloadserverdata-44dd7133f4461871a9b6accbcaba31b74d38f2e6.tar.gz
serverdata-44dd7133f4461871a9b6accbcaba31b74d38f2e6.tar.bz2
serverdata-44dd7133f4461871a9b6accbcaba31b74d38f2e6.tar.xz
serverdata-44dd7133f4461871a9b6accbcaba31b74d38f2e6.zip
This whole stuff is behaving strangely
Diffstat (limited to 'npc')
-rw-r--r--npc/003-1/soul-menhir.txt6
-rw-r--r--npc/042-2/boss.txt2
-rw-r--r--npc/functions/soul_menhir.txt2
3 files changed, 5 insertions, 5 deletions
diff --git a/npc/003-1/soul-menhir.txt b/npc/003-1/soul-menhir.txt
index f4e792604..5430c6ed5 100644
--- a/npc/003-1/soul-menhir.txt
+++ b/npc/003-1/soul-menhir.txt
@@ -10,10 +10,10 @@
setarray @Ys, 49, 49, 49;
@x = 0;
@y = 0;
- callfunc "SoulMenhir";
+ SoulMenhir();
@map$ = "";
- cleararray @Xs[0], 0, getarraysize(@Xs);
- cleararray @Ys[0], 0, getarraysize(@Ys);
+ deletearray @Xs;
+ deletearray @Ys;
@x = 0;
@y = 0;
close;
diff --git a/npc/042-2/boss.txt b/npc/042-2/boss.txt
index 2beeeeaaa..9da2d925d 100644
--- a/npc/042-2/boss.txt
+++ b/npc/042-2/boss.txt
@@ -80,7 +80,7 @@ OnKillBoss:
.@ggp=300+$KAMELOT_MX[.@g]*5;
.@gxp=$KAMELOT_MX[.@g]*10;
$GUILD_BANK[.@g]+=.@ggp;
- guildgetexp(.@gxp); // 5xp per player average level (max 500/750)
+ guildgetexp(.@gxp); // 10xp per player average level (max 1000/1500)
// Announce
mapannounce getmap(), strcharinfo(0)+" has defeated Krukan!", 0;
// Guild Master Notification
diff --git a/npc/functions/soul_menhir.txt b/npc/functions/soul_menhir.txt
index 968eb83bf..299d6067c 100644
--- a/npc/functions/soul_menhir.txt
+++ b/npc/functions/soul_menhir.txt
@@ -111,7 +111,7 @@ L_Do_Save:
goto L_Return;
L_FindPoint:
- @n = rand(getarraysize(@Xs));
+ @n = rand2(getarraysize(@Xs));
@x = @Xs[@n];
@y = @Ys[@n];
goto L_Do_Save;