Dizzy I
Use
When performing an action that deals Blunt damage, you can spend 4 SP to apply the Psychological Impaired 1 status 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
- Dizzy II 2 below
Technical details
-
Tags:
No tags
-
Name:
mDizzyI
-
Displayed name:
Dizzy I
-
Description:
When performing an action that deals Blunt damage, you can spend 4 SP to apply the Psychological Impaired 1 status 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\nDizzy: When performing an action that deals Blunt damage, you can spend 4 SP to apply the Psychological Impaired 1 status 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([[bluntDamage]]) -
Description:
-
Variables:
vDizzyCost = 4 vDizzyDuration = 5 vDizzyImpaired = 1 -
Script:
-
Action effects:
-
Use case:
vApplyDizzy*3
-
Name:
Dizzy
-
Description:
You can spend vDizzyCost.string SP to inflict Psychological Impaired vDizzyImpaired.string for vDizzyDuration.string seconds.
-
Script:
sPsychologicalImpaired = character:createStat("sPsychologicalImpaired", "temporary") sPsychologicalImpaired.displayName:set("Psychological impaired") mDizzy = character:createEffect("mDizzy") mDizzy.displayName:set("Dizzy") mDizzy.description:set("The creature suffers Psychological Impaired {{vDizzyImpaired}}.") mDizzy.duration:set({{vDizzyDuration}}) mDizzy.script:set([=[character.sPsychologicalImpaired:addNormal({{vDizzyImpaired}}, [[natural]], [[Dizzy]])]=]) mDizzy:activate() -
Variables:
vApplyDizzy = ToggleVariable([[vApplyDizzy]],[[Dizzy]])
-
-
-
Upgrades:
-
Tags:
No tags
-
Name:
mDizzyII
-
Displayed name:
Dizzy II
-
Description:
Increase the Dizzy duration to 10 seconds.
-
Condition:
-
Cost:
expCost(600,200)-150 -
Script:
master.description:replace([[Dizzy: When performing an action that deals Blunt damage, you can spend 4 SP to apply the Psychological Impaired 1 status 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.]],[[Dizzy: When performing an action that deals Blunt damage, you can spend 4 SP to apply the Psychological Impaired 1 status 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.mDizzyI.addOns[1].variables:replace([[vDizzyDuration = 5]],[[vDizzyDuration = 10]]) -
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-