-
Tags:
['reaction', 'Reaction']['complexAction', 'Complex action'] -
Name:
aCounterSpell
-
Displayed name:
Counter spell
-
Description:
The character uses their reaction to try to counter the ability of another creature using their knowledge of the flux. The countered ability should be Arcana or Resilience based.
-
Cast description:
| Reaction: vReactionCD.strings | CD: vCD.strings | | :---: | :---: | | **Flux: vFluxOrCost.string ➞ vFluxCost.string** | **Range: vRange.string** | On a **vTest.string** test **MR vMR.string** [1d20]: The character counter an ability with a base cost of vCost.string Flux.
-
Condition:
assert(character.sFlux.current >= vFluxCost.value, [[You don't have enough Flux]])
-
AP cost:
0
-
Cooldown:
10
-
Flux cost:
reacMod(8)*cdMod(vCD)*targetMod(1,0)*puncMod(0,1)*vRange*complexMod*effect(vCost,100,character.sCatalystLvl)
-
Variables:
vRange = ListVariable([[vRange]], [[Range]], {[[mediumMod]]}, {[[10m]]}) vCost = NumberVariable([[vCost]], [[Cost]], [[100]], [[]], [[100]]) vReactionCD = StatVariable([[vReactionCD]], 8) vTest = ListVariable([[vTest]], [[Test]], {[[character.sArcana]]}, {[[Arcana]]}) vMR = StatVariable([[vMR]], [[vTest]])
-
On used script:
character.sFlux:changeCurrent(-vFluxCost.value) action.currentCD:set(vCD.value) character:setReaction(vReactionCD.value)
-
Type:
1
-
Action effects:
-
Use case:
0
-
Name:
Counter spell
-
Description:
With a result of vTP.string the actual base flux cost of the countered ability is {vCost.value*(1+0.05*vTP.value)}.
-
Script:
-
Variables:
vTP = NumberVariable([[vTP]], [[TP]], [[]], [[]])
-