-
Tags:
['complexAction', 'Complex action']['potion', 'Potion']['consumable', 'Consumable'] -
Name:
aMinorEnergyPotion
-
Displayed name:
Minor energy potion
-
Description:
Gives +0.1 AP/s for the next 30s.
-
Cast description:
| AP: vAP.string | CD: vCD.strings | | :---: | :---: | | **Flux: 0** | **Range: vRange.string** | Gives +0.1 AP/s 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)
-
Type:
2
-
Action effects:
-
Use case:
4
-
Name:
Minor energy potion
-
Description:
-
Script:
effect = character:createEffect([[mMinorEnergyPotion]]) effect.displayName.value = [[Minor energy potion]] effect.description.value = [[Gives +0.1 AP/s for the next 30s.]] effect.duration:set(30) effect.script:set([=[character.sRegenAP:addCurrent([[0.1]],[[alchimy]],[[Minor energy potion]])]=]) effect:activate()
-
Variables:
-