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 am very satisfied, wonderful work and trustworthy, thank you for my logo.
    • ✔ We offer more services than listed. Prices of goods may vary depending on country, warranty, phone number, and other factors. We are available 24/7. ⠀⠀⠀⠀⠀⠀⣀⣠⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⣴⡿⠋⠉⠉⠻⢿⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢸⣿⠀⠀⠀⠀⠀⠀⠹⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠈⣿⡄⠀⠀⠀⠀⠀⠀⢸⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠸⣷⠀⠀⠀⠀⠀⠀⢸⣿⠀⠀⢀⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⢻⣇⠀⠀⠀⠀⠀⢸⣿⣿⡿⠿⠿⠟⠛⠛⠻⢿⣿⣶⣄⠀⠀⠀ ⠀⠀⠀⠀⠀⢈⣿⠆⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣤⣤⣤⣤⠀⠈⠻⣿⣇⠀⠀ ⠀⠀⠀⠀⢀⣾⡏⠀⠀⠀⠀⠀⠀⠀⣴⡿⠋⠉⠀⠀⠀⠀⠀⠀⠀⢹⡿⠀⠀ ⠀⠀⣀⣤⣼⣿⠀⠀⠀⠀⠀⠀⠀⢸⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⣷⣄⠀ ⢠⣾⠟⠋⠉⠋⠀⠀⠀⠀⠀⠀⠀⠈⣿⣦⣀⣀⣀⣤⣤⣶⣶⠿⠋⠁⢹ ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⡟⢉⣿⠋⠉⠉⠉⠁⠀⠀⠀⠀⢸⣿⠀ ⢸⣿⠀⠀⠀⠀⠀⢀⣀⣀⣤⣴⠿⠋⠀⠘⣷⡀⠀⠀⠀⠀⠀⠀⢀⣴⣿⠏⠀ ⢸⣿⡄⠀⠀⠀⠀⠈⠉⠉⠁⠀⠀⠀⠀⠀⣸⣿⢶⣤⣤⣴⡶⠿⠛⠙⣿ ⠈⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⣽⣿⠀ ⠀⠘⣿⣆⠀⠀⠀⠀⣠⣤⡀⠀⠀⠀⠀⠈⠻⣧⣀⡀⠀⠀⠀⣀⣠⣴⡿⠇⠀ ⠀⠀⠘⢿⣿⣦⣤⣴⡿⠻⠿⣷⣦⣤⣤⣤⣴⣾⣿⡿⠿⠿⠿⠟⠛⠉⠀⠀⠀ ⠀⠀⠀⠀⠀⠀
    • Frozen is more popular coz adm can edit npc from client side and no need dig in xml and etc  )
    • Your work is as good as your arrogance. If you didn't break 10 systems to fix 1, I would recommend aCis. Yes, I use aCis and I fixed a lot of things that you left aside to reorganize and rename things. You insist on recommending your broken public project. Don't do that because there are many people who dream of owning a server, and in aCis 409 every dream is broken. I've seen many people break things by using this. aCis 409 doesn't work at the basics. Water movement and flying movements are broken, which is the basics. Seven Sings is completely broken, Sieges need fixing, and worst of all, level 3 and 4 clan quests are bugged, besides other quests that you intentionally broke and still recommend. You are an excellent programmer, but your arrogance in feeling superior to everyone is killing you. Happy New Year to you, and be more transparent and honest when recommending this. I'm not sharing the corrections I made, nor my Geodata system, precisely because of your arrogance. I'll soon post a video of my Geoengine system, which you spent 12 years on and didn't finish. I can send you a list of everything you need to fix, but you're too arrogant for that because you're a superior God and don't accept advice from mortals.
  • 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