summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorKarLaeda <KarLaeda@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 19:53:48 +0000
committerKarLaeda <KarLaeda@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 19:53:48 +0000
commit74d6c55d68b5e1616cb46a60a303b613bf2f2ff1 (patch)
tree795dadcc30043b3d7e02bc45df5414f3309af940 /npc
parent07c29641360fe93d6595d40aee5159fd5e4e5828 (diff)
downloadhercules-74d6c55d68b5e1616cb46a60a303b613bf2f2ff1.tar.gz
hercules-74d6c55d68b5e1616cb46a60a303b613bf2f2ff1.tar.bz2
hercules-74d6c55d68b5e1616cb46a60a303b613bf2f2ff1.tar.xz
hercules-74d6c55d68b5e1616cb46a60a303b613bf2f2ff1.zip
Fixed exploit in Merchant Skills Quests
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9333 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/Changelog.txt2
-rw-r--r--npc/quests/skills/merchant_skills.txt6
2 files changed, 7 insertions, 1 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index cf2b8861a..bdfba9f1f 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -33,6 +33,8 @@ KarLaeda
Date Added
======
+11/27
+ * Fixed exploit in Merchant Skills Quests [KarLaeda]
11/26
* Added a check to prevent spawning of more than one Thanatos in the Thanatos Quest.
Thanks to Kodachi for reporting on IRC [erKURITA]
diff --git a/npc/quests/skills/merchant_skills.txt b/npc/quests/skills/merchant_skills.txt
index fb25388b0..f3144da68 100644
--- a/npc/quests/skills/merchant_skills.txt
+++ b/npc/quests/skills/merchant_skills.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.4b
+//= 1.4c
//===== Compatible With: =====================================
//= eAthena 7.15 +
//===== Description: =========================================
@@ -18,6 +18,7 @@
//= 1.4 Fixed exploits [Lupus]
//= 1.4a Fixed some typos [IVBela] 1.4b Gershaun -> Gershuan
//= changed perm. variables to temp ones [Lupus]
+//= 1.4c Fixed exploit [KarLaeda]
//============================================================
@@ -156,6 +157,9 @@ L_Start:
L_GetSkill:
if((countitem(1019)<50) || (countitem(998)<10) || (countitem(919)<20)) goto L_Items;
+ delitem 1019,50;
+ delitem 998,10;
+ delitem 919,20;
mes "Oh good, you have all of the items. Well here you are..... Hmm?... Oh these are the design sheets for your cart.";
mes "Now that you have the proper materials, just follow these guides to make your cart look spectacular.";
// Note: It is not supposed to take these items, just check you have collected them