Jump to content

[Guide]How many points for hero bonus


DominiQue

Recommended Posts

Find this in olympiad.java :

   protected void giveHeroBonus()

   {

       if (_heroesToBe.size() == 0)

           return;

 

       for (StatsSet hero : _heroesToBe)

       {

           int charId = hero.getInteger(CHAR_ID);

 

           StatsSet noble = _nobles.get(charId);

           int currentPoints = noble.getInteger(POINTS);

           currentPoints += 300;

           noble.set(POINTS, currentPoints);

 

           _nobles.remove(charId);

           _nobles.put(charId, noble);

       }

   }

 

Actual points its 300  

          currentPoints += 300;
,you can put how many you want :)

 

 

CREDITS : V3ndetta[ME}
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

when I edit it to 400 for example only players that have 400 or more points will take hero ?

No ,every player that becomes a hero will receive 400 nobless points instead of 300 as a reward
Link to comment
Share on other sites

  • 5 months later...

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