Fixed item blessing.
This commit is contained in:
@@ -20,14 +20,6 @@
|
||||
<enchant id="956" targetGrade="D" maxEnchant="16" safeEnchant="4" scrollGroupId="0" /> <!-- Default scroll groups binding. -->
|
||||
<enchant id="93411" targetGrade="D" maxEnchant="16" safeEnchant="4" scrollGroupId="0" /> <!-- Default scroll groups binding. -->
|
||||
|
||||
<enchant id="94184" targetGrade="C" maxEnchant="1" isBlessed="true"/>
|
||||
<enchant id="94184" targetGrade="A" maxEnchant="1" isBlessed="true"/>
|
||||
|
||||
<enchant id="94208" targetGrade="C" maxEnchant="1" isBlessed="true"/>
|
||||
<enchant id="94208" targetGrade="A" maxEnchant="1" isBlessed="true"/>
|
||||
<enchant id="94208" targetGrade="B" maxEnchant="1" isBlessed="true"/>
|
||||
<enchant id="94208" targetGrade="S" maxEnchant="1" isBlessed="true"/>
|
||||
|
||||
<!-- Blessed Scrolls: Enchant Weapon -->
|
||||
<enchant id="6577" targetGrade="S" maxEnchant="16" />
|
||||
<enchant id="6569" targetGrade="A" maxEnchant="16" />
|
||||
|
||||
@@ -20,6 +20,7 @@ import org.l2jmobius.gameserver.handler.IItemHandler;
|
||||
import org.l2jmobius.gameserver.model.actor.Playable;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||
import org.l2jmobius.gameserver.model.variables.PlayerVariables;
|
||||
import org.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.blessing.ExOpenBlessOptionScroll;
|
||||
|
||||
@@ -46,6 +47,8 @@ public class BlessingScrolls implements IItemHandler
|
||||
return false;
|
||||
}
|
||||
|
||||
player.getVariables().set(PlayerVariables.USED_BLESS_SCROLL_ID, item.getId());
|
||||
|
||||
player.sendPacket(new ExOpenBlessOptionScroll(item.getId()));
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user