Selaa lähdekoodia

BETA: Fixing Crystal Scrolls.

MELERIX 13 vuotta sitten
vanhempi
sitoutus
beff4acaf2

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

@@ -62,13 +62,13 @@
 	<enchant id="22017" isWeapon="false" isSafe="true" targetGrade="a" maxEnchant="16" successRate="73.326" />
 
 	<!-- Divine Weapon Enchant Crystal -->
-	<enchant id="20521" targetGrade="s" successRate="100.0" />
-	<enchant id="22018" targetGrade="b" successRate="100.0" />
-	<enchant id="22019" targetGrade="a" successRate="100.0" />
+	<enchant id="20521" isCrystal="true" targetGrade="s" />
+	<enchant id="22018" isCrystal="true" targetGrade="b" />
+	<enchant id="22019" isCrystal="true" targetGrade="a" />
 	<!-- Divine Armor Enchant Crystal -->
-	<enchant id="20522" isWeapon="false" targetGrade="s" successRate="100.0" />
-	<enchant id="22020" isWeapon="false" targetGrade="b" successRate="100.0" />
-	<enchant id="22021" isWeapon="false" targetGrade="a" successRate="100.0" />
+	<enchant id="20522" isWeapon="false" isCrystal="true" targetGrade="s" />
+	<enchant id="22020" isWeapon="false" isCrystal="true" targetGrade="b" />
+	<enchant id="22021" isWeapon="false" isCrystal="true" targetGrade="a" />
 
 	<!-- Scroll: Enchant Weapon of Destruction -->
 	<enchant id="22221" isSafe="true" targetGrade="s" maxEnchant="16" />

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

@@ -62,7 +62,7 @@
 							<xs:simpleType>
 								<xs:restriction base="xs:decimal">
 									<xs:minInclusive value="1.0" />
-									<xs:maxInclusive value="100.0" />
+									<xs:maxInclusive value="2.0" />
 								</xs:restriction>
 							</xs:simpleType>
 						</xs:attribute>