Skip to content

isSpellImmune beta ​

Function of @v12-engine/engine

ts
export declare function isSpellImmune(world: World, entity: Entity): boolean;

Whether a unit is immune to spells: by its type, or a buff it carries (an avatar), as declared or as code decides