Jump to content

[Share]Pre frenzy and other shits for IT


Recommended Posts

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

Link to comment
Share on other sites

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

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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

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