Electric mastery

Virtuose Version 3 Other languages: Français

This element comes from the pack: it is corrected in the pack's files (element_packs/), then seeded again.

Talent Permanent

When performing an action that deals Electric damage, you can spend 2 Success Points (SP) to get 1 reroll of one Electric damage die.

Upgrades 6

Technical details

Meta description:

When performing an action that deals Electric damage, you can spend 2 Success Points (SP) to get 1 reroll of one Electric damage die.

  • Tags:

    No tags

  • Name:

    mElectricMasteryI

  • Displayed name:

    Electric mastery

  • Description:

    When performing an action that deals Electric damage, you can spend 2 Success Points (SP) to get 1 reroll of one Electric damage die.

  • Condition:

  • Cost:

    expCost(spAmountMod(5)*450,400)/2
  • Script:

  • Duration:

    -1

  • Type:

    0

  • Recurrent script:

  • Add ons:

    • Condition:

      action:tagsContain([[electricDamage]])
      
    • Description:

    • Variables:

      vElectricRerolls = 1
    • Script:

    • Action effects:

      • Use case:

        0

      • Name:

      • Description:

        You can spend 2 SP to get @if vElectricRerolls.value == 1 then [[1 reroll of one Electric damage die]] else [[vElectricRerolls.string rerolls, each of a different Electric damage die]] end.

      • Script:

      • Variables:

  • Upgrades:

    • Tags:

      No tags

    • Name:

      mElectricMasteryII

    • Displayed name:

      Electric mastery II

    • Description:

      Your 2 SP now get you 2 rerolls, each of a different Electric damage die.

    • Condition:

    • Cost:

    • Script:

      master.description:replace([[1 reroll of one Electric damage die]],[[2 rerolls, each of a different Electric damage die]])
      master.addOns[1].variables.value = [[vElectricRerolls = 2]]
      master.cost:replace("spAmountMod(5)","spAmountMod(4)")
      
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

    • Tags:

      No tags

    • Name:

      mElectricWeaponI

    • Displayed name:

      Electric weapon I

    • Description:

      When you attack with a weapon or a natural weapon that deals Electric damage, you can, once per action, spend 5 SP to add 1d6 Electric damage, or 1d10 if the action costs 4 AP or more.

    • Condition:

    • Cost:

      expCost(350,175)-0
    • Script:

      master.description:add("\n\nElectric weapon: When you attack with a weapon or a natural weapon that deals Electric damage, you can, once per action, spend 5 SP to add 1d6 Electric damage, or 1d10 if the action costs 4 AP or more.")
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

      • Condition:

        (action:tagsContain([[weapon]]) or action:tagsContain([[naturalWeapon]])) and action:tagsContain([[electricDamage]])
        
      • Description:

      • Variables:

        vElectricWeaponDice = 1
        
      • Script:

      • Action effects:

        • Use case:

          0

        • Name:

        • Description:

          You can spend 5 SP to add vElectricWeaponDice.string@if vAP.value < 4 then [[d6]] else [[d10]] end Electric damage.

        • Script:

        • Variables:

    • Tags:

      No tags

    • Name:

      mConductiveI

    • Displayed name:

      Conductive I

    • Description:

      When performing an action that deals Electric damage, you can spend 4 SP to cause the Electric damage to arc to additional targets. If applied, you select 1 conductive target within 1 meter of the original target. The target suffers 1 Electric damage die, same as the original action, halved on a successful free Vigor test. A target affected by the original action cannot be selected for this effect, and no target may be affected more than once by the same use of this Talent. The additional damage is resolved separately for each valid target. What qualifies as a conductive target is determined by the GM based on the environment, materials, and circumstances of the action.

    • Condition:

    • Cost:

      expCost(200,200)-0
    • Script:

      master.description:add("\n\nConductive: When performing an action that deals Electric damage, you can spend 4 SP to cause the Electric damage to arc to additional targets. If applied, you select 1 conductive target within 1 meter of the original target. The target suffers 1 Electric damage die, same as the original action, halved on a successful free Vigor test.\nA target affected by the original action cannot be selected for this effect, and no target may be affected more than once by the same use of this Talent. The additional damage is resolved separately for each valid target. What qualifies as a conductive target is determined by the GM based on the environment, materials, and circumstances of the action.")
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

      • Condition:

        action:tagsContain([[electricDamage]])
        
      • Description:

      • Variables:

        vConductiveLvl = 1
        vConductiveCost = 4
        
      • Script:

      • Action effects:

        • Use case:

          0

        • Name:

          Conductive

        • Description:

          You can spend vConductiveCost.string SP to deal vConductiveLvl.string Electric damage dice to up to vConductiveLvl.string conductive targets within vConductiveLvl.string m of the previous one. Each target take one less damage die than the previous one and a successful free Vigor test half the damage.

        • Script:

        • Variables:

    • Tags:

      No tags

    • Name:

      mElectricDazzlingI

    • Displayed name:

      Electric dazzling I

    • Description:

      When making an action that use the Electric element, you can spend 5 SP to inflict 1d6 Dazzling points to the target(s) for the next 10s. Each subsequent dice costs 1 SP more than the previous one. After 5s half the Dazzling points vanished but reapplying Dazzling points reset the duration to 10s. The Dazzling points reduce the target AP regeneration proportionally to their maximum HP: 1 Dazzling point on a 10 maxHP creature reduce their AP regeneration by 5%. If the action affects multiple targets, you distribute the points across them as you wish.

    • Condition:

    • Cost:

      expCost(300,400)-0
    • Script:

      master.description:add("\n\nElectric dazzling: When making an action that use the Electric element, you can spend 5 SP to inflict 1d6 Dazzling points to the target(s) for the next 10s. Each subsequent dice costs 1 SP more than the previous one. After 5s half the Dazzling points vanished but reapplying Dazzling points reset the duration to 10s.\nThe Dazzling points reduce the target AP regeneration proportionally to their maximum HP: 1 Dazzling point on a 10 maxHP creature reduce their AP regeneration by 5%.\nIf the action affects multiple targets, you distribute the points across them as you wish.")
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

      • Condition:

        action:tagsContain([[electricDamage]])
         or action:tagsContain([[electric]])
        
      • Description:

      • Variables:

        vElectricDazzlingCost = 5
        
      • Script:

      • Action effects:

        • Use case:

          3*number(vElectricDazzlingPoints.value>0)

        • Name:

          Electric dazzling

        • Description:

          You can spend vElectricDazzlingCost.string SP to inflict 1d6 Dazzling points to the target(s) for the next 10s ; each additional dice costs 1 SP more than the previous one. For a total of vElectricDazzlingPoints.string Dazzling points

        • Script:

          if character:has([[mDazzlingPoints]]) then
              mDazzlingPoints = character.mDazzlingPoints
          else
              mDazzlingPoints = character:createEffect([[mDazzlingPoints]])
              mDazzlingPoints.displayName:set([[Dazzling points]])
              mDazzlingPoints.description:set([[Dazzling points reduce AP regeneration proportionally to maximum HP.]])
              mDazzlingPoints.script:set([=[sDazzlingPoints = character:createStat([[sDazzlingPoints]])
          sDazzlingPoints.displayName:set([[Dazzling points]])
          character.sRegenAP:addCurrent([[-(character.sDazzlingPoints.current/character.sMaxHP.current)*0.5]], [[physical]], [[Dazzling points]])]=])
              mDazzlingPoints.recurrentScript:set([=[if modifier.duration.value == 5 then
              character.sDazzlingPoints:changeCurrent(-character.sDazzlingPoints.current/2)
          end]=])
              mDazzlingPoints:activate()
          end
          mDazzlingPoints.duration:set(10)
          character.sDazzlingPoints:changeCurrent(vElectricDazzlingPoints.value)
          
        • Variables:

          vElectricDazzlingPoints = NumberVariable([[vElectricDazzlingPoints]],[[Dazzling points]],[[0]])
    • Tags:

      No tags

    • Name:

      mStaticDischargeI

    • Displayed name:

      Static discharge I

    • Description:

      When performing an action that uses the Electric element, you can spend 3 SP to apply a reactive electrical discharge effect to yourself. For the next 5 seconds, if a creature hits you with a melee action, you can use the discharge without using a reaction and the attacking creature immediately suffers 1d6 Electric damage. This damage is applied after the triggering melee hit is confirmed. The effect remains active for its full duration or until it has been triggered once, whichever occurs first. If the effect is triggered, it ends immediately after dealing damage. Reapplying this effect while it is already active resets the duration to 5 seconds; the effect does not stack and cannot trigger more than once per application.

    • Condition:

    • Cost:

      expCost(500,500)-0
    • Script:

      master.description:add("\n\nStatic discharge: When performing an action that uses the Electric element, you can spend 3 SP to apply a reactive electrical discharge effect to yourself. For the next 5 seconds, if a creature hits you with a melee action, you can use the discharge without using a reaction and the attacking creature immediately suffers 1d6 Electric damage. This damage is applied after the triggering melee hit is confirmed.\nThe effect remains active for its full duration or until it has been triggered once, whichever occurs first. If the effect is triggered, it ends immediately after dealing damage. Reapplying this effect while it is already active resets the duration to 5 seconds; the effect does not stack and cannot trigger more than once per application.")
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

      • Condition:

        action:tagsContain([[electricDamage]])
         or action:tagsContain([[electric]])
        
      • Description:

      • Variables:

        vStaticDischargeDuration = 5
        vStaticDischargeDamage = 1
        
      • Script:

      • Action effects:

        • Use case:

          vUseStaticDischarge

        • Name:

          Static discharge

        • Description:

          You can spend 3 SP to gain a Static discharge for vStaticDischargeDuration.string seconds that deals vStaticDischargeDamage.string d6 Electric damage.

        • Script:

          if character:has([[mStaticDischarge]]) then
             mStaticDischarge = character.mStaticDischarge
          else
             mStaticDischarge = character:createEffect([[mStaticDischarge]])
             mStaticDischarge.displayName:set([[Static discharge]])
             mStaticDischarge.description:set([[If a creature hits you with a melee action, you can use the discharge and the attacking creature immediately suffers {{vStaticDischargeDamage}}d6 Electric damage.]])
             mStaticDischarge:activate()
          end
          mStaticDischarge.duration:set({{vStaticDischargeDuration}})
          
        • Variables:

          vUseStaticDischarge = ToggleVariable([[vUseStaticDischarge]],[[Static discharge]])
    • Tags:

      No tags

    • Name:

      mTazed

    • Displayed name:

      Tazed

    • Description:

      When performing an action that deals Electric damage you can choose to take a -2 penalty to your test to change the damage type from Electric to Minimum HP for any of your dice.

    • Condition:

    • Cost:

      expCost(200,200)-0
    • Script:

      master.description:add("\n\nTazed: When performing an action that deals Electric damage you can choose to take a -2 penalty to your test to change the damage type from Electric to Minimum HP for any of your dice.")
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

      • Condition:

        action:tagsContain([[electricDamage]])
        
      • Description:

        You can take a -2 penalty in order to change any of your Electric damage dice to Minimum HP dice.

      • Variables:

        vUseTazed = ToggleVariable([[vUseTazed]],[[Min HP]],[[Apply]],[[Not applied]],[[-2]],[[0]])
        vMR:addValue([[vUseTazed]],[[mTazed]],[[Tazed]])
        
      • Script:

      • Action effects:

        No effects