inevit4ble
Well-Known Member
- Reaction score
- 38
Hi Every1,
Can't work out this pattern. I can see it but not formulate it. Please help
Values are set per level per spell level ie 4/4/3/3/2 means at this level, 4 x Level 1 spells, 4x Level 2 spells, 3x level 3 spells etc
they are going to be saved into a struct but you dont need to worry about that.
Max of the value is 4
Max of 10 values per level
so
4/3/2/1/-/-/-/-/-/-
would be 4x Level 1 spell, 3x LvL2, 2x LvL3, 1x LvL4 and " - " would be 0 / null
Here are the values:
What I want to do is put the formula into a function that takes hero level and set the values to the correct ones for that level.
It would be amazing if you guys could help me out here!
Can't work out this pattern. I can see it but not formulate it. Please help
Values are set per level per spell level ie 4/4/3/3/2 means at this level, 4 x Level 1 spells, 4x Level 2 spells, 3x level 3 spells etc
they are going to be saved into a struct but you dont need to worry about that.
Max of the value is 4
Max of 10 values per level
so
4/3/2/1/-/-/-/-/-/-
would be 4x Level 1 spell, 3x LvL2, 2x LvL3, 1x LvL4 and " - " would be 0 / null
Here are the values:
3/1/-/-/-/-/-/-/-/-
4/2/-/-/-/-/-/-/-/-
4/2/1/-/-/-/-/-/-/-
4/3/2/-/-/-/-/-/-/-
4/3/2/1/-/-/-/-/-/-
4/3/3/2/-/-/-/-/-/-
4/4/3/2/1/-/-/-/-/-
4/4/3/3/2/-/-/-/-/-
4/4/4/3/2/1/-/-/-/-
4/4/4/3/3/2/-/-/-/-
4/4/4/4/3/2/1/-/-/-
4/4/4/4/3/3/2/-/-/-
4/4/4/4/4/3/2/1/-/-
4/4/4/4/4/3/3/2/-/-
4/4/4/4/4/4/3/2/1/-
4/4/4/4/4/4/3/3/2/-
4/4/4/4/4/4/4/3/2/1
4/4/4/4/4/4/4/3/3/2
4/4/4/4/4/4/4/4/3/3
4/4/4/4/4/4/4/4/4/4
4/2/-/-/-/-/-/-/-/-
4/2/1/-/-/-/-/-/-/-
4/3/2/-/-/-/-/-/-/-
4/3/2/1/-/-/-/-/-/-
4/3/3/2/-/-/-/-/-/-
4/4/3/2/1/-/-/-/-/-
4/4/3/3/2/-/-/-/-/-
4/4/4/3/2/1/-/-/-/-
4/4/4/3/3/2/-/-/-/-
4/4/4/4/3/2/1/-/-/-
4/4/4/4/3/3/2/-/-/-
4/4/4/4/4/3/2/1/-/-
4/4/4/4/4/3/3/2/-/-
4/4/4/4/4/4/3/2/1/-
4/4/4/4/4/4/3/3/2/-
4/4/4/4/4/4/4/3/2/1
4/4/4/4/4/4/4/3/3/2
4/4/4/4/4/4/4/4/3/3
4/4/4/4/4/4/4/4/4/4
What I want to do is put the formula into a function that takes hero level and set the values to the correct ones for that level.
It would be amazing if you guys could help me out here!