Well, something you could try is setting the node as a variable. Something like this:
onready var Enemy = get_node("/root/World/Enemy")
Then all you'd have to do is reference the variable and the inner variable as an extension:
var damage = rand_range(10, 30)
Enemy.health -= damage
if Enemy.health == 0
This is at least what I'd try. Hopefully it helps.