diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-12-10 15:31:39 +0530 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-18 05:13:34 +0100 |
commit | 6133612d369697e2228545e70eff5d69e6e8c46e (patch) | |
tree | 6c071547753931790428f6d3d673c3469b166ef4 /npc/custom/events/uneasy_cemetery.txt | |
parent | 50e59ea8f8cfae5155e8733d4f06d67d91414bb1 (diff) | |
download | hercules-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/uneasy_cemetery.txt')
-rw-r--r-- | npc/custom/events/uneasy_cemetery.txt | 8 |
1 files changed, 4 insertions, 4 deletions
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; |