Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / DelayedEffectDescriptionView

Type Alias: DelayedEffectDescriptionView ​

DelayedEffectDescriptionView = { amount?: number | null; type: "preventNextDamage"; } | { type: "defeat"; } | { type: "putOnBottomOfDeck"; } | { type: "takeExtraAction"; } | { type: "rescueCaptured"; } | { type: "extraRegroupPhase"; } | { amount: number; type: "damage"; } | { count: number; type: "drawCards"; } | { type: "returnToHand"; } | { amount: number; type: "heal"; } | { amount: number; type: "indirectDamage"; } | { count: number; type: "shield"; } | { count: number; type: "giveExperience"; } | { type: "ready"; } | { type: "exhaust"; } | { card: number; count: number; type: "createTokens"; } | { type: "triggeredFollowUp"; }

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

Structured, localizable explanation of one delayed effect.

Example:

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

const delayedEffectDescriptionView: DelayedEffectDescriptionView = {
  "type": "preventNextDamage",
}

console.log(delayedEffectDescriptionView)

Released under the MIT License.