summaryrefslogtreecommitdiff
path: root/npc/custom/events/valentinesdayexp.txt
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-10 15:31:39 +0530
committerHaru <haru@dotalux.com>2015-12-18 05:13:34 +0100
commit6133612d369697e2228545e70eff5d69e6e8c46e (patch)
tree6c071547753931790428f6d3d673c3469b166ef4 /npc/custom/events/valentinesdayexp.txt
parent50e59ea8f8cfae5155e8733d4f06d67d91414bb1 (diff)
downloadhercules-6133612d369697e2228545e70eff5d69e6e8c46e.tar.gz
hercules-6133612d369697e2228545e70eff5d69e6e8c46e.tar.bz2
hercules-6133612d369697e2228545e70eff5d69e6e8c46e.tar.xz
hercules-6133612d369697e2228545e70eff5d69e6e8c46e.zip
ItemID to Constant: custom Folder
Diffstat (limited to 'npc/custom/events/valentinesdayexp.txt')
-rw-r--r--npc/custom/events/valentinesdayexp.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/custom/events/valentinesdayexp.txt b/npc/custom/events/valentinesdayexp.txt
index 933afc647..ccb66bde6 100644
--- a/npc/custom/events/valentinesdayexp.txt
+++ b/npc/custom/events/valentinesdayexp.txt
@@ -166,7 +166,7 @@ M_CHOCO:
if (@flag_num > 5) goto L_ERR;
set @needmon,@flag_num*4500;
if (Zeny < @needmon) goto L_NOTENO;
- if (countitem(519) < @flag_num) goto L_NOMILK;
+ if (countitem(Milk) < @flag_num) goto L_NOMILK;
Zeny -= @needmon;
delitem 519,@flag_num;
getitem 561,@flag_num;
@@ -204,7 +204,7 @@ prt_castle,54,34,4 script Carl Orleans#val1 1_M_01,{
mes "[Carl Orleans]";
mes "Well, I just might be able to fulfill your needs...";
next;
- if (countitem(558)<3) {
+ if (countitem(Chocolate)<3) {
mes "[Carl Orleans]";
mes "I'm sorry you do not have enough Chocolate Bars to do this.";
if(rand(2))mes "They say Stephen from Alberta used to sell good Chocolate.";
@@ -237,7 +237,7 @@ M_WHITE:
mes "[Carl Orleans]";
mes "Well, I just might be able to fulfill your needs...";
next;
- if (countitem(561)<3) {
+ if (countitem(White_Chocolate)<3) {
mes "[Carl Orleans]";
mes "I'm sorry you do not have enough White Chocolate Bars to do this.";
if(rand(2))mes "They say Jainie from Alberta used to sell good White Chocolate.";