Skip to content

Gm Shop Ingredient

Featured Replies

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 by 0flee

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

 

 

 

  • Author

Fixed, Solved. Problem was with enchantmentMaintenance="true". this must be False and enchantmentLevel="10" no need in xml. Thanks for answer!

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

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.