Skip to content

Blessed Scrolls

Featured Replies

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

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.

  • Author

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

  • Author

It is that in EnchantScroll.java? I can do something from there? I saw something like  isBlessed

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

  • Author

Oh, my apologizes, i use L2jSunrise (hi5)

  • Author

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

Check AbstractEnchantPacket and try to work around , test your skills

  • Author

Nah, i check package, isn't from there. Also i check my configs, isn't.

L2jsunrise project. Thx u

Create an account or sign in to comment

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.