Jump to content

Question

Posted

How can i make noblesse as passive?

<skill id="1323" levels="1" name="Noblesse Blessing">
  <set name="mpInitialConsume" val="14"/>
  <set name="mpConsume" val="55"/>
  <set name="itemConsumeId" val="3031"/>
  <set name="itemConsumeCount" val="5"/>
  <set name="target" val="TARGET_ONE"/>
  <set name="reuseDelay" val="2000"/>
  <set name="hitTime" val="4000"/>
  <set name="skillType" val="BUFF"/>
  <set name="isMagic" val="true"/>
  <set name="operateType" val="OP_ACTIVE"/>
  <set name="canBeDispeled" val="false"/>
  <set name="castRange" val="400"/>
  <set name="effectRange" val="900"/>
  <set name="aggroPoints" val="1"/>
  <for>
    <effect name="NoblesseBless" time="3600" val="0"/>
  </for>
</skill>

Recommended Posts

  • 0
Posted (edited)

 

final L2PcInstance actingPlayer = getActingPlayer();
 
if (actingPlayer.isNoble())
{
// Do nothing
}
// Stop all active skills effects in progress
else if (isPhoenixBlessed())
{
// remove Lucky Charm if player has SoulOfThePhoenix/Salvation buff
if (getCharmOfLuck())
stopCharmOfLuck(null);
if (isNoblesseBlessed())
stopNoblesseBlessing(null);
}
// Same thing if the Character isn't a Noblesse Blessed L2Playable
else if (isNoblesseBlessed())
{
stopNoblesseBlessing(null);
 
// remove Lucky Charm if player have Nobless blessing buff
if (getCharmOfLuck())
stopCharmOfLuck(null);
}
else
stopAllEffectsExceptThoseThatLastThroughDeath();

 

what is that? i done what other ppl said and it is working. can u give me more details about it? maybe it's better to use it. :)

 

thank u guys :)

Edited by Komnis

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