Hi!
I want to activate the mana potions so I added this to the 9000-9099.xml skill list:
And I also added this to the mod properties:PHP Code:<skill id="9007" levels="1" name="Custom Mana Drug">
<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="MPHOT"/>
<set name="target" val="TARGET_SELF"/>
<for>
<effect count="3" name="ManaHealOverTime" time="5" val="1000" stackOrder="1.5" stackType="mp_recover"/>
</for>
</skill>
<skill id="9008" levels="1" name="Custom Mana Potion">
<set name="itemConsumeId" val="728"/>
<set name="itemConsumeCount" val="1"/>
<set name="isPotion" val="true"/>
<set name="magicLvl" val="1"/>
<set name="operateType" val="OP_ACTIVE"/>
<set name="power" val="500"/>
<set name="skillType" val="MANAHEAL"/>
<set name="target" val="TARGET_SELF"/>
</skill>
# ---------------------------------------------------------------------------
# Mana Drugs/Potions
# ---------------------------------------------------------------------------
# This option will enable core support for:
# Mana Drug (item ID 726), using skill ID 9007.
# Mana Potion (item ID 728), using skill ID 9008.
EnableManaPotionSupport = true
# Mp recovery for mana potion (ID 728)
# Lvl1 - 100MP, lvl2 - 250MP
# Lvl3 - 500MP, lvl4 - 750MP
# Lvl5 - 1000MP
# Default: 1
ManaPotionLevel = 5
the thing is that nothing happens, I got th epots using the gm shop,. i dont know how to spawn itam 728 in my inventory to check it but with this setting nothing works. I also replaced the xml with the healinf potion xml and didnt work either.
Does anyone knows what am I doing wrong?
Thank you!


Reply With Quote


