0flee Posted June 28, 2020 Posted June 28, 2020 (edited) If i put a weapon ++ as ingredient, i can buy +0 with this method? public Ingredient(StatsSet set) { this(set.getInt("id"), set.getLong("count"), set.getInt("enchantmentLevel", 0), set.getBoolean("isTaxIngredient", false), set.getBoolean("maintainIngredient", false)); } Weapon ++ i have set as ingredient. And player can't buy next weapon. Because weapon that (++) must be +0. I can fix this? Same problem i have for armors. Xml with multisell <list maintainEnchantment="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/multisell.xsd"> I need something like isTaxIngredient ? <!-- Dynasty Bow - Focus --> <item> <ingredient count="1" id="7577" enchantmentLevel="10" /> <!-- (7577 it is Draconic Bow +10)--> <production id="9865" count="1" /> </item> 7577 it is Draconic Bow +10 it is required to buy Dynasty Bow. And game tell me Incorrect item count. Help me please. Greetings Edited June 28, 2020 by 0flee
0 Silma Posted June 28, 2020 Posted June 28, 2020 7 hours ago, 0flee said: If i put a weapon ++ as ingredient, i can buy +0 with this method? public Ingredient(StatsSet set) { this(set.getInt("id"), set.getLong("count"), set.getInt("enchantmentLevel", 0), set.getBoolean("isTaxIngredient", false), set.getBoolean("maintainIngredient", false)); } Weapon ++ i have set as ingredient. And player can't buy next weapon. Because weapon that (++) must be +0. I can fix this? Same problem i have for armors. Xml with multisell <list maintainEnchantment="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/multisell.xsd"> I need something like isTaxIngredient ? <!-- Dynasty Bow - Focus --> <item> <ingredient count="1" id="7577" enchantmentLevel="10" /> <!-- (7577 it is Draconic Bow +10)--> <production id="9865" count="1" /> </item> 7577 it is Draconic Bow +10 it is required to buy Dynasty Bow. And game tell me Incorrect item count. Help me please. Greetings <?xml version="1.0" encoding="UTF-8"?> <!-- Test Multisell --> <list maintainEnchantment="true"> <!-- Dark Crystal for Major --> <item id="1"> <ingredient id="2407" count="1" enchant="10"/> <production id="6383" count="1" enchant="10"/> </item> </list> <a action="bypass -h npc_%objectId%_exc_multisell 030">
0 0flee Posted June 28, 2020 Author Posted June 28, 2020 Fixed, Solved. Problem was with enchantmentMaintenance="true". this must be False and enchantmentLevel="10" no need in xml. Thanks for answer!
0 Silma Posted June 28, 2020 Posted June 28, 2020 12 minutes ago, 0flee said: Fixed, Solved. Problem was with enchantmentMaintenance="true". this must be False and enchantmentLevel="10" no need in xml. Thanks for answer! Topic Locked. Reason solved
Question
0flee
If i put a weapon ++ as ingredient, i can buy +0 with this method?
Weapon ++ i have set as ingredient. And player can't buy next weapon. Because weapon that (++) must be +0. I can fix this?
Same problem i have for armors.
Xml with multisell
I need something like isTaxIngredient ?
7577 it is Draconic Bow +10 it is required to buy Dynasty Bow. And game tell me Incorrect item count. Help me please. Greetings
Edited by 0flee3 answers to this question
Recommended Posts