-
Name:
mBurningI
-
Displayed name:
Burning I
-
Description:
When performing an action that deals fire damage, the character may spend 4 SP to apply a burning effect to the target. If applied, the target suffers 1 fire damage every 2 seconds for a total duration of 6 seconds. While affected by this burning effect, the target may spend 1 AP at any time during its turn to remove the effect. Reapplying this effect while it is already active resets the duration to 6 seconds; damage does not stack beyond the defined 1 fire damage every 2 seconds.
-
Cost:
expCost(550,1350)-0
-
Script:
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Condition:
action:tagsContain([[fireDamage]])
-
Description:
-
Variables:
vBurningCost = 4 vBurningDuration = 6 vBurningRemove = 1 vBurningPeriod = 2
-
Script:
-
Action effects:
-
Use case:
vApplyBurn*3
-
Name:
Burning
-
Description:
You can spend vBurningCost.string SP to deal 1 fire damage every vBurningPeriod.string second(s) for vBurningDuration.string seconds; the target may spend vBurningRemove.string AP to remove the effect early.
-
Script:
if not character:has([[mBurning]]) then mBurning = character:createEffect([[mBurning]]) mBurning.displayName:set([[Burning]]) mBurning.description:set([[The creature takes 1 fire damage every {{vBurningPeriod}} second(s). They may spend {{vBurningRemove}} AP to remove the effect early.]]) mBurning.recurrentScript:set([=[if (((character.currentTime - {={character.currentTime}=}) % {{vBurningPeriod}}) == 0) then character:damage(1, 1, [[Fire]]) display([[Burning]], [[You have suffered 1 point of fire damage.]]) end]=]) mBurning:activate() end character.mBurning.duration:set({{vBurningDuration}})
-
Variables:
vApplyBurn = ToggleVariable([[vApplyBurn]],[[Burn]])
-
-
-
Upgrades:
-
Name:
mBurningII
-
Displayed name:
Burning II
-
Description:
Decrease the period between damage to 1 second.
-
Cost:
expCost(1050,2450)-275
-
Script:
master.displayName:set([[Burning II]]) master.description:replace([[every 2 seconds]],[[every second]]) master.addOns[1].variables:replace([[vBurningPeriod = 2]],[[vBurningPeriod = 1]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Name:
mBurningIII
-
Displayed name:
Burning III
-
Description:
Increase the burn duration to 10 seconds.
-
Cost:
expCost(1550,3700)-525
-
Script:
master.displayName:set([[Burning III]]) master.description:replace([[6 seconds]],[[10 seconds]]) master.addOns[1].variables:replace([[vBurningDuration = 6]],[[vBurningDuration = 10]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Name:
mBurningIV
-
Displayed name:
Burning IV
-
Description:
Reduces the SP needed to apply the burn to 3 SP.
-
Cost:
expCost(1950,4650)-775
-
Script:
master.displayName:set([[Burning IV]]) master.description:replace([[spend 4 SP]],[[spend 3 SP]]) master.addOns[1].variables:replace([[vBurningCost = 4]],[[vBurningCost = 3]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Name:
mBurningV
-
Displayed name:
Burning V
-
Description:
Increase the AP cost to remove the burn to 2 AP.
-
Cost:
expCost(2300,5550)-975
-
Script:
master.displayName:set([[Burning V]]) master.description:replace([[spend 1 AP]],[[spend 2 AP]]) master.addOns[1].variables:replace([[vBurningRemove = 1]],[[vBurningRemove = 2]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-