more then one condition, how?

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

more then one condition, how?

Post by babyjason »

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

hi, i d like to add 2 conditions to a skill, as in , you only can summon an npc if :

1. not in olympiad
2. when hp is full


i did it like this, will it work?

Code: Select all

<skill id="312" levels="1" name=" Event">        <set name="itemConsumeCount" val="1"/>        <set name="target" val="TARGET_SELF"/>        <set name="skillType" val="SPAWN" />        <set name="operateType" val="OP_ACTIVE" />        <set name="hitTime" val="1" />        <set name="staticHitTime" val="true" />        <set name="npcId" val="1" />        <set name="despawnDelay" val="1" />        <set name="isSummonSpawn" val="true" />        <set name="reuseDelay" val="1" />            <cond msgId="1509">    <player olympiad="false" />    <player hp="100" />    </cond>    </skill>
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: more then one condition, how?

Post by Zoey76 »

Code: Select all

 <cond msgId="1509">    <and>        <player olympiad="false" />        <player hp="100" />    </and></cond>
Powered by Eclipse 4.30 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Re: more then one condition, how?

Post by babyjason »

Zoey76 wrote:

Code: Select all

 <cond msgId="1509">    <and>        <player olympiad="false" />        <player hp="100" />    </and></cond>
ty so much!
Post Reply