Jump to content
  • 0

How To Create A Potion


Question

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

Also, you should create/edit the skillhandler of potion. Like 2169 does.

 

For example:

<skill id="2169" levels="2" name="Magic Haste Potion">
<!-- Lvl 2 is Greater Magic Haste Potion -->
<table name="#mAtkSpd"> 1.23 1.3 </table>
<table name="#stackOrder"> 2 3 </table>
<set name="target" val="TARGET_SELF" />
<set name="skillType" val="BUFF" />
<set name="operateType" val="OP_ACTIVE" />
<set name="isPotion" val="true" />
<set name="buffDuration" val="1200000" />
<cond msgId="113" addName="1">
<player flying="False" />
</cond>
<for>
<effect name="Buff" time="1200" val="0" stackOrder="#stackOrder" stackType="casting_time_down">
<mul order="0x30" stat="mAtkSpd" val="#mAtkSpd" />
</effect>
</for>
</skill>
Edited by 'Baggos'
  • 0
Posted

 

Also, you should create/edit the skillhandler of potion. Like 2169 does.

 

For example:

<skill id="2169" levels="2" name="Magic Haste Potion">
<!-- Lvl 2 is Greater Magic Haste Potion -->
<table name="#mAtkSpd"> 1.23 1.3 </table>
<table name="#stackOrder"> 2 3 </table>
<set name="target" val="TARGET_SELF" />
<set name="skillType" val="BUFF" />
<set name="operateType" val="OP_ACTIVE" />
<set name="isPotion" val="true" />
<set name="buffDuration" val="1200000" />
<cond msgId="113" addName="1">
<player flying="False" />
</cond>
<for>
<effect name="Buff" time="1200" val="0" stackOrder="#stackOrder" stackType="casting_time_down">
<mul order="0x30" stat="mAtkSpd" val="#mAtkSpd" />
</effect>
</for>
</skill>

thanks this is more useful!

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...