浏览代码

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9942 54d463be-8e91-2dee-dedb-b68131a5f0ec

Lupus 18 年之前
父节点
当前提交
3086c15b76
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 1 0
      npc/Changelog.txt
  2. 3 2
      npc/merchants/socket_enchant.txt

+ 1 - 0
npc/Changelog.txt

@@ -30,6 +30,7 @@ Date		Added
 	* The Sign: Fixed possible exploit, thanks to happylight [Lupus]
 	* The Sign: Fixed possible exploit, thanks to happylight [Lupus]
 	- Added npc/sample/npc_test_setitemx.txt
 	- Added npc/sample/npc_test_setitemx.txt
 	- Redo "conditional bug" in cool_event_corp.txt. That wasn't a bug.
 	- Redo "conditional bug" in cool_event_corp.txt. That wasn't a bug.
+	- Fixed ingredients check in Slot Enchant, thanks to Tantarian
 2007/02/28
 2007/02/28
 	* Fixes to Merchant/Smith skill quests according to ragnainfo wiki [DracoRPG]
 	* Fixes to Merchant/Smith skill quests according to ragnainfo wiki [DracoRPG]
 	- Added missing 1 Banana Juice requirement to Cart Revolution quest
 	- Added missing 1 Banana Juice requirement to Cart Revolution quest

+ 3 - 2
npc/merchants/socket_enchant.txt

@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //===== By: ==================================================
 //= Sousuke_PL
 //= Sousuke_PL
 //===== Current Version: =====================================
 //===== Current Version: =====================================
-//= 0.3
+//= 1.0
 //===== Compatible With: =====================================
 //===== Compatible With: =====================================
 //= eAthena SVN
 //= eAthena SVN
 //===== Description: =========================================
 //===== Description: =========================================
@@ -14,6 +14,7 @@
 //= 0.1b Removed duplicates [Toms]
 //= 0.1b Removed duplicates [Toms]
 //= 0.2	Added missing next;'s [Evera]
 //= 0.2	Added missing next;'s [Evera]
 //= 0.3 Fixed Zweihander[+] id [Lupus]
 //= 0.3 Fixed Zweihander[+] id [Lupus]
+//= 1.0 Fixed ingredients check [Lupus]
 //============================================================
 //============================================================
 
 
 
 
@@ -613,7 +614,7 @@ function	script	addslot2	{
 
 
            if(countitem(@olditem)<1) goto L_NoItem;
            if(countitem(@olditem)<1) goto L_NoItem;
            if(Zeny<@addprice) goto L_NoZeny;
            if(Zeny<@addprice) goto L_NoZeny;
-           if((countitem(@itemup1)<@itemupiece1) && (countitem(@itemup2)<@itemupiece2)) goto L_NoItemUp;
+           if(countitem(@itemup1)<@itemupiece1 || countitem(@itemup2)<@itemupiece2) goto L_NoItemUp;
 
 
            delitem @itemup1,@itemupiece1;
            delitem @itemup1,@itemupiece1;
            delitem @itemup2,@itemupiece2;
            delitem @itemup2,@itemupiece2;