No Damage Ticks (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.5, 2.11 (deprecated)

Syntax

[the] (invulnerability|invincibility|no damage) tick[s] [of %livingentities%]

Description

The number of ticks that an entity is invulnerable to damage for.

Examples

on damage:
	set victim's invulnerability ticks to 20 #Victim will not take damage for the next second

View source