IntangibleRule
IntangibleRule.new()
Returns a new IntangibleRule.
intangible_rule.duration
The maximum time the rule should last for in game frames.
The default value is 120.
intangible_rule.hit_weaknesses
Hit flags combined into a single value see HitProps
The default value is Hit.PierceInvis
intangible_rule.element_weaknesses
A list of Elements
The default value is {}
intangible_rule.on_deactivate_func = function()
Called when the duration runs out, or when the defense is pierced.