kw / camp

Larp Campaign Manager
MIT License
0 stars 1 forks source link

Gift of Hateful Retribution cost #199

Open tkaiman opened 6 months ago

tkaiman commented 6 months ago

Gift of hateful retribution is granted by sourcerer as your base class as an option. When upgrading to a higher tier of Gift of Hateful Retribution, you are just supposed to pay for the difference in cost between the two, but it charges the difference in cost +1

e.g. if I'm a sourcerer, going from Gift of hateful retribution rank 1 to gift of hateful retribution rank 4, it should cost me 3cp, but it costs me 4.

kw commented 6 months ago

The character engine is stateless, so it doesn't know the order in which bonuses and purchases are acquired. So for perks with varying costs, I had to decide which ranks to apply bonuses to. It seemed at the time like as though ranks tended to get more expensive as you went up, so I made the bonus always apply to the top-most ranks, but this actually varies. I think GoHR is the only one that has the bottom rank as the most expensive.

I suppose the engine will need to be more flexible about how it optimizes bonus rank assignment.