English Virtuose

Other languages: Français

Meta description:

When performing an action that uses the Electric element, the character may spend 3 SP to apply a reactive electrical discharge effect to themselves. For the next 5 seconds, if a creature hits the character with a melee action, they 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 the full 5-second 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.

  • Name:

    mStaticDischargeI

  • Displayed name:

    Static discharge I

  • Description:

    When performing an action that uses the Electric element, the character may spend 3 SP to apply a reactive electrical discharge effect to themselves. For the next 5 seconds, if a creature hits the character with a melee action, they 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 the full 5-second 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:

    assert(character:has([[mElectricMasteryI]]),[[You should have "Electric mastery I".]])
  • Cost:

    expCost(500,500)-0
  • Script:

  • 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 the character with a melee action, they 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]])
  • Upgrades:

    • Name:

      mStaticDischargeII

    • Displayed name:

      Static discharge II

    • Description:

      Increase the damage of the Static discharge to 2d6 and the duration to 6 seconds.

    • Condition:

    • Cost:

      expCost(1200,600)-250
    • Script:

      master.displayName:set([[Static discharge II]])
      master.description:replace([[1d6]],[[2d6]])
      master.description:replace([[5 seconds]],[[6 seconds]])
      master.addOns[1].variables:replace([[vStaticDischargeDamage = 1]],[[vStaticDischargeDamage = 2]])
      master.addOns[1].variables:replace([[vStaticDischargeDuration = 5]],[[vStaticDischargeDuration = 6]])
      
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons: