Hello, so I am currently revamping the projectile system in my game and I need some feedback on the design.
My main issue currently is how I should be calculating the damage of the projectile. I will use a classic fireball as an example. My current options are:
1. Fireball hits a player and it does damage to the hit player.
2. Fireball hits a player, but this time theres an explosion that will basically be the hitbox for damage,
so anybody inside of the explosion will be dealt damage and the fireball itself will not do any
damage.
I am certain there are other ways to do it as well, please let me know which you think will be appropriate or if you have better design options, let me know!