Jump to content
  • 0

Question

10 answers to this question

Recommended Posts

  • 0
Posted (edited)

clientpackets/multisellchoose.java

 

change the 7 and add your enchant level

{
                final L2Item tempItem = ItemTable.getInstance().createDummyItem(newIngredient.getItemId()).getItem();
                if (tempItem instanceof L2Armor || tempItem instanceof L2Weapon)
                {
-                    newIngredient.setEnchantmentLevel(enchantLevel);   
+                    newIngredient.setEnchantmentLevel(7);   
                    hasIngredient = true;
                }
            }

 

if (maintainEnchantment && hasIngredient)
            {
                // If it is an armor/weapon, modify the enchantment level appropriately
                // (note, if maintain enchantment is "false" this modification will result to a +0)
                final L2Item tempItem = ItemTable.getInstance().createDummyItem(newIngredient.getItemId()).getItem();
                
                if (tempItem instanceof L2Armor || tempItem instanceof L2Weapon)
                {
                    if (enchantLevel == 0 && maintainEnchantment)
                        enchantLevel = ing.getEnchantmentLevel();
-                    newIngredient.setEnchantmentLevel(enchantLevel); 
+                    newIngredient.setEnchantmentLevel(7); 
                }
            }
{
                // If it is an armor/weapon, modify the enchantment level appropriately
                // (note, if maintain enchantment is "false" this modification will result to a +0)
                final L2Item tempItem = ItemTable.getInstance().createDummyItem(newIngredient.getItemId()).getItem();
                
                if (tempItem instanceof L2Armor || tempItem instanceof L2Weapon)
                {
                    if (enchantLevel == 0 && maintainEnchantment)
                        enchantLevel = ing.getEnchantmentLevel();
-                    newIngredient.setEnchantmentLevel(enchantLevel);
+                    newIngredient.setEnchantmentLevel(7);
                }
            }
Edited by Kelrzher
  • 0
Posted

 

clientpackets/multisellchoose.java

 

change the 7 and add your enchant level

{
                final L2Item tempItem = ItemTable.getInstance().createDummyItem(newIngredient.getItemId()).getItem();
                if (tempItem instanceof L2Armor || tempItem instanceof L2Weapon)
                {
-                    newIngredient.setEnchantmentLevel(enchantLevel);   
+                    newIngredient.setEnchantmentLevel(7);   
                    hasIngredient = true;
                }
            }
if (maintainEnchantment && hasIngredient)
            {
                // If it is an armor/weapon, modify the enchantment level appropriately
                // (note, if maintain enchantment is "false" this modification will result to a +0)
                final L2Item tempItem = ItemTable.getInstance().createDummyItem(newIngredient.getItemId()).getItem();
                
                if (tempItem instanceof L2Armor || tempItem instanceof L2Weapon)
                {
                    if (enchantLevel == 0 && maintainEnchantment)
                        enchantLevel = ing.getEnchantmentLevel();
-                    newIngredient.setEnchantmentLevel(enchantLevel); 
+                    newIngredient.setEnchantmentLevel(7); 
                }
            }
{
                // If it is an armor/weapon, modify the enchantment level appropriately
                // (note, if maintain enchantment is "false" this modification will result to a +0)
                final L2Item tempItem = ItemTable.getInstance().createDummyItem(newIngredient.getItemId()).getItem();
                
                if (tempItem instanceof L2Armor || tempItem instanceof L2Weapon)
                {
                    if (enchantLevel == 0 && maintainEnchantment)
                        enchantLevel = ing.getEnchantmentLevel();
-                    newIngredient.setEnchantmentLevel(enchantLevel);
+                    newIngredient.setEnchantmentLevel(7);
                }
            }

And in multisell?

Like this :

<!-- Arcana Mace - Acumen -->
  <item id="1">
    <ingredient id="57" count="80000000"/>
    <production id="6608" count="1" enchant="5"/>
  </item>
  • 0
Posted

 

And in multisell?

Like this :

<!-- Arcana Mace - Acumen -->
  <item id="1">
    <ingredient id="57" count="80000000"/>
    <production id="6608" count="1" enchant="5"/>
  </item>

 

no , add maintain enchant true to the weapon file for example and you are done

  • 0
Posted

no , add maintain enchant true to the weapon file for example and you are done

Yes it work Tnk's,But i have 1 problem does not occur how much ++ is on Npc.

Guest
This topic is now closed to further replies.


×
×
  • Create New...