• Tags:

    Complex actionPotionConsumableAuto success
  • Name:

    aGreatVigorPotion

  • Displayed name:

    Great Vigor potion

  • Description:

    Gives +4 Vigor for the next 30s.

  • Cast description:

    | AP: vAP.string | CD: vCD.strings | | :---: | :---: | | **Flux: 0** | **Range: vRange.string** | Gives +4 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:

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

    2

  • Action effects:

    • Use case:

      4

    • Name:

      Great Vigor potion

    • Description:

    • Script:

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