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

Also remove the "else". Why did you leave it there?

 

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

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

Hmmm, I was wondering, how to make that this feature would be active only in one my choosen zone, hmm like primeval isle wharf or smthng like that ? :)

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

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