-
Tags:
['cardAction', 'Card action']['complexAction', 'Complex action'] -
Name:
aBadLuck
-
Displayed name:
Bad luck
-
Description:
Commit a card held in your hand and curse a creature for its next test within the next hour. When the creature makes a test, if the test succeeds with a result equal to or above the threshold determined by the committed card, it must reroll the test. The new roll replaces the original result and the curse then ends. It also ends if the creature does not make a test within one hour. | Committed card | Reroll threshold | | :---: | :---: | | Ace | 1 or above | | King or Queen | 2 or above | | Jack or 10 | 3 or above | | 9 or 8 | 4 or above | | 7 or 6 | 5 or above | | 5 or 4 | 6 or above | | 3 or 2 | 7 or above | After the action resolves, discard the committed card and draw according to the Cartomancer Talent. The Flux cost increases each time Bad Luck is applied to the same creature. Applying Bad Luck to a creature that is already cursed replaces its previous Bad Luck curse.
-
Cast description:
| AP: vAP.string | CD: vCD.strings | | :---: | :---: | | **Flux: vFluxOrCost.string ➞ vFluxCost.string** | **Range: vRange.string** | On a successful **vTest.string** test **MR vMR.string** [1d20]: Commit a **vCard.string** and curse the target for the next hour. On the target's next test, if it succeeds with a result of **vThreshold.string or above**, the target must reroll it. The new result replaces the original one, and the curse ends after the test. This is the vApplications.string@if vApplications.value == 1 then [[st]] end@if vApplications.value == 2 then [[nd]] end@if vApplications.value == 3 then [[rd]] end@if vApplications.value > 3 then [[th]] end time Bad Luck has been applied to this creature.
-
Condition:
assert(character.sFlux.current >= vFluxCost.value, [[You don't have enough Flux]])
-
AP cost:
4
-
Cooldown:
5
-
Flux cost:
apMod(vAP)*cdMod(vCD)*targetMod(1,0)*puncMod(0,1)*vRange*complexMod*effect(vApplications*200,200)
-
Variables:
vApplications = NumberVariable([[vApplications]], [[Applications]], [[1]], [[]], [[1]]) vCard = ListVariable([[vCard]], [[Card committed]], {[[0]], [[1]], [[2]], [[3]], [[4]], [[5]], [[6]], [[7]], [[8]], [[9]], [[10]], [[11]], [[12]]}, {[[Ace]], [[King]], [[Queen]], [[Jack]], [[10]], [[9]], [[8]], [[7]], [[6]], [[5]], [[4]], [[3]], [[2]]}) vThreshold = StatVariable([[vThreshold]], [[1+math.floor((vCard+1)/2)]]) vRange = ListVariable([[vRange]], [[Range]], {[[shortMod]]}, {[[5 m]]}) vTest = ListVariable([[vTest]], [[Test]], {[[character.sReflex]]}, {[[Reflex]]}) vMR = StatVariable([[vMR]], [[vTest]])
-
On used script:
character.sFlux:changeCurrent(-vFluxCost.value) action.currentCD:set(vCD.value)
-
Type:
1
-
Action effects:
-
Use case:
3
-
Name:
Bad luck
-
Description:
-
Script:
if character:has([[mBadLuck]]) then character.mBadLuck:delete() end effect = character:createEffect([[mBadLuck]]) effect.displayName:set([[Bad luck]]) effect.description:set([[On your next test, if it succeeds with a result of {{vThreshold.string}} or above, you must reroll it. The new result replaces the original one. The committed card was the {{vCard.string}}. The curse ends after that test or after one hour.]]) effect.duration:set(3600) effect:activate()
-
Variables:
-