FareverDB

Shield Bash

Shield_Start_Skill1 in Skills

Deals 95% Strength Physical to an enemy, stunning them for 1.

id
Shield_Start_Skill1
type
7
flags
0
nature
2
script
function onGameBeat(beat, hit) { if(rank >= 3 && beat == GameBeat.BlockWellTimed) { addStatus(owner, Skill.Shield_Start_Skill1_Status); } } function onStart(ctx) { var stacks = consumeStatus(owner, Skill.Shield_Start_Skill1_Status); if(stacks > 0) { ctx.dmgMult += stacks * vars.var2; } }
status
2
cooldown
12
duration
0.4
Raw data
{
  "id": "Shield_Start_Skill1",
  "gfx": {
    "x": 1,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Shield_96PX.png",
    "size": 96
  },
  "anim": {
    "file": "Anim/Human/OneHanded/Skill/Anim_Human_OneHanded_ShieldBash.fbx",
    "startFrame": 5
  },
  "type": 7,
  "vars": {
    "dur1": 1,
    "var1": 0.5,
    "var2": 1
  },
  "flags": 0,
  "props": {
    "hit": {
      "shake": 6,
      "freeze": 2,
      "camShake": 6
    },
    "threatRatio": 6,
    "rankOverride": [
      {
        "vars": {
          "dur1": 1.5
        },
        "minRank": 2
      }
    ]
  },
  "steps": [
    {
      "on": 0,
      "type": 9,
      "props": {},
      "range": 5.5,
      "duration": 0.15
    },
    {
      "on": 0,
      "type": 8,
      "props": {
        "move": {
          "direction": [
            1
          ]
        }
      },
      "range": 0.5,
      "duration": 0.1
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0.2,
      "props": {
        "move": {
          "direction": [
            0
          ]
        }
      },
      "range": 1.5,
      "duration": 0.067
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.23,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Human/OneHanded/Skill/Anim_Human_OneHanded_ShieldBash.fbx",
              "blend": 0.01,
              "startFrame": 13
            }
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 0,
      "delay": 0.267,
      "props": {
        "area": {
          "shape": [
            1,
            2
          ]
        }
      },
      "range": 2.5,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "Strength",
              "ratio": 0.95
            }
          ],
          "affinity": "Physical"
        }
      ],
      "visuals": {
        "hitFx": "PH_Hit_Skill"
      }
    },
    {
      "on": 1,
      "type": 1,
      "props": {
        "status": {
          "ref": "Stun"
        }
      },
      "duration": "dur1"
    }
  ],
  "texts": {
    "desc": "Deals ::dmg:: to an enemy, stunning them for ::dur1::.",
    "name": "Shield Bash",
    "refs": {
      "ref": "Shield_Start_Skill1_Status"
    },
    "rankDescs": [
      {
        "desc": "Stun duration increased to ::dur1::.",
        "rank": 2,
        "flags": 1
      },
      {
        "desc": "Increases the damage of your next ::name:: by ::var2%:: after a perfect block.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 2,
  "script": "function onGameBeat(beat, hit) {\n\tif(rank >= 3 && beat == GameBeat.BlockWellTimed) {\n\t\taddStatus(owner, Skill.Shield_Start_Skill1_Status);\n\t}\n}\n\nfunction onStart(ctx) {\n\tvar stacks = consumeStatus(owner, Skill.Shield_Start_Skill1_Status);\n\tif(stacks > 0) {\n\t\tctx.dmgMult += stacks * vars.var2;\n\t}\n}",
  "status": 2,
  "mastery": [],
  "cooldown": 12,
  "duration": 0.4
}