summaryrefslogtreecommitdiff
path: root/npc/014-2-2/valia.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-04-28 16:21:45 -0300
committerJesusaves <cpntb1@ymail.com>2022-04-28 16:21:45 -0300
commit529456b33aafda550cb97ffb13c10e5fc81a54c0 (patch)
treeffb112b1cae5ffa5610bb3a7fb0eb47b37d48225 /npc/014-2-2/valia.txt
parentd451a097f3ddc03c2552a8962fe86316440884ec (diff)
downloadserverdata-529456b33aafda550cb97ffb13c10e5fc81a54c0.tar.gz
serverdata-529456b33aafda550cb97ffb13c10e5fc81a54c0.tar.bz2
serverdata-529456b33aafda550cb97ffb13c10e5fc81a54c0.tar.xz
serverdata-529456b33aafda550cb97ffb13c10e5fc81a54c0.zip
Minimum testing so it barely works
Diffstat (limited to 'npc/014-2-2/valia.txt')
-rw-r--r--npc/014-2-2/valia.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/014-2-2/valia.txt b/npc/014-2-2/valia.txt
index 5d02af384..622240dad 100644
--- a/npc/014-2-2/valia.txt
+++ b/npc/014-2-2/valia.txt
@@ -24,15 +24,18 @@ function script GeminiCheck {
// You killed a mob
function script GeminiKill {
if (!compare(getmap(), "val")) end;
- switch ('STATUS) {
+ .@p=getcharid(1);
+ debugmes "Gemini Kill! ID: %d", killedrid;
+ switch ($@VALIA_STATUS[.@p]) {
case 1: // Quest initiated
break;
case 2: // Looking for a runestone
if (killedrid == GreenSlime) {
+ debugmes "It was a Green Slime!";
if (!rand2(40)) {
getexp 8132, 657;
dispbottom l("You found the Runestone! You gave it to the party leader.");
- 'STATUS = 3;
+ $@VALIA_STATUS[.@p] = 3;
}
}
break;
@@ -257,7 +260,7 @@ OnKey3:
OnLord:
.@p = getcharid(1);
if (mobcount("val2@"+.@p, "Valia::OnLord")) {
- 'STATUS = 8;
+ $@VALIA_STATUS[.@p] = 8;
Zeny+=15000;
dispbottom l("This lord dropped a key and a stash of gold!");
}