Fire 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 Fire damage, you can spend 2 Success Points (SP) to get 1 reroll of one Fire damage die.

Upgrades 5

Technical details

Meta description:

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

  • Tags:

    No tags

  • Name:

    mFireMasteryI

  • Displayed name:

    Fire mastery

  • Description:

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

  • Condition:

  • Cost:

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

  • Duration:

    -1

  • Type:

    0

  • Recurrent script:

  • Add ons:

    • Condition:

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

    • Variables:

      vFireRerolls = 1
    • Script:

    • Action effects:

      • Use case:

        0

      • Name:

      • Description:

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

      • Script:

      • Variables:

  • Upgrades:

    • Tags:

      No tags

    • Name:

      mFireMasteryII

    • Displayed name:

      Fire mastery II

    • Description:

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

    • Condition:

    • Cost:

    • Script:

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

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

    • Tags:

      No tags

    • Name:

      mFireWeaponI

    • Displayed name:

      Fire weapon I

    • Description:

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

    • Condition:

    • Cost:

      expCost(350,175)-0
    • Script:

      master.description:add("\n\nFire weapon: When you attack with a weapon or a natural weapon that deals Fire damage, you can, once per action, spend 5 SP to add 1d6 Fire 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([[fireDamage]])
        
      • Description:

      • Variables:

        vFireWeaponDice = 1
        
      • Script:

      • Action effects:

        • Use case:

          0

        • Name:

        • Description:

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

        • Script:

        • Variables:

    • Tags:

      No tags

    • Name:

      mBurningI

    • Displayed name:

      Burning I

    • Description:

      When performing an action that deals fire damage, you can spend 4 SP to apply a burning effect to the target. If applied, the target suffers 1 fire damage every 2 seconds for a total duration of 6 seconds. While affected by this burning effect, the target may spend 1 AP at any time during its turn to remove the effect. Reapplying this effect while it is already active resets the duration to 6 seconds; damage does not stack beyond the defined 1 fire damage every 2 seconds.

    • Condition:

    • Cost:

      expCost(550,1350)-0
    • Script:

      master.description:add("\n\nBurning: When performing an action that deals fire damage, you can spend 4 SP to apply a burning effect to the target. If applied, the target suffers 1 fire damage every 2 seconds for a total duration of 6 seconds.\nWhile affected by this burning effect, the target may spend 1 AP at any time during its turn to remove the effect. Reapplying this effect while it is already active resets the duration to 6 seconds; damage does not stack beyond the defined 1 fire damage every 2 seconds.")
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

      • Condition:

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

      • Variables:

        vBurningCost = 4
        vBurningDuration = 6
        vBurningRemove = 1
        vBurningPeriod = 2
        
      • Script:

      • Action effects:

        • Use case:

          vApplyBurn*3

        • Name:

          Burning

        • Description:

          You can spend vBurningCost.string SP to deal 1 fire damage every vBurningPeriod.string second(s) for vBurningDuration.string seconds; the target may spend vBurningRemove.string AP to remove the effect early.

        • Script:

          if not character:has([[mBurning]]) then
              mBurning = character:createEffect([[mBurning]])
              mBurning.displayName:set([[Burning]])
              mBurning.description:set([[The creature takes 1 fire damage every {{vBurningPeriod}} second(s). They may spend {{vBurningRemove}} AP to remove the effect early.]])
              mBurning.recurrentScript:set([=[if (((character.currentTime - {={character.currentTime}=}) % {{vBurningPeriod}}) == 0) then
              character:damage(1, 1, [[Fire]])
              display([[Burning]], [[You have suffered 1 point of fire damage.]])
          end]=])
              mBurning:activate()
          end
          character.mBurning.duration:set({{vBurningDuration}})
          
        • Variables:

          vApplyBurn = ToggleVariable([[vApplyBurn]],[[Burn]])
    • Tags:

      No tags

    • Name:

      mScorchI

    • Displayed name:

      Scorch I

    • Description:

      When performing an action that deals fire damage, you can spend 4 SP to apply a Biological Resistance effect to the affected target. If applied, the target gains Biological Resistance 1 for a duration of 8 seconds. Reapplying this effect while it is already active resets the duration to 8 seconds; the resistance value does not stack.

    • Condition:

    • Cost:

      expCost(300,150)-0
    • Script:

      master.description:add("\n\nScorch: When performing an action that deals fire damage, you can spend 4 SP to apply a Biological Resistance effect to the affected target. If applied, the target gains Biological Resistance 1 for a duration of 8 seconds.\nReapplying this effect while it is already active resets the duration to 8 seconds; the resistance value does not stack.")
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

      • Condition:

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

      • Variables:

        vScorchDuration = 8
        vScorchCost = 4
        vScorchResistance = 1
        
      • Script:

      • Action effects:

        • Use case:

          vApplyScorch*3

        • Name:

          Scorch

        • Description:

          You can spend vScorchCost.string SP to grant Biological Resistance vScorchResistance.string for vScorchDuration.string seconds.

        • Script:

          if not character:has([[sBiologicalResistance]]) then
             sBiologicalResistance = character:createStat("sBiologicalResistance", "temporary")
             sBiologicalResistance.displayName:set("Biological resistance")
          end
          if not character:has([[mScorch]]) then
             mScorch = character:createEffect("mScorch")
             mScorch.displayName:set("Scorch")
             mScorch.description:set("The creature gains Biological Resistance {{vScorchResistance}}.")
             mScorch.script:set([=[character.sBiologicalResistance:addNormal({{vScorchResistance}}, [[natural]], [[Scorch]])]=])
             mScorch:activate()
          end
          character.mScorch.duration:set({{vScorchDuration}})
          
        • Variables:

          vApplyScorch = ToggleVariable([[vApplyScorch]],[[Scorch]])
    • Tags:

      No tags

    • Name:

      mHotHeelsI

    • Displayed name:

      Hot heels I

    • Description:

      When performing an action that deals fire damage, you can spend 4 SP to gain a temporary movement enhancement. If applied, you gain a +0.5 bonus to Movement for a duration of 8 seconds. Reapplying this effect while it is already active resets the duration to 8 seconds; the Movement bonus does not stack.

    • Condition:

    • Cost:

      expCost(250,150)-0
    • Script:

      master.description:add("\n\nHot heels: When performing an action that deals fire damage, you can spend 4 SP to gain a temporary movement enhancement. If applied, you gain a +0.5 bonus to Movement for a duration of 8 seconds.\nReapplying this effect while it is already active resets the duration to 8 seconds; the Movement bonus does not stack.")
    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

      • Condition:

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

      • Variables:

        vHotHeelsCost = 4
        vHotHeelsBonus = 0.5
        
      • Script:

      • Action effects:

        • Use case:

          vApplyHotHeels

        • Name:

          Hot heels

        • Description:

          You can spend vHotHeelsCost.string SP to gain +vHotHeelsBonus.string Movement for 8 seconds.

        • Script:

          if not character:has([[mHotHeels]]) then
             mHotHeels = character:createEffect("mHotHeels")
             mHotHeels.displayName:set("Hot heels")
             mHotHeels.description:set("The creature gains +{{vHotHeelsBonus}} Movement.")
             mHotHeels.script:set([=[character.sMovement:addCurrent({{vHotHeelsBonus}}, [[enchantment]], [[Hot heels]])]=])
             mHotHeels:activate()
          end
          character.mHotHeels.duration:set(8)
          
        • Variables:

          vApplyHotHeels = ToggleVariable([[vApplyHotHeels]],[[Hot heels]])