Raw data
{
"id": "SparkSurge_Status",
"gfx": {
"x": 3,
"y": 0,
"file": "UI/icons/atlas_abilities_status_96PX.png",
"size": 96
},
"anim": {},
"vars": {
"var1": 0.3
},
"flags": 0,
"props": {
"status": {
"types": [
{
"type": "Buff"
}
]
}
},
"steps": [
{
"on": 0,
"type": 11,
"props": {},
"visuals": {
"fxs": [
{
"set": "Hero_LevelUp",
"props": {},
"space": 0
},
{
"set": "Spark_Aura",
"flags": 8,
"props": {},
"space": 0,
"attachName": ""
}
]
},
"duration": -1
}
],
"texts": {
"name": "Spark surge"
},
"nature": 4,
"script": "function onInflictDamage(dmg) {\n\tif (dmg.skillId == Skill.SparkSurge_Mark)\n\t\treturn;\n\tvar amount = dmg.amount * vars.var1;\n\taddStatus(dmg.target, Skill.SparkSurge_Mark, amount);\n}\n\nfunction onStop(ctx) {\n\tfor(s in getInflictedStatuses(Skill.SparkSurge_Mark)) {\n\t\tvar count = s.consume();\n\t}\n}",
"status": 1,
"affixes": [
{
"mod": {},
"ref": "TAttribute_ARatio",
"val": 0.3,
"conds": {},
"target": {
"attribute": "MoveSpeedFactor"
},
"target2": {}
}
],
"mastery": [],
"duration": 10
}