And then i everything done, my item isint working :// Then i alive, in chat i get msg "You cannot be ressurected while alive.", but then i dead and press item, its nothing. My char don't ress... Have some1 any ideas?
.Any Solution or make the soulshot Toggle
somewon can help me how i can make my custom soulshot left click toggle
all works only toggle i can't manage it, 😞
thanks in advance.
I was looking for server with a low rates,eventually i found l2 elixir.I Joined beta and after so many years since 2008 i found a friend that we played together, memories came back. i cant wait for the grand oppening!. dont miss it!
Question
bauwbas
Ok, i need really help, i want to create Feather of Blessing (There is no server packs where work it)
Ok, in gameserver\data\scripts\handlers\itemhandlers
I createf file with name
FeatherofBlessing.java
package handlers.itemhandlers; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.L2Playable; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; public class FeatherOfBlessing implements IItemHandler { public void useItem(L2Playable playable, L2ItemInstance item) { L2PcInstance activeChar = (L2PcInstance) playable; if(!activeChar.isAlikeDead()) { activeChar.sendMessage("You cannot be ressurected while alive."); return; } if(activeChar.isInOlympiadMode()) { activeChar.sendMessage("You cannot use this feature during olympiad."); return; } activeChar.sendMessage("You have been ressurected!"); activeChar.getInventory().destroyItemByItemId("RessSystem", 10649, 1, activeChar, activeChar.getTarget()); activeChar.doRevive(); activeChar.broadcastUserInfo(); activeChar.sendMessage("Feather of Blessing has dissapeared."); //return; } }Then i register it in MasterHandler.java
Then, i go to etcitem.sql and where is item id 10649 (Feather of blessing) in Handler colum add "FeatherOfBlessing" and in Skill "9010-1;"
And the last thing i go to
gameserver\data\stats\skills
Creating new skill
And then i everything done, my item isint working :// Then i alive, in chat i get msg "You cannot be ressurected while alive.", but then i dead and press item, its nothing. My char don't ress... Have some1 any ideas?
8 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now