custom mana potion
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 8
- Joined: Thu May 21, 2009 11:37 pm
custom mana potion
hello how can i make a mana potion whit 500 mana heal and 1000 mana heal ???
- Tan
- L2j Veteran
- Posts: 873
- Joined: Wed Jun 10, 2009 10:31 pm
- Location: Poland
Re: custom mana potion
<?xml version="1.0" encoding="UTF-8"?>
<list>
<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"/>
<cond msgId="113" addName="1">
<player flyMounted="False"/>
</cond>
<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"/>
<cond msgId="113" addName="1">
<player flyMounted="False"/>
</cond>
</skill>
</list>
<list>
<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"/>
<cond msgId="113" addName="1">
<player flyMounted="False"/>
</cond>
<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"/>
<cond msgId="113" addName="1">
<player flyMounted="False"/>
</cond>
</skill>
</list>
Some people believe in God... i believe in Music... some people pray..... I turn on Winamp
http://www.last.fm/user/L2jTan
http://www.last.fm/user/L2jTan
-
- Posts: 8
- Joined: Thu May 21, 2009 11:37 pm
Re: custom mana potion
So if you use a mana drug only a "You use . " is showed in the consumables how can i fix this?
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
-
- Posts: 8
- Joined: Thu May 21, 2009 11:37 pm
Re: custom mana potion
# ---------------------------------------------------------------------------
# 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
# 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
-
- Posts: 2
- Joined: Wed Dec 16, 2009 6:46 pm
Re: custom mana potion
Same problem here,razor111 wrote:So if you use a mana drug only a "You use . " is showed in the consumables how can i fix this?
Configs:
# ---------------------------------------------------------------------------
# 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
-
- Posts: 253
- Joined: Thu Apr 30, 2009 12:29 am
Re: custom mana potion
The following changes will create two mana potions that will instantly heal 500 mana and 1000 mana.razor111 wrote:hello how can i make a mana potion whit 500 mana heal and 1000 mana heal ???
Code: Select all
<?xml version="1.0" encoding="UTF-8"?> <skill id="9007" levels="1" name="Custom Mana Drug"><set name="itemConsumeId" val="726"/><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="1000"/> <set name="skillType" val="MANAHEAL"/><set name="target" val="TARGET_SELF"/> <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"/>
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: custom mana potion
there is also MANAHEAL_PERCENT, if you don't like static values
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.