Jump to content
  • 0

Blessed Scrolls


Question

Posted

How i can set blessed enchant max for 200 and different chances?

I try this 

<!-- General armor enchant group. -->
	<enchantRateGroup name="ARMOR_GROUP">
		<current enchant="0-20" chance="100" />
		<current enchant="21-50" chance="98" />
		<current enchant="51-200" chance="100" />
		<current enchant="201-65535" chance="0" />
		</enchantRateGroup>

	<!-- General full armor enchant group. -->
	<enchantRateGroup name="FULL_ARMOR_GROUP">
        <current enchant="0-20" chance="100" />
		<current enchant="21-50" chance="98" />
		<current enchant="51-200" chance="100" />
		<current enchant="201-65535" chance="0" />
		</enchantRateGroup>

	<!-- General fighter weapon enchant group. -->
	<enchantRateGroup name="FIGHTER_WEAPON_GROUP">
		 <current enchant="0-20" chance="100" />
		<current enchant="21-50" chance="98" />
		<current enchant="51-200" chance="100" />
		<current enchant="201-65535" chance="0" />
	</enchantRateGroup>

	<!-- General mage weapon enchant group. -->
	<enchantRateGroup name="MAGE_WEAPON_GROUP">
		 <current enchant="0-20" chance="100" />
		<current enchant="21-50" chance="98" />
		<current enchant="51-200" chance="100" />
		<current enchant="201-65535" chance="0" />
	</enchantRateGroup>

But i still can enchant after +200. Help me. Thx

8 answers to this question

Recommended Posts

  • 0
Posted
3 hours ago, criss22 said:

How i can set blessed enchant max for 200 and different chances?

I try this 


<!-- General armor enchant group. -->
	<enchantRateGroup name="ARMOR_GROUP">
		<current enchant="0-20" chance="100" />
		<current enchant="21-50" chance="98" />
		<current enchant="51-200" chance="100" />
		<current enchant="201-65535" chance="0" />
		</enchantRateGroup>

	<!-- General full armor enchant group. -->
	<enchantRateGroup name="FULL_ARMOR_GROUP">
        <current enchant="0-20" chance="100" />
		<current enchant="21-50" chance="98" />
		<current enchant="51-200" chance="100" />
		<current enchant="201-65535" chance="0" />
		</enchantRateGroup>

	<!-- General fighter weapon enchant group. -->
	<enchantRateGroup name="FIGHTER_WEAPON_GROUP">
		 <current enchant="0-20" chance="100" />
		<current enchant="21-50" chance="98" />
		<current enchant="51-200" chance="100" />
		<current enchant="201-65535" chance="0" />
	</enchantRateGroup>

	<!-- General mage weapon enchant group. -->
	<enchantRateGroup name="MAGE_WEAPON_GROUP">
		 <current enchant="0-20" chance="100" />
		<current enchant="21-50" chance="98" />
		<current enchant="51-200" chance="100" />
		<current enchant="201-65535" chance="0" />
	</enchantRateGroup>

But i still can enchant after +200. Help me. Thx

You can do that directly in the code or create your own data to be readed and in this case you need to code as well.

  • 0
Posted
4 minutes ago, criss22 said:

it is a java file in eclipse to do that? I try to search now. Thanks for answer. 

I do not have idea what datapack are you using, but this is an example for L2jFrozen 1.5, RequestEnchantItem.java file

  • 0
Posted

I find somethingn abouyt blesseds. Only these lines.

// blessed enchant - clear enchant value
							activeChar.sendPacket(SystemMessageId.BLESSED_ENCHANT_FAILED);
							
							item.setEnchantLevel(0);
							item.updateDatabase();
							activeChar.sendPacket(new EnchantResult(3, 0, 0));
							
							if (Config.LOG_ITEM_ENCHANTS)
							{
								LogRecord record = new LogRecord(Level.INFO, "Blessed Fail");
								record.setParameters(new Object[]
								{
									activeChar,
									item,
									scroll,
									support,
								});
								record.setLoggerName("item");
								_logEnchant.log(record);
							}
						}
						el

And i want to change Max enchant and chance. Nothing more. Thx for answer again

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..