how can u use mana drugs?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 8
- Joined: Thu May 21, 2009 11:37 pm
how can u use mana drugs?
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.
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: how can u use mana drugs?
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!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 8
- Joined: Thu May 21, 2009 11:37 pm
Re: how can u use mana drugs?
can anyone me help for fix this problem?
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: how can u use mana drugs?
read above...razor111 wrote:can anyone me help for fix this problem?
-
- Posts: 57
- Joined: Thu Oct 22, 2009 3:13 pm
Re: how can u use mana drugs?
Here you are:
Server Side
Database:
Cheers,
iamcypher
EDIT: If you need a mana over time potion please tell me i`ll make you one
.
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>
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;');
iamcypher
EDIT: If you need a mana over time potion please tell me i`ll make you one

-
- Posts: 5
- Joined: Wed Oct 21, 2009 5:19 pm
Re: how can u use mana drugs?
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
Over time make mana pot

-
- Posts: 57
- Joined: Thu Oct 22, 2009 3:13 pm
Re: how can u use mana drugs?
Hello,
Here you are:
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.
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="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.
-
- Posts: 5
- Joined: Wed Oct 21, 2009 5:19 pm
Re: how can u use mana drugs?
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.
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.
-
- Posts: 57
- Joined: Thu Oct 22, 2009 3:13 pm
Re: how can u use mana drugs?
For stacking use this: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.
Code: Select all
stackOrder="1.5" stackType="mp_recover"
Code: Select all
# <set name="buffDuration" val="15000"/># <set name="reuseDelay" val="10000"/># <set name="staticReuse" val="true"/>
Kind Regards,
iamcypher