-
Name:
mSwingI
-
Displayed name:
Swing II
-
Description:
When performing an action that deals Slashing damage and does not benefit from this Talent, the character may 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.
-
Cost:
expCost(500,250)-0
-
Script:
-
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 = 1 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:
-
Name:
mSwingII
-
Displayed name:
Swing II
-
Description:
Reduce the SP malus of the newly charged action to +1 SP.
-
Cost:
expCost(1000,333)-250
-
Script:
master.displayName:set([[Swing II]]) master.description:replace([[2 SP]],[[1 SP]]) master.addOns[1].variables:replace([[vSwingMalus = 2]],[[vSwingMalus = 1]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Name:
mSwingIII
-
Displayed name:
Swing III
-
Description:
Remove the SP malus of the newly charged action.
-
Cost:
expCost(1500,375)-500
-
Script:
master.displayName:set([[Swing III]]) master.description:replace([[This newly charged action see its SP cost required to activate its effects increased by 2 SP. ]],[[]]) master.addOns[1].variables:replace([[vSwingMalus = 1]],[[vSwingMalus = 0]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-