InFocus Posted August 5, 2018 Posted August 5, 2018 I add in forgotten book skill Master's Blessing Focus. And i want to open book and add skill to player. But how i have now setting, it is buff only, there is no adding at Skils ( alt+k ) Here it is ITEM <item id="10552" type="EtcItem" name="Forgotten Scroll Master's Blessing - Focus"> <set name="icon" val="icon.etc_spell_books_element_i00" /> <set name="default_action" val="SKILL_REDUCE" /> <set name="material" val="PAPER" /> <set name="weight" val="120" /> <set name="price" val="120000" /> <set name="is_stackable" val="true" /> <set name="handler" val="ItemSkills" /> <set name="item_skill" val="7041-1" /> </item> and here it is SKILL <skill id="7041" levels="1" name="Master's Blessing - Focus"> <!-- GM Skill --> <set name="abnormalLvl" val="1" /> <set name="abnormalTime" val="3600" /> <set name="abnormalType" val="CRITICAL_PROB_UP" /> <set name="castRange" val="400" /> <set name="effectPoint" val="1" /> <set name="effectRange" val="900" /> <set name="hitTime" val="500" /> <set name="icon" val="icon.skill1077" /> <set name="isMagic" val="1" /> <!-- Magic Skill --> <set name="magicLvl" val="52" /> <set name="mpConsume" val="2" /> <set name="operateType" val="A2" /> <set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" /> <set name="targetType" val="SELF" /> <set name="itemConsumeId" val="7627" /> <set name="itemConsumeCount" val="200" /> </skill> Someone can help how i can put this skill to Skills? Cuz now it is felt when i open book.
0 SweeTs Posted August 5, 2018 Posted August 5, 2018 You must code new item handler. There is no ready handler to do the thing you want.
0 InFocus Posted August 6, 2018 Author Posted August 6, 2018 And how i can do this? from java? and if it's from java, what package i must edit
0 SweeTs Posted August 6, 2018 Posted August 6, 2018 Edit, none. You have to code it, so package doesn't matter that much. Create the handler, register it under ItemHandler's and enjoy.
0 InFocus Posted August 6, 2018 Author Posted August 6, 2018 I understand you, but that handler i don't understand how to edit/add. and the register handler it is in MasterHandler.java?
0 Solomun Posted August 6, 2018 Posted August 6, 2018 15 minutes ago, InFocus said: Solved, can close topic Done.
Question
InFocus
I add in forgotten book skill Master's Blessing Focus. And i want to open book and add skill to player. But how i have now setting, it is buff only, there is no adding at Skils ( alt+k )
Here it is ITEM
and here it is SKILL
Someone can help how i can put this skill to Skills? Cuz now it is felt when i open book.
6 answers to this question
Recommended Posts