how can u use mana drugs?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
razor111
Posts: 8
Joined: Thu May 21, 2009 11:37 pm

how can u use mana drugs?

Post by razor111 »

Mana drugs have to restore some mana points over time ( like 600 mana points in 15 secounds), but they do nothing.So if you use a mana drug only a "You use . " is showed in the consumables.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: how can u use mana drugs?

Post by janiii »

check config files or specify item id! on retail no more mana pots or drugs, so you have to define it yourself.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
razor111
Posts: 8
Joined: Thu May 21, 2009 11:37 pm

Re: how can u use mana drugs?

Post by razor111 »

can anyone me help for fix this problem?
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: how can u use mana drugs?

Post by MELERIX »

razor111 wrote:can anyone me help for fix this problem?
read above...
iamcypher
Posts: 57
Joined: Thu Oct 22, 2009 3:13 pm

Re: how can u use mana drugs?

Post by iamcypher »

Here you are:

Server Side

Code: Select all

<skill id="2005" levels="1" name="Mana Potion">  <set name="itemConsumeId" val="728"/>  <set name="itemConsumeCount" val="1"/>  <set name="power" val="500"/>  <set name="target" val="TARGET_SELF"/>  <set name="skillType" val="MANAHEAL"/>  <set name="operateType" val="OP_ACTIVE"/>  <set name="isPotion" val="true"/>  <cond msgId="113" addName="1">    <player flyMounted="False"/>  </cond></skill>
Database:

Code: Select all

Insert into `etcitem` values (728,'Mana Potion','false','potion',180,'stackable','liquid','none',-1,-1,2000,0,'true','true','true','true','true','ItemSkills','2005-1;');
Cheers,
iamcypher

EDIT: If you need a mana over time potion please tell me i`ll make you one ;).
remla
Posts: 5
Joined: Wed Oct 21, 2009 5:19 pm

Re: how can u use mana drugs?

Post by remla »

We talking about mana drug, restores mana over secongs. "( like 600 mana points in 15 secounds)" . not by one click, create one mana drugs .
Over time make mana pot ;)
iamcypher
Posts: 57
Joined: Thu Oct 22, 2009 3:13 pm

Re: how can u use mana drugs?

Post by iamcypher »

Hello,
Here you are:

Code: Select all

<skill id="2005" levels="1" name="Mana Potion">  <set name="itemConsumeId" val="728"/>  <set name="itemConsumeCount" val="1"/>  <set name="target" val="TARGET_SELF"/>  <set name="skillType" val="HOT"/>  <set name="operateType" val="OP_ACTIVE"/>  <set name="isPotion" val="true"/>  <set name="buffDuration" val="15000"/>  <set name="reuseDelay" val="10000"/>  <set name="staticReuse" val="true"/>  <cond msgId="113" addName="1">    <player flyMounted="False"/>  </cond>  <for>  <effect count="7" name="ManaHealOverTime" time="2" val="16" stackOrder="8" stackType="MpRecover"/></skill>
Change "<set name="buffDuration" val="15000"/>" to change how many seconds it lats.
Change "<set name="reuseDelay" val="10000"/>" to change the cooldown.
Change "time="2" val="16"" to change the amount of mp added:

Example: time 2 val 16 -> Adds every second 8 mp.
Example: time 5 val 100 -> Adds every second 20mp. 100 mp / 5sec

Cheers,
iamcypher

EDIT: LOL I just saw the 9000-9099.xml There were already done custom mana pots.
remla
Posts: 5
Joined: Wed Oct 21, 2009 5:19 pm

Re: how can u use mana drugs?

Post by remla »

iamcypher thx.
Hou to do that mp potion can be stacked beoucse i can use them all the time. Pushing and pushinng and it will recover my mana.
Mana potion used for 15s and only when 5sec left i can use again? hou to do that?

And most important hou to do the icon of the "mana drug" becouse it shows me a 1 used skill icon.
iamcypher
Posts: 57
Joined: Thu Oct 22, 2009 3:13 pm

Re: how can u use mana drugs?

Post by iamcypher »

remla wrote:iamcypher thx.
Hou to do that mp potion can be stacked beoucse i can use them all the time. Pushing and pushinng and it will recover my mana.
Mana potion used for 15s and only when 5sec left i can use again? hou to do that?

And most important hou to do the icon of the "mana drug" becouse it shows me a 1 used skill icon.
For stacking use this:

Code: Select all

stackOrder="1.5" stackType="mp_recover"
For 15 sec and reuse after 5 it`s already done in the code i gave you:

Code: Select all

#  <set name="buffDuration" val="15000"/># <set name="reuseDelay" val="10000"/># <set name="staticReuse" val="true"/>
As for the icon either you change the id of the skill to 2401 which is a battlefield mana potion, or you mod the client, which i am NOT going to tell you how to do that! Also please do NOT ask for this!

Kind Regards,
iamcypher
Post Reply