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

not useful, but keep sharing maby someone needs it :]

 

Do not bump old threads, its pointless.

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


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