Skip to content

Featured Replies

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. 

You must code new item handler. There is no ready handler to do the thing you want.

  • Author

And how i can do this? from java? and if it's from java, what package i must edit

Edit, none. You have to code it, so package doesn't matter that much. Create the handler, register it under ItemHandler's and enjoy. 

  • Author

I understand you, but that handler i don't understand how to edit/add. and the register handler it is in MasterHandler.java?

  • Author

Solved, can close topic

  • Solomun locked this topic
Guest
This topic is now closed to further replies.

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.