Jump to content

Recommended Posts

Posted

omg,

	// Stop all active skills effects in progress on the L2Character,
	// if the Character isn't affected by Soul of The Phoenix or Salvation
       if (this instanceof L2Playable && ((L2Playable)this).isPhoenixBlessed())
       {
          if (((L2Playable)this).getCharmOfLuck()) //remove Lucky Charm if player has SoulOfThePhoenix/Salvation buff
             ((L2Playable)this).stopCharmOfLuck(null);
           if (((L2Playable)this).isNoblesseBlessed())
              ((L2Playable)this).stopNoblesseBlessing(null);
       }
       // Same thing if the Character isn't a Noblesse Blessed L2PlayableInstance
       else if (this instanceof L2Playable && ((L2Playable)this).isNoblesseBlessed())
       { 
		((L2Playable)this).stopNoblesseBlessing(null); 

       	if (((L2Playable)this).getCharmOfLuck()) //remove Lucky Charm if player have Nobless blessing buff 
			((L2Playable)this).stopCharmOfLuck(null); 
	} 
	else
		//stopAllEffectsExceptThoseThatLastThroughDeath();
       
       if (this instanceof L2PcInstance && ((L2PcInstance)this).getAgathionId() != 0)
       	((L2PcInstance)this).setAgathionId(0);
	calculateRewards(killer);

	// Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
	broadcastStatusUpdate();

if you delete stopAllEffectsExceptThoseThatLastThroughDeath();, you will have

	else
       
       if (this instanceof L2PcInstance && ((L2PcInstance)this).getAgathionId() != 0)
       	((L2PcInstance)this).setAgathionId(0);
	calculateRewards(killer);

 

:O

can any1 see where is the problem?

Posted

i know

 

Just want to see if the creator of this awesome feature or any spamer of "ty man", would be able to see it

 

right guys, xD, the basic mod is just the "//"....! i have changed it :P :P :P

  • 1 month later...
Posted

guys still do not understand how to have an option to enable or disable this mod. Would someone there to complete the mod with the option to activate and deactivate it?

 

grateful I am still beginner and want to learn from guys who are fantastic

 

sorry I'm from Brazil using English translator auhauahaua

Posted

code is deployed without any error but still the Plays are losing the buffer to die. use rev epilogue l2jserver anyone have any idea how to fix?

 

ta see how the code

 

 // Same thing if the Character isn't a Noblesse Blessed L2PlayableInstance
	else if (this instanceof L2Playable && ((L2Playable)this).isNoblesseBlessed())
	{
		((L2Playable)this).stopNoblesseBlessing(null); 

		if (((L2Playable)this).getCharmOfLuck()) //remove Lucky Charm if player have Nobless blessing buff 
			((L2Playable)this).stopCharmOfLuck(null); 
	}

	if (this instanceof L2PcInstance && ((L2PcInstance)this).getAgathionId() != 0)
		((L2PcInstance)this).setAgathionId(0);
	calculateRewards(killer);

  • 3 months later...
  • 1 month later...
Posted

tell me please and how to do so would not buff subsided only those players who status noobles....

 

And simple check if (player.isNoble());

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
Reply to this topic...

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