Dash_Status
Status
Movement speed increased by %.
cooldown—
duration—
steps1
Raw data
- nature
- Status
- steps
- 1
- affixes
- 1
- id
- Dash_Status
raw data
{
"id": "Dash_Status",
"gfx": {
"x": 1,
"y": 0,
"file": "UI/icons/atlas_abilities_status_96PX.png",
"size": 96
},
"anim": {},
"vars": {
"duration": 1
},
"flags": 4096,
"props": {
"status": {
"types": [
{
"type": "Buff"
}
]
}
},
"steps": [
{
"on": 0,
"type": 11,
"props": {},
"duration": -1
}
],
"texts": {
"desc": "[MoveSpeedFactor] increased by ::val1::%."
},
"nature": 4,
"script": "var timeStationary = 0.0;\n\nfunction onSkillProc(ctx) {\n\tif (!ctx.skill.isPassive()) {\n\t\tremoveBuff();\n\t}\n}\n\nfunction onUpdate(dt) {\n\tif (ownerHero != null && ownerHero.gliding) {\n\t\tremoveBuff();\n\t}\n\tif (Math.abs(owner.moveX) < 0.01 && Math.abs(owner.moveY) < 0.01) {\n\t\ttimeStationary += dt;\n\t} else {\n\t\ttimeStationary = 0;\n\t}\n\n\tif (timeStationary > vars.duration) {\n\t\tremoveBuff();\n\t}\n}\n\nfunction removeBuff() {\n\tremoveStatus(owner, status.kind);\n}",
"affixes": [
{
"mod": {},
"ref": "TAttribute_ARatio",
"val": 0.3,
"conds": {},
"target": {
"attribute": "MoveSpeedFactor"
},
"target2": {}
}
],
"mastery": []
}