I'm trying to replicate something like this:
-Fighter has the Combo passive.
-Every attack increases his Combo by 1.
-The more combo stacks he has the more damage his attacks do.
-If he does something other than attack like use a skill or item, the combo resets to 0.
I tried editing the code...
Tryna make a damage formula where the luck stat plays as bonus damage.
So your luck is from 0-100 and you have that as a percentage to land a bonus damage and then a roll on your luck as actual bonus damage.
Hard to explain so will show example.
Harold has 25 Luck.
Harold's attack has a...
<Augment Attach: type>
Add Passive State: x
</Augment Attach: type>
Make state with a trait that allows them to equip whatever weapon type you want.
Wait I misread the question.
The above answer is wrong. I'll keep looking.
I feel like it's always reward anyway because most players will reset until the results fall into their favor.
It could be something like loss of a party member via permadeath also Fire Emblem, or loss of stats, significant gold/item loss, buff to enemies on a global scale so now...