summaryrefslogtreecommitdiff
path: root/doc/sample
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-12-02 11:04:01 +0100
committerHaru <haru@dotalux.com>2014-12-02 11:04:01 +0100
commit274aaebe2bad43a8196e3ff39ede344da8ce4d64 (patch)
treea373b85af062d8a83c5e195574755d21cd271e01 /doc/sample
parent14700f7e00e5593279599907f6cdf11fde1b67cd (diff)
downloadhercules-274aaebe2bad43a8196e3ff39ede344da8ce4d64.tar.gz
hercules-274aaebe2bad43a8196e3ff39ede344da8ce4d64.tar.bz2
hercules-274aaebe2bad43a8196e3ff39ede344da8ce4d64.tar.xz
hercules-274aaebe2bad43a8196e3ff39ede344da8ce4d64.zip
Removed checkquest command
- Follow-up to 3ad4a9d Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc/sample')
-rw-r--r--doc/sample/npc_test_quest.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/sample/npc_test_quest.txt b/doc/sample/npc_test_quest.txt
index fcf6b2a80..90659aa10 100644
--- a/doc/sample/npc_test_quest.txt
+++ b/doc/sample/npc_test_quest.txt
@@ -13,7 +13,7 @@
// 70000,0,1002,3,0,0,0,0,"3 Splats Please!"
prontera,90,95,1 script Jelly 2_F_MAGICMASTER,{
- if(checkquest(70000) == -1) {
+ if (!questprogress(70000)) {
// Quest not yet started.
mes "[Jelly]";
mes "Hey there! Would you help me?";
@@ -30,7 +30,7 @@ prontera,90,95,1 script Jelly 2_F_MAGICMASTER,{
setquest 70000; // Adds the quest to your Quest Window.
close;
}
- } else if(checkquest(70000,HUNTING) == 2) {
+ } else if (questprogress(70000,HUNTING) == 2) {
// All monsters killed.
mes "[Jelly]";
mes "Awesome! Thank you!";
@@ -38,12 +38,12 @@ prontera,90,95,1 script Jelly 2_F_MAGICMASTER,{
dispbottom "You have been rewarded with 10,000 Base Exp.";
completequest 70000; // Sets quest status to "complete".
close;
- } else if(checkquest(70000) == 1) {
+ } else if (questprogress(70000) == 1) {
// Quest is active.
mes "[Jelly]";
mes "Keep going, almost there!";
close;
- } else if(checkquest(70000) == 2) {
+ } else if (questprogress(70000) == 2) {
// Quest finished.
mes "[Jelly]";
mes "Thanks again for doing that for me!";