Page 1 of 1

Mana Drug

Posted: Thu Jan 16, 2014 12:30 am
by snacks
L2J Revision Number:6337M
L2JDP Revision Number:10114M

Mana Drug is not working, Mana Potion is OK.
I use Mana Drug, got 2 sysmsg (Mana Drug has disappeared and You use Mana Drug) but no effect or icon on buff bar.

EnableManaPotionSupport = True
CustomSkillsLoad = True

Re: Mana Drug

Posted: Thu Jan 16, 2014 1:51 am
by Loco
What does the skill.xml say?

Re: Mana Drug

Posted: Thu Jan 16, 2014 2:55 am
by snacks

Code: Select all

    <skill id="10000" levels="1" name="Mana Drug">        <set name="abnormalTime" val="15" />        <set name="displayId" val="2077" />        <set name="isMagic" val="2" /> <!-- Static Skill -->        <set name="itemConsumeId" val="726" />        <set name="itemConsumeCount" val="1" />        <set name="magicLvl" val="1" />        <set name="operateType" val="A1" />        <set name="reuseDelay" val="10000" />        <set name="targetType" val="SELF" />        <for>            <effect name="ManaHealOverTime" ticks="5" val="20" />        </for>    </skill>

Re: Mana Drug

Posted: Thu Jan 16, 2014 10:36 am
by Loco
I've spotted a difference with my skill.xml code, in the <for> tag:

Code: Select all

<for>            <effect count="3" name="ManaHealOverTime" abnormalTime="5" val="1.5" abnormalLvl="1" abnormalType="mp_recover" /></for>
Perhaps this is of use to you?
Missing the abnormalLvl and abnormalType could be that which prevents the mana drugs from having effect.

Re: Mana Drug

Posted: Thu Jan 16, 2014 6:09 pm
by snacks
I only changed the displayId to test the rest its like on beta datapack.
Theres no abnormalType="mp_recover" on AbnormalType.java

Re: Mana Drug

Posted: Thu Jan 16, 2014 7:52 pm
by Cresceus
Server: 6345
DP: 10122


Try this

In Skill.xml change the parameters as follows:

Code: Select all

 <set name="isMagic" val="1" /><set name="operateType" val="A2" /> 
In Item.xml change the parameters as follows:

Code: Select all

 <set name="handler" val="ItemSkills" /> 
Regards

Re: Mana Drug

Posted: Thu Jan 16, 2014 8:16 pm
by snacks
Cresceus wrote:Server: 6345
DP: 10122


Try this

In Skill.xml change the parameters as follows:

Code: Select all

 <set name="isMagic" val="1" /><set name="operateType" val="A2" /> 
In Item.xml change the parameters as follows:

Code: Select all

 <set name="handler" val="ItemSkills" /> 
Regards
Thanks, manaovertime working fine but no icon.

Re: Mana Drug

Posted: Thu Jan 16, 2014 8:18 pm
by Cresceus
Yes, same problem here.

Buff you char and than use the Mana Drug. You will see the last Buff-Icon instead of the icon from the displayId...

It's a bit strange...


Seems to be buggy at the moment.

Re: Mana Drug

Posted: Thu Jan 16, 2014 8:23 pm
by snacks
True
Image

Re: Mana Drug

Posted: Thu Jan 16, 2014 8:58 pm
by Cresceus
Here I reported the bug. I guess it is a bug.

viewtopic.php?f=77&p=173182#p173182