Jump to content

Mana Potion As Buff


Protein

Recommended Posts

HI Maxcheaters. 

 

I want to share my little change on Mana Potion. I want creat a mid server and I not prefere the normal Mana Potion... -> Healer class are for my eyes op.

 

so first of all I tryed to do a Potion like normal healing potion for HP. 

But I had some problems with skill show on buffs....

 

Tested on acis project!

Here I show you a easy other way!

 

That is what I do now 

0648bb-1484160439.jpg

 

Code:

gameserver\data\xml\skills 

 

+ADD

<skill id="5521" levels="1" name="Mana Potion">
<table name="#mhot"> 81 </table>
<set name="target" val="TARGET_SELF" />
<set name="staticReuse" val="true" />
<set name="hitTime" val="2000" />
<set name="reuseDelay" val="1000" />
<set name="skillType" val="BUFF" />
<set name="operateType" val="OP_ACTIVE" />
<set name="removedOnDamage" val="true" />
<for>
<effect count="10" name="ManaHealOverTime" time="3" noicon="1" val="#mhot" stackOrder="1" stackType="force_meditation" />
<effect name="ImmobileUntilAttacked" time="10" val="0">
<mul order="0x30" stat="pDef" val="0.1" />
</effect>
</for>
</skill>

gameserver\data\xml\items

 

Change

<item id="728" type="EtcItem" name="Mana Potion">
<set name="default_action" val="skill_reduce" />
<set name="etcitem_type" val="potion" />
<set name="material" val="LIQUID" />
<set name="weight" val="5" />
<set name="price" val="1080" />
<set name="reuse_delay" val="5000" />
<set name="is_stackable" val="true" />
<set name="is_oly_restricted" val="true" />
<set name="handler" val="ItemSkills" />
<set name="item_skill" val="5521-1" />
<set name="use_condition" val="{{uc_transmode_exclude;{tt_flying}}}" />
<set name="shared_reuse_group" val="10" />
</item>

skillgrp.dat

5521	1	1	27	-1	1	2.00000000	1	B	skill.white.1218	icon.skill1430	0	0	0	0	8	10

skillname-e.dat

5521	1	a,Mana Potion\0	a,Recover MP for 10 seconds. \0	a,none\0	a,none\0

Edited by Protein
Link to comment
Share on other sites

 

Why?

<effect name="ImmobileUntilAttacked" time="10" val="0">

 

He just said he was finding healer class too much powerful. And it's also a way to don't abuse the potion, if you use it you have to protect yourself or you get rekted.

 

I got only a word to say, it must be a nice alcohol to sleep that deep after drinking it.

Edited by Tryskell
Link to comment
Share on other sites

 

Why?

<effect name="ImmobileUntilAttacked" time="10" val="0">

why not? on Mid rate server you should not use mana pots like all 3 sec with 500 MP reload. 

if you not my mind then use the Mana Pots on all server arround!

 

Haters gonna hate.

Link to comment
Share on other sites

why not? on Mid rate server you should not use mana pots like all 3 sec with 500 MP reload. 

if you not my mind then use the Mana Pots on all server arround!

 

Haters gonna hate.

you can increase the time of pottion.there is no need to added as buff.but thank you for share it maybe someone want it.every idea is good :)

<set name="reuseDelay" val="1000" />

Link to comment
Share on other sites

you can increase the time of pottion.there is no need to added as buff.but thank you for share it maybe someone want it.every idea is good :)

<set name="reuseDelay" val="1000" />

Yes you can, but when you do for example 10 sec reuse time you not see on items the reuse time when its done. So you want count yourself? Or click like a idiot on mana pots?

Link to comment
Share on other sites

why not? on Mid rate server you should not use mana pots like all 3 sec with 500 MP reload. 

if you not my mind then use the Mana Pots on all server arround!

 

Haters gonna hate.

Not only your IQ is lower than Antarctica's temperature but you also wrote it on a label and hold it on top of your head.

I love how kids 2k17 say things without understand what they mean such as "haters gonna hate". You just grew up and saw it on the internet

so you're like "oh its cool ill say it too". 

Link to comment
Share on other sites

Not only your IQ is lower than Antarctica's temperature but you also wrote it on a label and hold it on top of your head.

I love how kids 2k17 say things without understand what they mean such as "haters gonna hate". You just grew up and saw it on the internet

so you're like "oh its cool ill say it too".

What is your problem?

Im a kid? Ok can fahters be a kid? MY IQ is enought trust me my friend, maybe im not the best java dev. And my english not the best but I still not understand what you want from me?

Btw how old are you? Im 23, have a wife, kid since 2 month a job (earn about 3k euro per month) but my IQ is soo bad.

 

You Big brain.

I share here something and get only stupid commends I not know what I do to you...

Link to comment
Share on other sites

Another way of messing with such idea would be to increase the sit/stand Mp regeneration rate on Formulas.java. In other words, players would have to sit or stand to regain their mp back at high rate, hence making them vulnerable again. But I guess your idea makes it a bit more fancy with the effects :P
Thanks for the share though man!

Link to comment
Share on other sites

Yes you can, but when you do for example 10 sec reuse time you not see on items the reuse time when its done. So you want count yourself? Or click like a idiot on mana pots?

activeChar.sendMessage("reuse time of mp 10s"); simple.

Link to comment
Share on other sites

Another way of messing with such idea would be to increase the sit/stand Mp regeneration rate on Formulas.java. In other words, players would have to sit or stand to regain their mp back at high rate, hence making them vulnerable again. But I guess your idea makes it a bit more fancy with the effects :P

Thanks for the share though man!

Yes also a good idea with sit... Or make a skill like relax, just other way round. With down hp and heal mp :)

Thanks for the first good post :D

Link to comment
Share on other sites

Another way of messing with such idea would be to increase the sit/stand Mp regeneration rate on Formulas.java. In other words, players would have to sit or stand to regain their mp back at high rate, hence making them vulnerable again. But I guess your idea makes it a bit more fancy with the effects :P

Thanks for the share though man!

This idea was used in L2Pride tho  :troll: 

Link to comment
Share on other sites

What is your problem?

Im a kid? Ok can fahters be a kid? MY IQ is enought trust me my friend, maybe im not the best java dev. And my english not the best but I still not understand what you want from me?

Btw how old are you? Im 23, have a wife, kid since 2 month a job (earn about 3k euro per month) but my IQ is soo bad.

 

You Big brain.

I share here something and get only stupid commends I not know what I do to you...

I wrote that 1 line u use is useless and u answer back "haters gonna hate". Rofl

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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