فهرست منبع

BETA: Removed isCrystal boolean from enchantData.xml, enough using successRate (thanks Starter).

MELERIX 13 سال پیش
والد
کامیت
a0cd543dee
2فایلهای تغییر یافته به همراه16 افزوده شده و 17 حذف شده
  1. 16 16
      L2J_DataPack_BETA/dist/game/data/enchantData.xml
  2. 0 1
      L2J_DataPack_BETA/dist/game/data/xsd/enchantData.xsd

+ 16 - 16
L2J_DataPack_BETA/dist/game/data/enchantData.xml

@@ -27,17 +27,17 @@
 	<enchant id="6578" isWeapon="false" isBlessed="true" targetGrade="s" />
 
 	<!-- Crystal Scrolls: Enchant Weapon -->
-	<enchant id="731" isCrystal="true" targetGrade="a" />
-	<enchant id="949" isCrystal="true" targetGrade="b" />
-	<enchant id="953" isCrystal="true" targetGrade="c" />
-	<enchant id="957" isCrystal="true" targetGrade="d" />
-	<enchant id="961" isCrystal="true" targetGrade="s" />
+	<enchant id="731" targetGrade="a" successRate="100" />
+	<enchant id="949" targetGrade="b" successRate="100" />
+	<enchant id="953" targetGrade="c" successRate="100" />
+	<enchant id="957" targetGrade="d" successRate="100" />
+	<enchant id="961" targetGrade="s" successRate="100" />
 	<!-- Crystal Scrolls: Enchant Armor -->
-	<enchant id="732" isWeapon="false" isCrystal="true" targetGrade="a" />
-	<enchant id="950" isWeapon="false" isCrystal="true" targetGrade="b" />
-	<enchant id="954" isWeapon="false" isCrystal="true" targetGrade="c" />
-	<enchant id="958" isWeapon="false" isCrystal="true" targetGrade="d" />
-	<enchant id="962" isWeapon="false" isCrystal="true" targetGrade="s" />
+	<enchant id="732" isWeapon="false" targetGrade="a" successRate="100" />
+	<enchant id="950" isWeapon="false" targetGrade="b" successRate="100" />
+	<enchant id="954" isWeapon="false" targetGrade="c" successRate="100" />
+	<enchant id="958" isWeapon="false" targetGrade="d" successRate="100" />
+	<enchant id="962" isWeapon="false" targetGrade="s" successRate="100" />
 
 	<!-- Weapon Enchant Scrolls -->
 	<enchant id="22006" targetGrade="d" successRate="73.326" />
@@ -62,13 +62,13 @@
 	<enchant id="20520" isWeapon="false" isSafe="true" targetGrade="s" maxEnchant="16" successRate="73.326" />
 
 	<!-- Divine Weapon Enchant Crystal -->
-	<enchant id="22018" isCrystal="true" targetGrade="b" />
-	<enchant id="22019" isCrystal="true" targetGrade="a" />
-	<enchant id="20521" isCrystal="true" targetGrade="s" />
+	<enchant id="22018" targetGrade="b" successRate="100" />
+	<enchant id="22019" targetGrade="a" successRate="100" />
+	<enchant id="20521" targetGrade="s" successRate="100" />
 	<!-- Divine Armor Enchant Crystal -->
-	<enchant id="22020" isWeapon="false" isCrystal="true" targetGrade="b" />
-	<enchant id="22021" isWeapon="false" isCrystal="true" targetGrade="a" />
-	<enchant id="20522" isWeapon="false" isCrystal="true" targetGrade="s" />
+	<enchant id="22020" isWeapon="false" targetGrade="b" successRate="100" />
+	<enchant id="22021" isWeapon="false" targetGrade="a" successRate="100" />
+	<enchant id="20522" isWeapon="false" targetGrade="s" successRate="100" />
 
 	<!-- Scroll: Enchant Weapon of Destruction -->
 	<enchant id="22221" isSafe="true" targetGrade="s" maxEnchant="16" />

+ 0 - 1
L2J_DataPack_BETA/dist/game/data/xsd/enchantData.xsd

@@ -14,7 +14,6 @@
 						</xs:sequence>
 						<xs:attribute name="id" type="xs:positiveInteger" use="required" />
 						<xs:attribute name="isBlessed" type="xs:boolean" />
-						<xs:attribute name="isCrystal" type="xs:boolean" />
 						<xs:attribute name="isSafe" type="xs:boolean" />
 						<xs:attribute name="isWeapon" type="xs:boolean" />
 						<xs:attribute name="maxEnchant">