FareverDB

Parry

PhysicalBlock in Skills

Blocks incoming [Attack]s, reducing their damage by 50%. Perfect blocking increases the damage of your next [Attack] by 30%.

id
PhysicalBlock
type
6
flags
1248
nature
2
script
function onBlockEval( hit ) { if( hit.hasBeat(GameBeat.BlockWellTimed) ) addStatus(owner, Skill.PhysicalBlock_Status_WellTimed); }
cooldown
0.5
Raw data
{
  "id": "PhysicalBlock",
  "gfx": {
    "x": 4,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Sword1H_96PX.png",
    "size": 96
  },
  "anim": {
    "ref": "BlockStart",
    "blend": 0.07
  },
  "type": 6,
  "vars": {},
  "flags": 1248,
  "props": {
    "aimStyle": 1,
    "interruptStyle": 2
  },
  "steps": [
    {
      "id": "BlockAnim",
      "on": 0,
      "type": 11,
      "delay": 0.66,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "Block",
              "loop": true,
              "blend": 0.15
            }
          }
        ]
      }
    },
    {
      "id": "OnHit",
      "on": 13,
      "type": 11,
      "props": {},
      "range": 0.2,
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "BlockHit",
              "blend": 0,
              "restore": "BlockAnim"
            }
          }
        ]
      },
      "duration": 0.2
    },
    {
      "id": "OnWellTimed",
      "on": 13,
      "type": 11,
      "props": {},
      "range": 0.2,
      "visuals": {
        "fxs": [
          {
            "set": "Parry_Perfect",
            "props": {},
            "space": 0
          }
        ],
        "playAnims": [
          {
            "anim": {
              "ref": "BlockHit",
              "blend": 0,
              "restore": "BlockAnim"
            }
          }
        ]
      },
      "duration": 0.2
    }
  ],
  "texts": {
    "desc": "Blocks incoming [Attack]s, reducing their damage by ::val1%::.\nPerfect blocking increases the damage of your next [Attack] by ::ref_damage%::.",
    "name": "Parry",
    "refs": {
      "ref": "PhysicalBlock_Status_WellTimed"
    }
  },
  "nature": 2,
  "script": "function onBlockEval( hit ) {\n\tif( hit.hasBeat(GameBeat.BlockWellTimed) )\n\t\taddStatus(owner, Skill.PhysicalBlock_Status_WellTimed);\n}",
  "affixes": [
    {
      "mod": {},
      "ref": "TAttribute_Flat",
      "val": 50,
      "conds": {},
      "target": {
        "attribute": "BlockMitigation"
      },
      "target2": {}
    }
  ],
  "mastery": [],
  "cooldown": 0.5
}