Mana Potion
Posted: Mon Mar 03, 2014 4:17 pm
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 6441:
L2JDP Revision 10215:
I can't seem to get the mana potion to work. I've enabled custom skills in the general.properties and below is skill entry for the in 'game/data/stats/skills/custom/10000-10099.xml' and the the item entry in 'game/data/stats/items/00700-00799.xml'
Please help.
» Find Revision
L2J Revision 6441:
L2JDP Revision 10215:
I can't seem to get the mana potion to work. I've enabled custom skills in the general.properties and below is skill entry for the in 'game/data/stats/skills/custom/10000-10099.xml' and the the item entry in 'game/data/stats/items/00700-00799.xml'
Code: Select all
<skill id="10001" levels="1" name="Mana Potion"> <set name="displayId" val="2288" /> <set name="isMagic" val="2" /> <!-- Static Skill --> <set name="itemConsumeId" val="728" /> <set name="itemConsumeCount" val="1" /> <set name="magicLvl" val="1" /> <set name="operateType" val="A1" /> <set name="reuseDelay" val="500" /> <set name="targetType" val="SELF" /> <for> <effect name="ManaHeal" noicon="1" val="2000" /> </for> </skill>
Code: Select all
<item id="728" type="EtcItem" name="Mana Potion"> <set name="icon" val="icon.etc_reagent_blue_i00" /> <set name="default_action" val="skill_reduce" /> <set name="etcitem_type" val="potion" /> <set name="immediate_effect" val="1" /> <set name="material" val="liquid" /> <set name="weight" val="180" /> <set name="price" val="2000" /> <set name="is_stackable" val="true" /> <set name="is_oly_restricted" val="true" /> <set name="handler" val="ManaPotion" /> <set name="item_skill" val="10001-1" /> <set name="for_npc" val="true" /> <cond msgId="113" addName="1"> <player flyMounted="false" /> </cond> </item>