diff options
author | Happy <markaizer@gmail.com> | 2014-08-21 04:50:46 +0800 |
---|---|---|
committer | Happy <markaizer@gmail.com> | 2014-08-21 04:50:46 +0800 |
commit | f52e1007fe08c67003c0bc4c78231904dd3fd5cc (patch) | |
tree | 99907d827264e501774e58ab4630e41fa7103c02 /npc/custom/quests/berzebub.txt | |
parent | 2410110dece79b4598c12f1c953219f1d0d1904a (diff) | |
parent | 769b1d05aa5cfa8cddfe7d21b35d5c5e4da3bbd6 (diff) | |
download | hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.gz hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.bz2 hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.tar.xz hercules-f52e1007fe08c67003c0bc4c78231904dd3fd5cc.zip |
Merge pull request #1 from HerculesWS/master
Update from original
Diffstat (limited to 'npc/custom/quests/berzebub.txt')
-rw-r--r-- | npc/custom/quests/berzebub.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/custom/quests/berzebub.txt b/npc/custom/quests/berzebub.txt index 1ba44211e..8a57d4f3e 100644 --- a/npc/custom/quests/berzebub.txt +++ b/npc/custom/quests/berzebub.txt @@ -11,9 +11,9 @@ //= 1.2 Optimized. [Euphy] //============================================================ -prontera,165,178,8 script Old Woman 103,{ +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 103,{ 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 103,{ 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."; @@ -59,4 +59,4 @@ M_Leave: mes .@n$; mes "Such a great item I have right here..."; close; -}
\ No newline at end of file +} |