what’s wrong with the codes?
in this picture, when the player attacks the enemy the floating text will appear but it doesn’t deal any damage.
this is the code on player skill (on skill hit)
but when i change the (temporary finalDamage as float to this
now when i play the game, it all works.
so what’s the problem with my first code?