summaryrefslogtreecommitdiff
path: root/npc/034-2
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/034-2
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/034-2')
-rw-r--r--npc/034-2/gemini.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/034-2/gemini.txt b/npc/034-2/gemini.txt
index c19cc5558..a6a09ac36 100644
--- a/npc/034-2/gemini.txt
+++ b/npc/034-2/gemini.txt
@@ -19,7 +19,8 @@ OnTouch:
OnTouch:
if (instance_id() < 0 || getcharid(1) < 1) end;
GeminiCheck(7);
- if ('STATUS < 8) {
+ .@p=getcharid(1);
+ if ($@VALIA_STATUS[.@p] < 8) {
dispbottom l("One of the bandits locked this door; We need to find the key!");
end;
}
@@ -69,8 +70,8 @@ OnTouch:
unitkill(.@b2);
areawarp(.@m$, 30, 92, 33, 95, .@m$, 57, 101, 66, 104);
// First ambush, set some stuff up
- if ('STATUS == 6) {
- 'STATUS=7;
+ if ($@VALIA_STATUS[.@p] == 6) {
+ $@VALIA_STATUS[.@p]=7;
.@mob=monster("val2@"+.@p, 57, 104, strmobinfo(1, CopperSlime), CopperSlime, 1, "Valia::OnKey1");
setunitdata(.@mob, UDT_LEVEL, 1);