Page 1 of 1

Mana Drug

Posted: Fri Jun 05, 2009 3:16 pm
by Kedon
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 3131
L2JDP Revision Number: 6208

Hei Guys. I tryed to make the Mana Druggs stronger first of all i activated them in the l2jmods.prop....

EnableManaPotionSupport = True

now my code looks like this i tested a bit:

Code: Select all

 <list>        <skill id="9007" levels="1" name="Custom Mana Drug">          <!-- Done by DJ MELERIX -->          <set name="power" val="400.0"/>   <set name="itemConsumeId" val="726"/>          <set name="itemConsumeCount" val="1"/>          <set name="buffDuration" val="15000"/>          <set name="isPotion" val="true"/>          <set name="magicLvl" val="1"/>          <set name="operateType" val="OP_ACTIVE"/>          <set name="skillType" val="MANAHEAL"/>       <set name="target" val="TARGET_SELF"/>            <cond msgId="113" addName="1">    <player flyMounted="False"/>          </cond>         <for>             <effect count="3" name="ManaHealOverTime" time="5" val="1.5" stackOrder="1.5" stackType="mp_recover"/>        </for></skill>
can maybe someone can show me a modified working mana drug my is just getting 1 time 400 mp

Re: Mana Drug

Posted: Fri Jun 05, 2009 5:36 pm
by toastgodsupreme
I use this:

Code: Select all

<skill id="2401" levels="1" name="Lesser Battlefield Mana Potion">  <set name="target" val="TARGET_SELF"/>  <set name="skillType" val="MPHOT"/>  <set name="operateType" val="OP_ACTIVE"/>  <set name="buffDuration" val="15000"/>  <set name="reuseDelay" val="10000"/>  <set name="staticReuse" val="true"/>  <set name="isPotion" val="true"/>  <for>    <effect count="15" name="ManaHealOverTime" time="1" val="50" stackOrder="1" stackType="ManaPotion"/>  </for></skill> 
15 second duration, 50 mp a second. For a low rate, it's RIGHT on the edge of being able to keep up with moderate skill spam. But if people go nuts they out pace it. That way pvp doesn't take forever because of infinite mana.

time="1" is a default value and doesn't need to be defined but i leave it in for this one since I may go in and modify it at a later day.