How to call on enemy stats

Godot Version

4.2.2

Question

Ive been trying to make a random encounter table in Godot, and in doing so I have all of my enemies and their stats stored as “tres” files within godot. I managed to be able to call upon the sprite of the enemy and apply animation to it, but I dont understand how to be able to take its other stats like HP and alter them mid battle for attacks and debuffs. Any and all help would be nice.

To change the stats for individual instances you would have to do it in the corresponding scene. can you show one example enemy-scene?