English Virtuose

Other languages: Français

Meta description:

When performing an action that deals Acid damage, the character may spend 4 SP to apply a Weakness effect to the affected target. If applied, the target gains Weakness 1 to Slashing damage and Weakness 1 to Blunt damage for a duration of 5 seconds. Reapplying this effect while it is already active resets the duration to 5 seconds; the Weakness values do not stack.

  • Name:

    mCorrosiveI

  • Displayed name:

    Corrosive I

  • Description:

    When performing an action that deals Acid damage, the character may spend 4 SP to apply a Weakness effect to the affected target. If applied, the target gains Weakness 1 to Slashing damage and Weakness 1 to Blunt damage for a duration of 5 seconds. Reapplying this effect while it is already active resets the duration to 5 seconds; the Weakness values do not stack.

  • Condition:

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

    expCost(400,200)-0
  • Script:

  • Duration:

    -1

  • Type:

    0

  • Recurrent script:

  • Add ons:

    • Condition:

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

    • Variables:

      vCorrosiveWeakness = 1
      vCorrosiveDuration = 5
      vCorrosiveCost = 4
      
    • Script:

    • Action effects:

      • Use case:

        vCorrosiveUse*3

      • Name:

        Corrosive

      • Description:

        You can spend vCorrosiveCost.string SP to inflict Weakness vCorrosiveWeakness.string to Slashing and Blunt damage for vCorrosiveDuration.string seconds.

      • Script:

        sSlashingWeakness = character:createStat("sSlashingWeakness", "temporary")
        sSlashingWeakness.displayName:set("Slashing weakness")
        sBluntWeakness = character:createStat("sBluntWeakness", "temporary")
        sBluntWeakness.displayName:set("Blunt weakness")
        mCorrosive = character:createEffect("mCorrosive")
        mCorrosive.displayName:set("Corrosive")
        mCorrosive.description:set("The creature suffer from Weakness {{vCorrosiveWeakness}} to to Slashing and Blunt damage.")
        mCorrosive.duration:set({{vCorrosiveDuration}})
        mCorrosive.script:set([=[character.sSlashingWeakness:addNormal({{vCorrosiveWeakness}}, [[natural]], [[Corrosive]])
        character.sBluntWeakness:addNormal({{vCorrosiveWeakness}}, [[natural]], [[Corrosive]])]=])
        mCorrosive:activate()
        
      • Variables:

        vCorrosiveUse = ToggleVariable([[vCorrosiveUse]],[[Corrosive]])
  • Upgrades:

    • Name:

      mCorrosiveII

    • Displayed name:

      Corrosive II

    • Description:

      Increases the Weakness duration to 10 seconds.

    • Condition:

    • Cost:

      expCost(800,400)-200
    • Script:

      master.displayName:set([[Corrosive II]])
      master.description:replace([[5 seconds]],[[10 seconds]])
      master.addOns[1].variables:replace([[vCorrosiveDuration = 5]],[[vCorrosiveDuration = 10]])
      
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons: