Block
ShieldBlock in SkillsBlocks incoming [Attack]s, reducing their damage by 60%. Perfect blocking reduces their damage by an additional 25%.
- id
- ShieldBlock
- type
- 6
- flags
- 1248
- nature
- 2
- script
- function onBlockEval( hit ) { if( hit.hasBeat(GameBeat.BlockWellTimed) ) { hit.block += vars.var2; } }
- status
- 1
- cooldown
- 0.1
Raw data
{
"id": "ShieldBlock",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/icons/atlas_weapon_Shield_96PX.png",
"size": 96
},
"anim": {
"ref": "ShieldBlockStart",
"blend": 0.07
},
"type": 6,
"vars": {
"var2": 0.25
},
"flags": 1248,
"props": {
"aimStyle": 1,
"interruptStyle": 2
},
"steps": [
{
"id": "BlockAnim",
"on": 0,
"type": 11,
"delay": 0.4,
"props": {},
"visuals": {
"playAnims": [
{
"anim": {
"ref": "ShieldBlock",
"loop": true,
"blend": 0.15
}
}
]
}
},
{
"id": "OnHit",
"on": 13,
"type": 11,
"props": {},
"range": 0.2,
"visuals": {
"playAnims": [
{
"anim": {
"ref": "ShieldBlockHit",
"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": "ShieldBlockHit",
"blend": 0,
"restore": "BlockAnim"
}
}
]
},
"duration": 0.2
}
],
"texts": {
"desc": "Blocks incoming [Attack]s, reducing their damage by ::val1%::.\n\nPerfect blocking reduces their damage by an additional ::var2%::.",
"name": "Block"
},
"nature": 2,
"script": "function onBlockEval( hit ) {\n\tif( hit.hasBeat(GameBeat.BlockWellTimed) ) {\n\t\thit.block += vars.var2;\n\t}\n}",
"status": 1,
"affixes": [
{
"mod": {},
"ref": "TAttribute_Flat",
"val": 60,
"conds": {},
"target": {
"attribute": "BlockMitigation"
},
"target2": {}
}
],
"mastery": [],
"cooldown": 0.1
}