SaLeoTragem Posted May 29, 2009 Posted May 29, 2009 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
Versus Posted February 27, 2010 Posted February 27, 2010 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?
Gxz Posted February 27, 2010 Posted February 27, 2010 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 ;)
neokosmitis Posted March 31, 2010 Posted March 31, 2010 Hello Guys..i want to ask a newbie question...where can i find Olympiad.java file?
Matim Posted March 31, 2010 Posted March 31, 2010 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.
`Rοmeο Posted March 31, 2010 Posted March 31, 2010 oke thanks oke spam ? didnt you see the date of the post ?
Gxz Posted March 31, 2010 Posted March 31, 2010 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now