• Tags:

    Complex actionPotionConsumable
  • Name:

    aVigorPotion

  • Displayed name:

    Vigor potion

  • Description:

    Gives +2 Vigor for the next 30s.

  • Cast description:

    | AP: vAP.string | CD: vCD.strings | | :---: | :---: | | **Flux: 0** | **Range: vRange.string** | Gives +2 Vigor for the next 30s.

  • Condition:

  • AP cost:

    2

  • Cooldown:

    10

  • Flux cost:

  • Variables:

    vRange = ListVariable("vRange","Range",{"contactMod"},{"Contact"})
  • On used script:

    action.item.amount:add(-1)
  • On post script:

  • Type:

    2

  • Action effects:

    • Use case:

      4

    • Name:

      Vigor potion

    • Description:

    • Script:

      effect = character:createEffect([[mVigorPotion]])
      effect.displayName.value = [[Vigor potion]]
      effect.description.value = [[Gives +2 Vigor for the next 30s.]]
      effect.duration:set(30)
      effect.script:set([=[character.sVigor:addCurrent([[2]],[[alchimy]],[[Vigor potion]])]=])
      effect:activate()
    • Variables: