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

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