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