summaryrefslogtreecommitdiff
path: root/npc/custom/quests/berzebub.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-10 04:28:03 +0100
committerHaru <haru@dotalux.com>2013-11-10 04:31:28 +0100
commitb4f1b3b5c5c009ed4f7635c5349ea97c80c08c25 (patch)
treecbd305d3896bdc9f498ed9eb72836dc7b6c32b99 /npc/custom/quests/berzebub.txt
parentc9b63614070f7fce81c88cd60e5edad5a7730df0 (diff)
downloadhercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.gz
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.bz2
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.xz
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.zip
Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4
- Consolidated case in variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/custom/quests/berzebub.txt')
-rw-r--r--npc/custom/quests/berzebub.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/custom/quests/berzebub.txt b/npc/custom/quests/berzebub.txt
index 8827329d9..8a57d4f3e 100644
--- a/npc/custom/quests/berzebub.txt
+++ b/npc/custom/quests/berzebub.txt
@@ -13,7 +13,7 @@
prontera,165,178,8 script Old Woman 8_F_GRANDMOTHER,{
- setarray .@Items[0],714,25,1061,100,1095,200,618,10,1551,2,1614,1,727,20;
+ setarray .@items[0],714,25,1061,100,1095,200,618,10,1551,2,1614,1,727,20;
set .@n$,"[Old Woman]";
mes .@n$;
@@ -37,9 +37,9 @@ prontera,165,178,8 script Old Woman 8_F_GRANDMOTHER,{
next;
mes .@n$;
mes "I need all of the following items:";
- for(set .@i,0; .@i<getarraysize(.@Items); set .@i,.@i+2) {
- mes " ~ "+.@Items[.@i+1]+"x "+getitemname(.@Items[.@i]);
- if (countitem(.@Items[.@i]) < .@Items[.@i+1]) set .@nr,1; }
+ for(set .@i,0; .@i<getarraysize(.@items); set .@i,.@i+2) {
+ mes " ~ "+.@items[.@i+1]+"x "+getitemname(.@items[.@i]);
+ if (countitem(.@items[.@i]) < .@items[.@i+1]) set .@nr,1; }
next;
if(select("I have all of that!:I'll get those ASAP")==2) goto M_Leave;
@@ -47,8 +47,8 @@ prontera,165,178,8 script Old Woman 8_F_GRANDMOTHER,{
if (.@nr) {
mes "You lie! Get out of here and get those items, you sorry excuse for a rock star.";
close; }
- for(set .@i,0; .@i<getarraysize(.@Items); set .@i,.@i+2)
- delitem .@Items[.@i], .@Items[.@i+1];
+ for(set .@i,0; .@i<getarraysize(.@items); set .@i,.@i+2)
+ delitem .@items[.@i], .@items[.@i+1];
getitem 4145,1;
set BerzQuest, 1;
mes "Congratulations! You have all the items. Here is your ^FF0000Berzebub Card^000000, as promised.";