• Tags:

    IllusionAuto success
  • Name:

    aIllusorySwap

  • Displayed name:

    Illusory Swap

  • Description:

    You instantly swap positions with one of your **permanent illusions**.

  • Cast description:

    | AP: vAP.string | CD: vCD.strings | | :---: | :---: | | **Flux: vFluxOrCost.string ➞ vFluxCost.string** | **Range: Self** | You swap positions with one of your permanent illusions located within **vDistance.string**.

  • Condition:

    assert(character.sFlux.current >= vFluxCost.value, [[You don't have enough Flux]])
  • AP cost:

    2

  • Cooldown:

    5

  • Flux cost:

    apMod(vAP)*cdMod(vCD)*targetMod(1,0)*puncMod(0,1)*selfMod*effect(vDistance*25,75)*noTestMod
  • Variables:

    vDistance = NumberVariable([[vDistance]], [[Distance]], [[3]], [[]], [[3]])
    vDistance.valueDisplay.value = [[ self .. " m" ]]
  • On used script:

    character.sFlux:changeCurrent(-vFluxCost.value)
  • On post script:

    if (success) then
        action.currentCD.value = vCD.value
    end
  • Type:

    1

  • Action effects:

    No effects