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();

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock