Condition in Effect

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
sirrion
Posts: 44
Joined: Sat Mar 05, 2011 8:34 pm

Condition in Effect

Post by sirrion »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: LAST
L2JDP Revision Number: LAST

Hi trying to create a heal hp skill with the condition heal hp but if the player have 100% hp heals CP

i´m tyring with this at the end of the skill but ever heals HP and CP

Code: Select all

<for>    <effect name="CpHeal" noicon="1" val="#power" >         <player hp="100"/>    <effect>    </for> 
How i make the restriction? tks
User avatar
St3eT
Posts: 961
Joined: Sun Mar 07, 2010 6:50 pm

Re: Condition in Effect

Post by St3eT »

I think is better make it in Effect handler (try check for example CpHeal.java or Heal.java)
If i should be black sheep for sure no as punishment
Image
sirrion
Posts: 44
Joined: Sat Mar 05, 2011 8:34 pm

Re: Condition in Effect

Post by sirrion »

i try this you say but i don´t know how to add the line to do the effect
Post Reply