• Tags:

    ConstructionComplex actionEarth
  • Name:

    aStonePlane

  • Displayed name:

    Stone plane

  • Description:

    The character creates a basic stone construction for a short period of time.

  • Cast description:

    | AP: vAP.string * | CD: vCD.strings | | :---: | :---: | | **Flux: vFluxOrCost.string ➞ vFluxCost.string** | **Range: vRange.string** | On a successful **vTest.string** test **MR vMR.string** [1d20]: Creates a vLength.string x vHeight.string x vThickness.string plane of stone connected to the ground for one minute. Each 1m x 1m section of this plane has the following stats: Strength {7+vThickness.value*10*2}, {vThickness.value*10*2} HP, Physical Resistance 2 and Magical Resistance 2 except for Ice Weakness 2. The caster has to concentrate for 2 AP every 10 seconds to keep this effect.

  • Condition:

    assert(character.sFlux.current >= vFluxCost.value, [[You don't have enough Flux]])
  • AP cost:

    4

  • Cooldown:

    5

  • Flux cost:

    apMod(vAP)*cdMod(vCD)*targetMod(1,0)*durMod(60)*concMod(60,10,2)*vRange*complexMod*effect(vHeight*vLength*vThickness*80,40)
  • Variables:

    vRange = ListVariable([[vRange]], [[Range]], {[[shortMod]]}, {[[5m]]})
    vThickness = NumberVariable([[vThickness]], [[Thickness]], [[0.1]], [[1]], [[0.1]])
    vThickness.valueDisplay.value = [[ self .. "m" ]]
    vHeight = NumberVariable([[vHeight]], [[Height]], [[1]], [[10]], [[1]])
    vHeight.valueDisplay.value = [[ self .. "m" ]]
    vLength = NumberVariable([[vLength]], [[Length]], [[1]], [[10]], [[1]])
    vLength.valueDisplay.value = [[ self .. "m" ]]
    vTest = ListVariable([[vTest]], [[Test]], {[[sResilience]]}, {[[Resilience]]})
    vMR = StatVariable([[vMR]], [[vTest]])
  • On used script:

    character.sFlux:changeCurrent(-vFluxCost.value)
    action.currentCD:set(vCD.value)
    
  • On post script:

    if (success) then
    action.currentCD.value = vCD.value
    end
    
  • Type:

    1

  • Action effects:

    • Use case:

      1

    • Name:

      Ice plane

    • Description:

    • Script:

      effect = character:createEffect([[mIcePlane]])
      effect.displayName:set([[Ice plane]])
      effect.description:set([[Creates a {{vLength.string}} x {{vHeight.string}} x {{vThickness.string}} plane of stone connected to the ground for one minute. Each 1m x 1m section of this plane has the following stats: Strength {{7+vThickness.value*10*2}}, {{vThickness.value*10*2}} HP, Physical Resistance 2 and Magical Resistance 2 except for Ice Weakness 2.]])
      effect.duration:set(60)
      effect:activate()
      effect:addConcentration(10, 2)
    • Variables: