Severed I
Use
When performing an action that deals Slashing damage, you can spend 4 SP to apply the Physical Impaired 1 status effect to the affected target. The effect lasts for 5 seconds. Reapplying this effect while it is already active resets the duration to 5 seconds; the impairment value does not stack.
Upgrades 1
- Severed II 2 below
Technical details
-
Tags:
No tags
-
Name:
mSeveredI
-
Displayed name:
Severed I
-
Description:
When performing an action that deals Slashing damage, you can spend 4 SP to apply the Physical Impaired 1 status effect to the affected target. The effect lasts for 5 seconds. Reapplying this effect while it is already active resets the duration to 5 seconds; the impairment value does not stack.
-
Condition:
-
Cost:
expCost(300,100)-0 -
Script:
master.description:add("\n\nSevered: When performing an action that deals Slashing damage, you can spend 4 SP to apply the Physical Impaired 1 status effect to the affected target. The effect lasts for 5 seconds. Reapplying this effect while it is already active resets the duration to 5 seconds; the impairment value does not stack.") -
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Condition:
action:tagsContain([[slashingDamage]]) -
Description:
-
Variables:
vSeveredCost = 4 vSeveredDuration = 5 vSeveredImpaired = 1 -
Script:
-
Action effects:
-
Use case:
vApplySevered*3
-
Name:
Severed
-
Description:
You can spend vSeveredCost.string SP to inflict Physical Impaired vSeveredImpaired.string for vSeveredDuration.string seconds.
-
Script:
if not character:has([[sPhysicalImpaired]]) then sPhysicalImpaired = character:createStat([[sPhysicalImpaired]], [[temporary]]) sPhysicalImpaired.displayName:set([[Physical impaired]]) end if not character:has([[mSevered]]) then mSevered = character:createEffect([[mSevered]]) mSevered.displayName:set([[Severed]]) mSevered.description:set([[The creature suffers Physical Impaired {{vSeveredImpaired}}.]]) mSevered.script:set([=[character.sPhysicalImpaired:addNormal([[{{vSeveredImpaired}}]], [[natural]], [[Severed]])]=]) mSevered:activate() end character.mSevered.duration:set({{vSeveredDuration}}) -
Variables:
vApplySevered = ToggleVariable([[vApplySevered]],[[Severed]])
-
-
-
Upgrades:
-
Tags:
No tags
-
Name:
mSeveredII
-
Displayed name:
Severed II
-
Description:
Increase the Severed duration to 10 seconds.
-
Condition:
-
Cost:
expCost(600,200)-150 -
Script:
master.description:replace([[Severed: When performing an action that deals Slashing damage, you can spend 4 SP to apply the Physical Impaired 1 status effect to the affected target. The effect lasts for 5 seconds. Reapplying this effect while it is already active resets the duration to 5 seconds; the impairment value does not stack.]],[[Severed: When performing an action that deals Slashing damage, you can spend 4 SP to apply the Physical Impaired 1 status effect to the affected target. The effect lasts for 10 seconds. Reapplying this effect while it is already active resets the duration to 10 seconds; the impairment value does not stack.]]) character.mSeveredI.addOns[1].variables:replace([[vSeveredDuration = 5]],[[vSeveredDuration = 10]]) -
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-