diff options
author | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-23 16:16:08 +0000 |
---|---|---|
committer | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-23 16:16:08 +0000 |
commit | f9bb6cca7f02a7b80d39f1f163d4fccfd096b315 (patch) | |
tree | 27b69462eec1a3924a9d04d7fed1fe7077ee7d7b /npc/battleground/kvm | |
parent | d40848e2dd9e69d1f74bf01de714aa22f0731a81 (diff) | |
download | hercules-f9bb6cca7f02a7b80d39f1f163d4fccfd096b315.tar.gz hercules-f9bb6cca7f02a7b80d39f1f163d4fccfd096b315.tar.bz2 hercules-f9bb6cca7f02a7b80d39f1f163d4fccfd096b315.tar.xz hercules-f9bb6cca7f02a7b80d39f1f163d4fccfd096b315.zip |
* Optimized "Erundek" NPC (battleground\bg_common.txt)
* More general cleaning...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16329 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/battleground/kvm')
-rw-r--r-- | npc/battleground/kvm/kvm_enter.txt | 40 |
1 files changed, 10 insertions, 30 deletions
diff --git a/npc/battleground/kvm/kvm_enter.txt b/npc/battleground/kvm/kvm_enter.txt index 2df3c9a59..d54792bb5 100644 --- a/npc/battleground/kvm/kvm_enter.txt +++ b/npc/battleground/kvm/kvm_enter.txt @@ -27,9 +27,7 @@ bat_room,164,178,5 script KVM Mercenary Officer#1 418,{ 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; - } + else if (.@kvm == 2) erasequest 6026; */ set .@permit,checkquest(6025,PLAYTIME); if ((.@permit == 0) || (.@permit == 1)) { @@ -37,9 +35,7 @@ bat_room,164,178,5 script KVM Mercenary Officer#1 418,{ mes "It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again."; close; } - else if (.@permit == 2) { - erasequest 6025; - } + else if (.@permit == 2) erasequest 6025; mes "[Guillaume Mercenary Officer]"; mes "Let them know the real might of Guillaume!"; next; @@ -50,15 +46,9 @@ bat_room,164,178,5 script KVM Mercenary Officer#1 418,{ mes "Today, everyone will hear the shout of triumph from Guillaume!"; close2; //setquest 6025; - if (BaseLevel > 79) { - warp "bat_room",169,223; - } - else if (BaseLevel < 60) { - warp "bat_room",197,223; - } - else { - warp "bat_room",225,223; - } + if (BaseLevel > 79) warp "bat_room",169,223; + else if (BaseLevel < 60) warp "bat_room",197,223; + else warp "bat_room",225,223; close; case 2: mes "[Guillaume Mercenary Officer]"; @@ -137,9 +127,7 @@ bat_room,164,121,1 script KVM Mercenary Officer#2 414,{ 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; - } + else if (.@kvm == 2) erasequest 6025; */ set .@permit,checkquest(6025,PLAYTIME); if ((.@permit == 0) || (.@permit == 1)) { @@ -147,9 +135,7 @@ bat_room,164,121,1 script KVM Mercenary Officer#2 414,{ mes "It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again."; close; } - else if (.@permit == 2) { - erasequest 6025; - } + else if (.@permit == 2) erasequest 6025; mes "[Croix Mercenary Officer]"; mes "Let them know the real might of Croix!"; next; @@ -160,15 +146,9 @@ bat_room,164,121,1 script KVM Mercenary Officer#2 414,{ mes "Today, everyone will hear the shout of triumph from Croix!"; close2; //setquest 6026; - if (BaseLevel > 79) { - warp "bat_room",169,207; - } - else if (BaseLevel < 60) { - warp "bat_room",197,207; - } - else { - warp "bat_room",225,207; - } + if (BaseLevel > 79) warp "bat_room",169,207; + else if (BaseLevel < 60) warp "bat_room",197,207; + else warp "bat_room",225,207; close; case 2: mes "[Croix Mercenary Officer]"; |