-
Tags:
['bluntDamage', 'Blunt damage']['push', 'Push'] -
Name:
aTailSwipe
-
Displayed name:
Tail swipe
-
Description:
The creature spins around itself to swing their tail in a two-step motion.
-
Cast description:
| AP: vAP.string | CD: vCD.strings | | :---: | :---: | | **Flux: vFluxOrCost.string ➞ vFluxCost.string** | **Range: 1m around** | On a successful **vTest.string** test, **MR vMR.string** [1d20]: Turns 180° to one side, hitting all creatures within a 180° arc on the opposite side of the turn, dealing vLvl.string Blunt damage and pushing them {ceil(vLvl.value/2)} meter(s) away. After 2 seconds, the creature completes the turn with another 180°, hitting the other 180° arc with the same effect. Affected creatures can Dodge this action to negate the effect(s).
-
Condition:
assert(character.sFlux.current >= vFluxCost.value, [[You don't have enough Flux]])
-
AP cost:
2
-
Cooldown:
3
-
Flux cost:
apMod(4)*cdMod(vCD)*vRange*(effect(vLvl*75,60)+effect(math.ceil(vLvl/2)*70,70))*sphereMod(1.5)*0.9
-
Variables:
vLvl = NumberVariable([[vLvl]], [[Lvl]], [[1]], [[10]], [[1]]) vLvl.valueDisplay.value = [[ self .. "d10" ]] vRange = ListVariable([[vRange]], [[Range]], {[[contactMod]]}, {[[Contact]]}) vTest = ListVariable([[vTest]], [[Test]], {[[sVigor]]}, {[[Vigor]]}) vMR = StatVariable([[vMR]], [[vTest]])
-
On used script:
character.sFlux:changeCurrent(-vFluxCost.value) action.currentCD:set(vCD.value)
-
Type:
1
-
Action effects:
-
Use case:
1
-
Name:
Tail swipe
-
Description:
-
Script:
effect = character:createEffect([[mTailSwipe]]) effect.displayName:set([[Tail swipe]]) effect.description:set([[The creature completes the tail swipe with another 180° turn, hitting the other 180° arc and dealing {{vLvl.string}} blunt damage and pushing them {{math.ceil(vLvl.value/2)}} meter(s) away. Affected creatures can Dodge this action to negate the effect(s).]]) effect.duration:set(2) effect.script:set([=[character.sRegenAP:addNormal([[-1]], [[aTailSwipe]], [[Tail swipe]])]=]) effect:activate()
-
Variables:
-