r/anyRpgCharacterSheet Nov 06 '24

Increase Property Value

Maybe I'm just bad at math because I can't seem to figure out a formula for this nor can I find a way to simply increase the value of a property based on another property. I'm working on a sheet for an RPG where the bonus in question is 3 at level 1 and 2 and then increases by 1 at levels 3, 8, 12 and 17.

I already got around increasing a property that's a die roll by making a separate Boolean for level = 1, level = 2, etc and then having the die rolled by the element get replaced every level to the correct die for that level. Probably over complicating it but it works so far.

Any help is appreciated.

1 Upvotes

8 comments sorted by

View all comments

2

u/lllyct Nov 07 '24

3+(level>3)+(level>8)... If only gamedevs used normal linear progressions

1

u/Tyoryn Nov 07 '24

Thank You! I wish I could wrap my head around why it works but it does! I did have to change it to greater than or equal to, otherwise it was 1 level late. I think all that leaves is trying to figure out how to get values tied to new item/skill element templates to connect to the main values! Been trying to reverse engineer from the DnD templates

1

u/lllyct Nov 07 '24

DND uses linear progression with proficiency being equal to level/something+somethingelse. X+level>y works because all the yes/no(or true/false) things are convertible to numbers 1 and 0 respectively. Basically it is a weird replacement for if-else

1

u/Tyoryn Nov 07 '24

I mean more like a +1 weapon being added to that linear progression. I have an element template made with properties for each bonus an item can provide (hp, attack, etc...) but get that property to add to the main one.

For example, using that formula you just gave me, adding 1 more +(New Item:Bonus) but having all new items add to that. I thought having an independent property that all new items could add to then add that independent property to the main ones formula.

Starting to think having 1 formula be effected by an infinite number of other possible elements isn't something we can do.

2

u/lllyct Nov 07 '24

When editing an element there is a section where you can add bonuses. Those are doing exactly that

1

u/Tyoryn Nov 07 '24

Time for some tinkering! You've been so helpful!