Jump to content

Recommended Posts

Posted

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}
  • 1 month later...
  • 3 weeks later...
Posted

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
  • 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.
Note: Your post will require moderator approval before it will be visible.

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...