- type: entity
  parent: BaseAction
  id: ActionBlink
  name: Blink
  description: Teleport to the clicked location.
  components:
  - type: Action
    useDelay: 10
    itemIconStyle: BigAction
    sound: !type:SoundPathSpecifier
      path: /Audio/Magic/blink.ogg
    icon:
      sprite: Objects/Magic/magicactions.rsi
      state: blink
  - type: TargetAction
    range: 16 # default examine-range.
    # ^ should probably add better validation that the clicked location is on the users screen somewhere,
    repeat: false
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:TeleportSpellEvent

# TODO: Second level upgrade sometime that allows swapping with all objects
- type: entity
  parent: BaseEntitySpellAction
  id: ActionVoidApplause
  name: Void Applause
  description: Clap your hands and swap places with the target.
  components:
  - type: Action
    useDelay: 15
    sound: !type:SoundPathSpecifier
      path: /Audio/Magic/Eldritch/voidblink.ogg
    icon:
      sprite: Objects/Magic/Eldritch/eldritch_actions.rsi
      state: voidblink
  - type: TargetAction
    accessMask:
    - Opaque
    repeat: false
    range: 16
  - type: EntityTargetAction
    event: !type:VoidApplauseSpellEvent
      effect: EffectVoidBlink
