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



  • Posts

    • L2Elixir – Patch 4 Is Live!   We’re working non-stop, day and night, to deliver the best possible quality and bring back what made L2Elixir special. This project is built with passion, not shortcuts — for the old-school players who remember, and the new ones who want to experience it properly. Thank you for being part of the journey. Together, we’re making L2Elixir great again ❤️ The legends never fade.    ⚙️ General Enabled Class Change service (same class type only) ALT + B → Services → Character Development Enabled Shift + Click on Treasure Chests Players can now identify real chests (Adena, scroll drops) and use Key / Unlock Event deaths now cancel only debuffs, All self buffs are preserved, fixes issues with Root and similar effects Bladedancer class can now log in even when Max Clients (2) is reached. Since an active Bladedancer is not available for every damage dealer and some players tried to abuse this via VPN or a second PC, this feature was added to keep things fair. protections applies, requires testing!    🎒 Items Crystallizing enchanted items now gives the correct increased crystal amount (retail-like behavior) Removed Agathion Seal Bracelet: Rudolph from Santa rewards (Gracia Final item) Added Dualsword Craft Stamp into Milestone Exchange list    🧙 Skills Fixed Banish Undead lethal chance Hot Springs Malaria and similar effects now level up faster while being attacked
    • thats new SEO level tricks you know nothing of noob - bottom line: exposed.
    • Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc. That's his mail address evgesha.nrnr@gmail.com , stay away!   @Atom @Celestine
    • Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc. That's his mail address evgesha.nrnr@gmail.com , stay away! @Celestine @Atom
  • Topics

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