Movement speed increased by 0.3%.
Properties
- nature
- Status
- steps
- affixes
- flags
Raw data
{
"gfx": {
"file": "UI/icons/atlas_abilities_status_96PX.png",
"size": 96,
"x": 1,
"y": 0
},
"id": "Dash_Status",
"nature": "Status",
"texts": {
"desc": "[MoveSpeedFactor] increased by ::val1::%."
},
"anim": {},
"steps": [
{
"on": 0,
"props": {},
"type": 11,
"duration": -1
}
],
"affixes": [
{
"target": {
"attribute": "MoveSpeedFactor"
},
"target2": {},
"ref": "TAttribute_ARatio",
"conds": {},
"mod": {},
"val": 0.3
}
],
"flags": [
"Hidden"
],
"mastery": [],
"props": {
"status": {
"types": [
{
"type": "Buff"
}
]
}
},
"vars": {
"duration": 1
},
"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}"
}