Fixed exploit in Merchant Skills Quests

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9333 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
KarLaeda 2006-11-27 19:53:48 +00:00
parent 0aa4954230
commit 01b25501c6
2 changed files with 7 additions and 1 deletions

View File

@ -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]

View File

@ -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