From 9b1082f4075d45f6d484d856d49013b6eb1e515a Mon Sep 17 00:00:00 2001 From: KarLaeda Date: Fri, 12 Jan 2007 11:16:19 +0000 Subject: Fixed exploits in Valentine Event Scripts git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9646 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/events/custom/valentinesdayexp.txt | 2 +- npc/events/valentinesday.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/events') 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; diff --git a/npc/events/valentinesday.txt b/npc/events/valentinesday.txt index 75ca8e298..5be84fcab 100644 --- a/npc/events/valentinesday.txt +++ b/npc/events/valentinesday.txt @@ -44,7 +44,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; -- cgit v1.2.3-70-g09d2