#How to fix that?

1 messages · Page 1 of 1 (latest)

dawn snow
#

Not sure how to do it

sharp bone
#

only read values from scriptableObjects, never write to them. You need to add a Health field to your EnemyScript, and set it's Health equal to the Health of your SO, but never change the Health on your SO, only on the actual gameObject

sage flame
#

Your variable is static, isn't it?
Or more likely you're modifying the scriptable object itself when causing damage