summaryrefslogtreecommitdiff
path: root/npc/battleground/kvm
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/kvm
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/kvm')
-rw-r--r--npc/battleground/kvm/kvm_enter.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/battleground/kvm/kvm_enter.txt b/npc/battleground/kvm/kvm_enter.txt
index 1b5e9062c..8f9f40e2b 100644
--- a/npc/battleground/kvm/kvm_enter.txt
+++ b/npc/battleground/kvm/kvm_enter.txt
@@ -19,16 +19,16 @@
//============================================================
bat_room,164,178,5 script KVM Mercenary Officer#1 4_M_KY_KNT,{
/*
- set .@kvm,checkquest(6026,PLAYTIME);
- if ((.@kvm == 0) || (.@kvm == 1)) {
+ .@kvm = questprogress(6026,PLAYTIME);
+ if (.@kvm == 1) {
mes "[Croix Mercenary Officer]";
mes "I know that you've already signed with the Croix. Go back and join their team. We will not accept traitors to fight for us.";
close;
}
else if (.@kvm == 2) erasequest 6026;
*/
- set .@permit,checkquest(6025,PLAYTIME);
- if ((.@permit == 0) || (.@permit == 1)) {
+ .@permit = questprogress(6025,PLAYTIME);
+ if (.@permit == 1) {
mes "[Guillaume Mercenary Officer]";
mes "It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again.";
close;
@@ -119,16 +119,16 @@ bat_room,167,178,5 script Guillaume Knight#kvm 4_M_KY_SOLD,{
//============================================================
bat_room,164,121,1 script KVM Mercenary Officer#2 4_M_CRU_KNT,{
/*
- set .@kvm,checkquest(6025,PLAYTIME);
- if ((.@kvm == 0) || (.@kvm == 1)) {
+ .@kvm = questprogress(6025,PLAYTIME);
+ if (.@kvm == 1) {
mes "[Croix Mercenary Officer]";
mes "I know that you've already signed with the Guillaume. Go back and join their team. We will not accept traitors to fight for us.";
close;
}
else if (.@kvm == 2) erasequest 6025;
*/
- set .@permit,checkquest(6025,PLAYTIME);
- if ((.@permit == 0) || (.@permit == 1)) {
+ .@permit = questprogress(6025,PLAYTIME);
+ if (.@permit == 1) {
mes "[Croix Mercenary Officer]";
mes "It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again.";
close;