Jump to content

Recommended Posts

Posted

search for this code in Olympiad.java:

protected boolean makeCompetitionStart()

{

  if (_playerOne == null || _playerTwo == null)

  {

  _aborted = true;

  return false;

  }

 

_sm = new SystemMessage(SystemMessageId.STARTS_THE_GAME);

 

try {

for (L2PcInstance player : _players)

{

player.setIsOlympiadStart(true);

player.sendPacket(_sm);

}

} catch (Exception e) {

_aborted = true;

return false;

}

return true;

}

Add these lines:

player.setCurrentCp(player.getMaxCp());

player.setCurrentHp(player.getMaxHp());

player.setCurrentMp(player.getMaxMp());

So it looks like this:

protected boolean makeCompetitionStart()

{

  if (_playerOne == null || _playerTwo == null)

  {

  _aborted = true;

  return false;

  }

 

_sm = new SystemMessage(SystemMessageId.STARTS_THE_GAME);

 

try {

for (L2PcInstance player : _players)

{

player.setCurrentCp(player.getMaxCp());

player.setCurrentHp(player.getMaxHp());

player.setCurrentMp(player.getMaxMp());

 

player.setIsOlympiadStart(true);

player.sendPacket(_sm);

}

} catch (Exception e) {

_aborted = true;

return false;

}

return true;

}

It will heal the olympiad participants just before the match starts.

 

Credits : L2jForum

  • 7 months later...
  • 1 month later...
Posted

Non sense, you can achieve the prefrenzy and the others 1-2 seconds before the match begins even if you get healed you'll have them. So what's the point on that?

Posted

Non sense, you can achieve the prefrenzy and the others 1-2 seconds before the match begins even if you get healed you'll have them. So what's the point on that?

+1 this is what is said in other topic when this topic was in reply, you have to add stopskilleffect bla bla from intrepid's share or delete heal mp cp hp depends what you like ;)

  • 1 month later...
Posted

Hello Guys..i want to ask a newbie question...where can i find Olympiad.java file?

 

Core?

 

You should check Sticked Guides and other tutortorials, that is my advice for You.

Posted

first of all dont use this thing.. its included in most packs and its not anything more than healing the player.. so what.. he will use it earlier so..  better use smt like stopskilleffect bla bla

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