summaryrefslogtreecommitdiff
path: root/npc/events/custom/valentinesdayexp.txt
diff options
context:
space:
mode:
authorKarLaeda <KarLaeda@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-12 11:16:19 +0000
committerKarLaeda <KarLaeda@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-12 11:16:19 +0000
commit9b1082f4075d45f6d484d856d49013b6eb1e515a (patch)
tree16d8e27eb5f9744afc414fb3d7797942f4b3c5ac /npc/events/custom/valentinesdayexp.txt
parent7203756c266a967390e417981592acc3c5879ea6 (diff)
downloadhercules-9b1082f4075d45f6d484d856d49013b6eb1e515a.tar.gz
hercules-9b1082f4075d45f6d484d856d49013b6eb1e515a.tar.bz2
hercules-9b1082f4075d45f6d484d856d49013b6eb1e515a.tar.xz
hercules-9b1082f4075d45f6d484d856d49013b6eb1e515a.zip
Fixed exploits in Valentine Event Scripts
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9646 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/events/custom/valentinesdayexp.txt')
-rw-r--r--npc/events/custom/valentinesdayexp.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/events/custom/valentinesdayexp.txt b/npc/events/custom/valentinesdayexp.txt
index ce519513a..ac6f6816c 100644
--- a/npc/events/custom/valentinesdayexp.txt
+++ b/npc/events/custom/valentinesdayexp.txt
@@ -104,7 +104,7 @@ M_CHOCO:
next;
set @needmon,0;
input @flag_num;
- if (@flag_num == 0) goto L_NONE;
+ if (@flag_num <= 0) goto L_NONE;
if (@flag_num > 5) goto L_ERR;
set @needmon,@flag_num*5000;
if (Zeny < @needmon) goto L_NOTENO;