Swing I
Use
When performing an action that deals Slashing damage and does not benefit from this Talent, you can choose another action that also deals Slashing damage and grant it 1 AP charge. This newly charged action see its SP cost required to activate its effects increased by 2 SP. An action can only gain a charge from this Talent once and cannot benefit from other Talents or effects that grant AP charges to actions.
Upgrades 1
- Swing II 1 below
Technical details
-
Tags:
No tags
-
Name:
mSwingI
-
Displayed name:
Swing I
-
Description:
When performing an action that deals Slashing damage and does not benefit from this Talent, you can choose another action that also deals Slashing damage and grant it 1 AP charge. This newly charged action see its SP cost required to activate its effects increased by 2 SP. An action can only gain a charge from this Talent once and cannot benefit from other Talents or effects that grant AP charges to actions.
-
Condition:
-
Cost:
expCost(500,250)-0 -
Script:
master.description:add("\n\nSwing: When performing an action that deals Slashing damage and does not benefit from this Talent, you can choose another action that also deals Slashing damage and grant it 1 AP charge.\nThis newly charged action see its SP cost required to activate its effects increased by 2 SP. An action can only gain a charge from this Talent once and cannot benefit from other Talents or effects that grant AP charges to actions.") -
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Condition:
action:tagsContain([[slashingDamage]]) -
Description:
if [[vSlashingAction.string]] == [[None]] then [[You can give 1 AP to another Slashing action]] else [[You give 1 AP to the vSlashingAction.string action]] end; however its effects cost +vSwingMalus.string SP.
-
Variables:
vSwingMalus = 2 actionValues = {[[none]]} actionStrings = {[[None]]} for _, act in pairs(character.actions) do if act:tagsContain([[slashingDamage]]) and action.name ~= act.name and not act:tagsContain([[reaction]]) then table.insert(actionValues, act.name) table.insert(actionStrings, act.displayName.value) end end vSlashingAction = ListVariable([[vSlashingAction]], [[Swing]], actionValues, actionStrings) -
Script:
if vSlashingAction.rawValue ~= [[none]] then selectedAction = character.{{vSlashingAction.rawValue}} selectedAction.currentCharge:add(1) end -
Action effects:
No effects
-
-
Upgrades:
-
Tags:
No tags
-
Name:
mSwingII
-
Displayed name:
Swing II
-
Description:
Reduce the SP malus of the newly charged action to +1 SP.
-
Condition:
-
Cost:
expCost(1000,333)-250 -
Script:
master.description:replace([[Swing: When performing an action that deals Slashing damage and does not benefit from this Talent, you can choose another action that also deals Slashing damage and grant it 1 AP charge. This newly charged action see its SP cost required to activate its effects increased by 2 SP. An action can only gain a charge from this Talent once and cannot benefit from other Talents or effects that grant AP charges to actions.]],[[Swing: When performing an action that deals Slashing damage and does not benefit from this Talent, you can choose another action that also deals Slashing damage and grant it 1 AP charge. This newly charged action see its SP cost required to activate its effects increased by 1 SP. An action can only gain a charge from this Talent once and cannot benefit from other Talents or effects that grant AP charges to actions.]]) character.mSwingI.addOns[1].variables:replace([[vSwingMalus = 2]],[[vSwingMalus = 1]]) -
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-