diff options
-rw-r--r-- | npc/Changelog.txt | 3 | ||||
-rw-r--r-- | npc/events/custom/valentinesdayexp.txt | 2 | ||||
-rw-r--r-- | npc/events/valentinesday.txt | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt index 130b3e74c..6e0cffb89 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -33,7 +33,8 @@ KarLaeda Date Added ====== - +2007/01/12 + * Fixed exploits in Valentine Event Scripts [KarLaeda] 2007/01/11 * Update to the new locations, adds more warps (thor_camp) [ultramage] 2007/01/09 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; |