Page 1 of 1

mana potion does not work properly on h5 latest revision

Posted: Sun Oct 23, 2011 6:24 am
by jt75cz
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4894:5034M
L2JDP Revision Number: 8335:8482M

hi, once more time i have to ask the same answer...what is wrong with mana potion? if i set power to any other value instead of 100 it will not take an effect and i get only default value of mp...could somebody give an advice what and where is needed to change?
---------------------------------------------------------------
this is my xml for skillid 10001-1:
<skill id="10001" levels="1" name="Custom Mana Potion">
<set name="itemConsumeId" val="728" />
<set name="itemConsumeCount" val="1" />
<set name="isPotion" val="true" />
<set name="magicLvl" val="1" />
<set name="operateType" val="OP_ACTIVE" />
<set name="power" val="500" />
<set name="skillType" val="MANAHEAL" />
<set name="target" val="TARGET_SELF" />
<cond msgId="113" addName="1">
<player flyMounted="False" />
</cond>
</skill>
---------------------------------------------------------------
and this is my xml for itemid 728:
<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" />
<cond msgId="113" addName="1">
<player flyMounted="False" />
</cond>
</item>
---------------------------------------------------------------
i was looking for any topic where this problem could be solved but i did not find it. :?:

Re: mana potion does not work properly on h5 latest revision

Posted: Sun Oct 23, 2011 8:34 am
by Dumpster
If its a recent build be sure you are editing the 10000-10099 that is located in the skills/custom folder

This is the current skill

Code: Select all

    <skill id="10001" levels="1" name="Custom Mana Potion">        <set name="displayId" val="2288" />        <set name="itemConsumeId" val="728" />        <set name="itemConsumeCount" val="1" />        <set name="isPotion" val="true" />        <set name="magicLvl" val="1" />        <set name="operateType" val="OP_ACTIVE" />        <set name="power" val="100" />        <set name="skillType" val="MANAHEAL" />        <set name="target" val="TARGET_SELF" />    </skill> 

Re: mana potion does not work properly on h5 latest revision

Posted: Sun Oct 23, 2011 11:52 am
by jt75cz
jfc! i am a dumb head, i am sorry. it is so embarrassing... :oops: :lol:
i was blind to that subfolder "custom" in folder "skills". i had not been thinking about it there is a new subfolder and take a look at it inside. but thank you for your advice very much.
Now it is working properly. :D