Page 1 of 1

Condition in Effect

Posted: Thu Mar 28, 2013 10:05 am
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

Re: Condition in Effect

Posted: Thu Mar 28, 2013 1:18 pm
by St3eT
I think is better make it in Effect handler (try check for example CpHeal.java or Heal.java)

Re: Condition in Effect

Posted: Thu Mar 28, 2013 2:00 pm
by sirrion
i try this you say but i don´t know how to add the line to do the effect