• Tags:

    Illusion
  • Name:

    aIllusoryBirds

  • Displayed name:

    Illusory Birds

  • Description:

    You conjure a flock of illusory birds that swarm your targets, flapping and screeching around their heads. Beset creatures struggle to react to incoming threats, hindering their defensive maneuvers.

  • Cast description:

    | AP: vAP.string | CD: vCD.strings | | :---: | :---: | | **Flux: vFluxOrCost.string ➞ vFluxCost.string** | **Range: vRange.string** | On a successful **vTest.string** test **MR vMR.string** [1d20]: Illusory birds swarm vTargets.string if vTargets.value > 1 then [[within 5 meters of each other, ]] endinflicting **-vMalus.string** to their **Dodge**, **Resist**, **Block** and **Protect** action tests for **vDuration.string**. *Affected creatures can react with their **Resist** to cancel the effects of this action.*

  • Condition:

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

    4

  • Cooldown:

    5

  • Flux cost:

    apMod(vAP)*cdMod(vCD)*targetMod(vTargets,5)*durMod(vDuration)*vRange*reacSave*cancelOnSave*effect(vMalus*45,22.5)*2*0.25
  • Variables:

    vRange = ListVariable([[vRange]], [[Range]], {[[mediumMod]]}, {[[10 m]]})
    vTest = ListVariable([[vTest]], [[Test]], {[[character.sReflex]]}, {[[Reflex]]})
    vMR = StatVariable([[vMR]], [[vTest]])
    vTargets = NumberVariable([[vTargets]], [[Targets]], [[1]], [[5]], [[1]])
    vTargets.valueDisplay.value = [[ self .. " creature·s" ]]
    vMalus = NumberVariable([[vMalus]], [[Malus]], [[1]], [[10]], [[1]])
    vDuration = NumberVariable([[vDuration]], [[Duration]], [[5]], [[30]], [[5]])
    vDuration.valueDisplay.value = [[ self .. " seconds" ]]
  • On used script:

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

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

    1

  • Action effects:

    • Use case:

      3

    • Name:

      Illusory Birds

    • Description:

    • Script:

      effect = character:createEffect([[mIllusoryBirds]])
      effect.displayName:set([[Illusory Birds]])
      effect.description:set([[-{{vMalus.string}} to Dodge, Resist, Block and Protect action tests.]])
      effect.duration:set({{vDuration.value}})
      effect:activate()
    • Variables: