summaryrefslogtreecommitdiff
path: root/npc/battleground/tierra/tierra02.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-20 04:20:29 +0200
committerHaru <haru@dotalux.com>2014-10-28 00:27:54 +0100
commit32169c383f2658192b6b8cb02d7f818a361dda03 (patch)
treeff1f1d902920d922b74eb879070e8c9973daa0dd /npc/battleground/tierra/tierra02.txt
parent3e395756f10befe9aa0707169d8af7897706eb93 (diff)
downloadhercules-32169c383f2658192b6b8cb02d7f818a361dda03.tar.gz
hercules-32169c383f2658192b6b8cb02d7f818a361dda03.tar.bz2
hercules-32169c383f2658192b6b8cb02d7f818a361dda03.tar.xz
hercules-32169c383f2658192b6b8cb02d7f818a361dda03.zip
Removed use of 'checkquest' from scripts (common folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/battleground/tierra/tierra02.txt')
-rw-r--r--npc/battleground/tierra/tierra02.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/npc/battleground/tierra/tierra02.txt b/npc/battleground/tierra/tierra02.txt
index 0e7cc773d..129d0ee3e 100644
--- a/npc/battleground/tierra/tierra02.txt
+++ b/npc/battleground/tierra/tierra02.txt
@@ -72,7 +72,7 @@ bat_a02,352,342,0 script #bat_a02_quest_a -1,5,5,{
end;
OnTouch:
- if (checkquest(2069) < 0)
+ if (!questprogress(2069))
setquest 2069;
end;
}
@@ -81,7 +81,7 @@ bat_a02,353,52,0 script #bat_a02_quest_b -1,5,5,{
end;
OnTouch:
- if (checkquest(2069) < 0)
+ if (!questprogress(2069))
setquest 2069;
end;
}
@@ -633,16 +633,14 @@ OnTouch:
bat_a02,352,342,0 script A_CODE#bat_a02 -1,5,5,{
OnTouch:
- set .@chk_bfquest,checkquest(2069);
- if ((.@chk_bfquest == 0) || (.@chk_bfquest == 1))
+ if (questprogress(2069) == 1)
setquest 2069;
end;
}
bat_a02,353,52,0 script B_CODE#bat_a02 -1,5,5,{
OnTouch:
- set .@chk_bfquest,checkquest(2069);
- if ((.@chk_bfquest == 0) || (.@chk_bfquest == 1))
+ if (questprogress(2069) == 1)
setquest 2069;
end;
}