FDB Posted July 18, 2010 Posted July 18, 2010 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
0 EdenEternal Posted July 19, 2010 Posted July 19, 2010 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>
0 removed_001 Posted July 19, 2010 Posted July 19, 2010 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
0 Ramzah Posted July 19, 2010 Posted July 19, 2010 If u want it to slowly recover mp you might wanna change hot/manaheal with MPHOT.
Question
FDB
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 :
Edit is this Correct? :
i need it for mp ;D
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now