In rogue games, Build affects the values of each module of the game. For example, the default damage of a Dash Attack is 10, and it can’t cause knockback. When getting a Build, the damage of the dash attack is increased by 50%, or by 10 points. How should this requirement be designed?
I know to add attributes to the character’s AttributeSet, such as damage bonus, but this is the character’s damage bonus, what if I have a different damage bonus for each attack action? It’s not possible to add the damage bonus for each attack action to the character’s AttributeSet, and it’s not possible for each instance of an attack action to add its own AttributeSet, right?
I’ve been thinking about this for a long time and haven’t gotten a suitable solution, so I hope my experienced colleagues can give me some advice, thank you very much!