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

    • His posts clearly show how unprofessional he is. He acts as though there are no stable and well-established projects that people actually enjoy. PlayInera, for example, is one of those projects where the staff works hard to deliver a solid, stable server experience.
    • You think you have good “l2j” files until you try running a low-rate server.   Saying “there’s not a single L2 server out there worth mentioning” just shows you probably only know the first 10 servers on voting sites, the same voting sites that owned by them. You call the forum dead, yet you’re here discussing your next projects… From my perspective, you don’t seem ready to run any L2 server in 2025. Around 70% of players are here for RMT or ask for payment just to bring their clan, and you really think the community cares about Premium or donations or files quality? The other 20% spend their time downloading and deleting servers all day, playing for one day, then quitting for whatever random reason. And finally, the last 10% are the only ones who actually play because they genuinely like your features, your server files, and your overall project. Good luck 🙂
    • I genuinely admire your bravery - in an age where AI can whip up something better in under a minute, you still stubbornly try to sell these "projects" of yours on a forum that’s been clinically dead for years. That’s no longer determination, that’s digital archaeology. I just can’t tell whether you’re actually trying to make money, or simply testing how much we can endure before we ask an AI to generate you some actual talent.   And ofc AI will make it for free, $220 saved.
    • I’m glad I’m not the only one who appreciates Maxthor’s involvement in group gay orgies, he can’t be bothered to reply to messages, but covering the entire forum in gay lights is absolutely no issue for him. As for the project - the forum is packed with feedback from the testers, the lads are spending every spare moment fixing even the tiniest typo in an NPC’s text. I’ll share the links as soon as I get the green light. Edit: I forgot to add that the GM recruitment will begin once the links are released. Three people will be accepted, and they’ll work in a three-shift rotation so that there’s always a GM available online.
    • Added: a brand-new default dashboard template. You can now add multiple game/login server builds. Full support for running both PTS & L2J servers simultaneously, with switching between them. Payment systems: added OmegaPay and Pally (new PayPal-style API). Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account. Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.     Look demo site: demo
  • Topics

×
×
  • 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