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

 

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>

im not sure but i think : val=  "OP_ACTIVE"/>  val="OP_PASSIVE"/>

  • 0
Posted

You really think that hes able to? :troll:

 

Just do what guy before me/you said/did and change to target_self :)

  • 0
Posted (edited)

or...

 

search RequestRestartPoint.java and add auto noblesse upon death using getEffetct(skill) function

i know how to do that but i want to do that when some1 is noblesse don't loss buffs... i just want to do it with that way...

 

still doesn't work

Edited by Komnis
  • 0
Posted

i tried setting Nobless Blessing OP_PASSIVE when I was 13-14 year old, since then I know that nobless is coredone and has no effect if its passive

  • 0
Posted

i tried setting Nobless Blessing OP_PASSIVE when I was 13-14 year old, since then I know that nobless is coredone and has no effect if its passive

and how can i do that? i want to make people don't loss buffs when they are nobless. can u help me to do that?

  • 0
Posted (edited)

find

@Override
public final void stopAllEffectsExceptThoseThatLastThroughDeath()
{
super.stopAllEffectsExceptThoseThatLastThroughDeath();
updateAndBroadcastStatus(2);
}

make it like

 

 
@Override
public final void stopAllEffectsExceptThoseThatLastThroughDeath()
{
if (!isNobless())
   return;
super.stopAllEffectsExceptThoseThatLastThroughDeath();
updateAndBroadcastStatus(2);
}

this is a draft, the check should be on the doDie

Edited by xdem
  • 0
Posted

 

find

@Override
public final void stopAllEffectsExceptThoseThatLastThroughDeath()
{
super.stopAllEffectsExceptThoseThatLastThroughDeath();
updateAndBroadcastStatus(2);
}

make it like

 

 
@Override
public final void stopAllEffectsExceptThoseThatLastThroughDeath()
{
super.stopAllEffectsExceptThoseThatLastThroughDeath();
updateAndBroadcastStatus(2);
}

 

i have got l2j gracia final. can u help me and tell me where i can find exact this and what to do? because i see that it's the same. :P

  • 0
Posted

i have got l2j gracia final. can u help me and tell me where i can find exact this and what to do? because i see that it's the same. :P

 

i fixed my quote, just ipb sucks, anyway the method is located into L2PcInstance obviously

  • 0
Posted (edited)
if (!isNobless())
return;

lol, something is wrong, it's it? "!" :happyforever:

 

Search for stopAllEffectsExceptThoseThatLastThroughDeath(), as I remember, at least on aCis, it's on L2Playable and add there a check

if(isNoble()) //if noble then do nothing
  return;
 
//else
stopAllEffectsExceptThoseThatLastThroughDeath
Edited by SweeTs
  • 0
Posted
if (!isNobless())
return;

lol, something is wrong, it's it? "!" :happyforever:

 

Search for stopAllEffectsExceptThoseThatLastThroughDeath(), as I remember, at least on aCis, it's on L2Playable and add there a check

if(isNoble()) // or w/e the method is
  return;
 
stopAllEffectsExceptThoseThatLastThroughDeath

 

 

ye the invert is wrong, btw Sweets adding return; on doDie is not a good idea since it still has important code underneath it, so if you add it on doDie it must be

 

 

if(!isNoble()) // or w/e the method is

      stopAllEffectsExceptThoseThatLastThroughDeath

 
 
here the invert is necessary thats why I messed up the first one
  • 0
Posted (edited)

Yup, I tho about the same, since such check about noble is just 'more shit code', so better to make it as you said ;)

Edited by SweeTs
  • 0
Posted
 
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();

 

 

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