Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / EffectRestrictionView

Type Alias: EffectRestrictionView ​

EffectRestrictionView = "cantAttack" | "cantAttackPlayer" | "cantAttackBases" | "cantBeAttacked" | "cantBeHealed" | "cantDealCombatDamage" | "cantGainAbilities" | "cantGainKeywords" | "cantHealBase" | "cantPlayEvents" | "cantReady" | "cantTakeControl" | "loseAbilities" | "loseAllAbilities" | "loseAllKeywords" | "loseKeywords" | "preventEffects" | "other"

Defined in: packages/ts-sdk/src/generated/types/common.ts:1460

Public restriction category. Raw runtime filters remain engine-private.

Example:

ts
import type { EffectRestrictionView } from '@my-swu/simulator-client'

const effectRestrictionView: EffectRestrictionView = "cantAttack"

console.log(effectRestrictionView)

Released under the MIT License.