in reply to Re: Calculate easiest way to 'level results'
in thread Calculate easiest way to 'level results'

If the character is far from his goal, you might subtract more than you are allowed.

my @points = ([10,12,'HP'],[10,17,'Mana'],[10,7,'Spells']); my @need = (40, 40, 40);
You have 30 and need 120 You need 90 more, and you gain them at 36 per hour That should take 90/36 hour(s). New value for HP: 10 New value for Mana: -2 <----------- New value for Spells: 22

Replies are listed 'Best First'.
Re^3: Calculate easiest way to 'level results'
by Roy Johnson (Monsignor) on Sep 19, 2007 at 17:51 UTC
    In that case, it is better to wait to do any shuffling. The total time required to achieve your goal will be longer if you choose a sub-optimal distribution of points. As I noted in my now-often-updated original post, there's no reason you shouldn't just wait until you have the required number of points, anyway.

    Caution: Contents may have been coded under pressure.