Skip to content

Mana Potion Skill

Featured Replies

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

 

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>

 

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

If u want it to slowly recover mp you might wanna change hot/manaheal with MPHOT.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.