From 6133612d369697e2228545e70eff5d69e6e8c46e Mon Sep 17 00:00:00 2001 From: Dastgir Date: Thu, 10 Dec 2015 15:31:39 +0530 Subject: ItemID to Constant: custom Folder --- npc/custom/events/uneasy_cemetery.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/custom/events/uneasy_cemetery.txt') diff --git a/npc/custom/events/uneasy_cemetery.txt b/npc/custom/events/uneasy_cemetery.txt index d48e5f928..114c6d65a 100644 --- a/npc/custom/events/uneasy_cemetery.txt +++ b/npc/custom/events/uneasy_cemetery.txt @@ -82,9 +82,9 @@ L_Undead_Walk: next; menu "Yes, have all my Holy Water!",-, "Nope, I need it.",M_NO, "I don't have any.",M_DONT_HAVE; - if ( countitem(523)<1 ) goto M_DONT_HAVE; - set $UNEASY_BL,$UNEASY_BL-countitem(523); - delitem 523,countitem(523); + if ( countitem(Holy_Water)<1 ) goto M_DONT_HAVE; + set $UNEASY_BL,$UNEASY_BL-countitem(Holy_Water); + delitem 523,countitem(Holy_Water); if ( $UNEASY_BL > 0 ) goto L_NEED_MORE; //set quiet days!!! no more undead for this period! @@ -107,7 +107,7 @@ L_Undead_Walk: if (Sex==0) mapannounce "prontera","[Mother Mathana]: In the name of Odin we declare beautiful "+$UNEASY_H$+" as a Prontera savior!",0; mes "[Mother Mathana]"; mes "In the name of Odin we bless you and decently present a modest gift just from Mareusis' wine-cellar."; - getitem 505,1; //Blue_Potion + getitem Blue_Potion,1; set JobExp,JobExp+100; set BaseExp,BaseExp+50; close; -- cgit v1.2.3-60-g2f50