Jump to content
  • 0

Mana Potion Skill


FDB

Question

So hey guys i have a little problem so

 

i want to make a skill for mana potions i created the xml with this but i am sure i got a wrong

check it :

<skill id="2002" levels="1" name="Custom Mana Pot">
 <set name="itemConsumeId" val="1000"/>
 <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="20000"/>
 <cond msgId="113" addName="1">
   <player flyMounted="False"/>
 </cond>
 <for>
   <effect count="4" name="HealOverTime" time="5" val="1.5" stackOrder="1.5" stackType="HpRecover"/>
 </for>
</skill>

 

Edit is this Correct? :

<skill id="118881" levels="1" name="Custom Mana Drug">
  <set name="itemConsumeId" val="1000"/>
  <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="20000"/>
  <cond msgId="113" addName="1">
    <player flyMounted="False"/>
  </cond>
  <for>
    <effect name="Buff" time="3600" val="0">
    <add order="0x40" stat="regMp" val="1.82"/>
  </for>
</skill>

 

i need it for mp ;D

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

2002 Skill xml is for Healing Drug,

just create new skill for example 9999

 

and add this xml

 

<skill id="2005" levels="1" name="ManaPotion">
  <set name="power" val="500.0"/>
  <set name="target" val="TARGET_SELF"/>
  <set name="skillType" val="MANAHEAL"/>
  <set name="operateType" val="OP_ACTIVE"/>
  <set name="castRange" val="-1"/>
  <set name="effectRange" val="-1"/>
  <set name="buffDuration" val="15000"/>
  <set name="isPotion" val="true"/>
  <for>
  </for>
</skill>

 

Link to comment
Share on other sites

  • 0

2002 Skill xml is for Healing Drug,

just create new skill for example 9999

 

and add this xml

 

<skill id="2005" levels="1" name="ManaPotion">
  <set name="power" val="500.0"/>
  <set name="target" val="TARGET_SELF"/>
  <set name="skillType" val="MANAHEAL"/>
  <set name="operateType" val="OP_ACTIVE"/>
  <set name="castRange" val="-1"/>
  <set name="effectRange" val="-1"/>
  <set name="buffDuration" val="15000"/>
  <set name="isPotion" val="true"/>
  <for>
  </for>
</skill>

 

 

but you must also edit the skillsgrp.dat in order to make it wotk in client side

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...