Hi all,
I need to respawn a player once he is "dead" but not really dead. He will respawn once he receives enough damage to be dead.
I have this:
Example is a spider. It makes 1.5 damage but ignores the armour type that I am wearing.
When wearing armour (diamond etc.) I get less than 1.5 hearts damage but Skript's damage variable is always 1.5 (in the exmaple of the spider). Also tried "final damage" from skellett which results in 3 damage.
So how would I do it correctly?
I need to respawn a player once he is "dead" but not really dead. He will respawn once he receives enough damage to be dead.
I have this:
code_language.skript:
if damage is greater than or equal to health of victim:
#do something
Example is a spider. It makes 1.5 damage but ignores the armour type that I am wearing.
When wearing armour (diamond etc.) I get less than 1.5 hearts damage but Skript's damage variable is always 1.5 (in the exmaple of the spider). Also tried "final damage" from skellett which results in 3 damage.
So how would I do it correctly?