Is there a Better way to do this damage calculation?

The main idea is that Spells have Base damage + 4 elements, You add the Base Damage + Modifiers from your Character - Debuffs from the other player which = Total Damage (the damage type does not matter). The reason I have Bools for each elements is becuase if I’m playering a character that increases Fire Damage by 5, spells with Fire(0) will recieve that buff, BUT spells with Fire(-), can’t be buffed.

Damage Class:

image

Think of it as of damage processor BP. Try:

or

See if the system makes sense in your case.


There’s nothing technically wrong with what you’re showing. But you may want additional features later on and it might be difficult to extend a system that is too fixed.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.