Hello everyone.
So in my game you are able to decide one elemental weakness and one element you are resistant against for your character.
What would I have to do to give your character these elemental weaknesses and strengths mid-game?
Give them better equipments?
You could create actors that are identical except each has a different weakness, then identical classes but with a different resistances. After that run an event giving the player a choice between weaknesses and swap their actor based on that. The one more choice for resistances and swap their class for that.
You could also technically just do it with classes, but then you'd need a different one for every combination. Seems like a lot of work.
This depends how do you mean by "mid game"
Do you mean, in a temporary way ? in a definitive way ? with an item ? with a skill ?
you can either use states for temporary changes, or you'll need a dynamic trait plugin (those already exist)
Sorry for the late reply! I somehow didn't get a notification...
Anyway, thanks to anyone for your suggestions! I decided to go with a parallel process that keeps adding a state to the actor.
If I somehow get into trouble with that, I try using your guys' ideas!