Jump to content
  • 0

[help] Looking for a way to balance my olympiad.


Question

Posted

I'm looking for a way to balance the characters' stats on olympiad but WITHOUT affecting the normal game.. for example "give skill id="x" to class id="y" while in olympiad , remove it after leaving olympiad...

 

Does someone know how to do it  , or is something like that already shared?

Or anyway is there any way to balance olympiad without affecting the normal gameplay?

 

Thanks in advance.

 

P.S. my server is freya and im using L2j

Recommended Posts

  • 0
Posted

Make +6 items when items are > +6 is a good way i think. After you can add some conditions in L2PcInstance (not a code, but the idea)

 

If (isInOlympiad())
{
addSkill(id,level)
}
else
{
removeSkill(id, lvl)
}

 

And you make a skill that decrease some classes

  • 0
Posted

Balance Olympiad ?

 

[*]Make each participant not able to use boss jewels, nor enchanted stuff( if ++, count like 0).

[*]Give reward according the difference of levels of participant (+ if the low level win, less if the high level win).

[*]Except that, I think previous system of buffs (IL) was good enough. ww2 for mage, haste1 and ww2 for fighters.

 

I don't think in freya there is so much disbalance.... Dwarves got more attack skills, and healers can transform.

  • 0
Posted

Make +6 items when items are > +6 is a good way i think. After you can add some conditions in L2PcInstance (not a code, but the idea)

 

If (isInOlympiad())
{
addSkill(id,level)
}
else
{
removeSkill(id, lvl)
}

 

And you make a skill that decrease some classes

cant  that code be created based on class id?

  • 0
Posted

Well you just add custom to custom, but you just have to retrieve the classId of each participant and send your custom skill using addSkill(id, false). Eventually you can create/clear a map at Olympiads start/stop with the relation classId > skillId.

 

Once cleanup occurs (buffs and so on), use removeSkill(id).

 

You have to search a little to make the thing working on, and names of the methods to edit. If you have a beginning of code, post here for some help.

 

Finally if your balance is unbalanced in Olympiads I would ask myself if your balance is really balanced or simply unbalanced.

 

Balance, balance.

 

Balance.

  • 0
Posted

Actually the subject isnt if i finally reach the "balance" level i want, it's the code itself..

as about the start of the code.. only what Bleadd posted.. any idea? thanks.

  • 0
Posted

Don't tested and i think there is some syntax errors :P

 
if (getClassId() == "id you want)
{
     if (isInOlympiadMode())
     {
           L2Skill sk = new L2Skill (id skill you want, true);
           addSkill(sk);
     }
     else
     {
           removeskill(sk);
      }
}

 

or a switch case..

 

it's a little crappy code, but i think can work..

 

  • 0
Posted

oh nice to meet you again, take a look on our server if you want so :D

Nah,i dont have so mutch free time and if i has i would not even spend a second again on this -beep- called l2brave.alltime wipes :D

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

    • I’ve played around with similar growth setups, and what usually makes the whole thing smoother is pairing them with something steady on the side. For example, I once used famoid.com for a small boost so the main profile didn’t look empty while the Mother/Child flow warmed up. Your themed accounts idea can work nicely as long as the profiles stay active and feel human enough to spark replies.
    • I never said that, can you read? Are you going to start an argument when that isn't the main goal of this post? Or are you just used to the same old discussion mechanics?     Thank you very much for your recommendation. A few months ago, I worked on a project called 'L2Avalon' using a compiled Lucera2 (it was the only thing the project leader provided me), and based on my 20 years of experience playing Lineage 2, I feel like it's broken everywhere, unless the specific version of Lucera I was using was just old. I don't have a problem coding and fixing things, but I am looking for a solid base so I don't do unnecessary work.   Replying to the first guy: I would never discredit paid work; obviously, any paid work will be better than a free one for obvious reasons. But my reality is that I don't want to throw money away, mainly because saving up a large sum of money is a matter of several months in my current situation here in Argentina.
    • I was not expecting either system to be mentioned but to update this information  itopz is a topsite VDSystem is a server vote system   as the creator i gave the vote system free but made mandatory to use my topsite https://github.com/nightw0lv/VDSystem download free, needs an extensive configuration and all java versions to be installed so it can befully be build, but only if you plan to maintain the full solution for all projects in case you want to use only 1 project you just copy the files for example frozen https://github.com/nightw0lv/VDSystem/tree/master/Interlude/Frozen copy paste inside your project, apply the patch of call the main class to gameserver.java and done.   note for active projects minor changes will probably be required   about the latest version hopzone.eu my other topsite is also required to have a server and get an api key same reason system is free, appriciate it. there is a huge difference that also extends as example in l2j Note to the topic owner @zambog420 lucera is also an option specially if you feel coding ready with intellij  
    • good service...recommend.
    • NEW SEASON GRAND OPENING FROM - 23 JANUARY 2026, FRIDAY, 20:00 +2 GMT !
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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