Home · skill · SparkSurge_Status
Properties
- status
- Review
- nature
- Status
- duration
- 10
- steps
- affixes
Raw data
{
"status": "Review",
"gfx": {
"file": "UI/icons/atlas_abilities_status_96PX.png",
"size": 96,
"x": 3,
"y": 0
},
"id": "SparkSurge_Status",
"nature": "Status",
"texts": {
"name": "Spark surge"
},
"anim": {},
"duration": 10,
"steps": [
{
"on": 0,
"visuals": {
"fxs": [
{
"set": "Hero_LevelUp",
"space": 0,
"props": {}
},
{
"set": "Spark_Aura",
"space": 0,
"props": {},
"flags": 8,
"attachName": ""
}
]
},
"props": {},
"type": 11,
"duration": -1
}
],
"affixes": [
{
"target": {
"attribute": "MoveSpeedFactor"
},
"target2": {},
"ref": "TAttribute_ARatio",
"conds": {},
"mod": {},
"val": 0.3
}
],
"flags": [],
"mastery": [],
"props": {
"status": {
"types": [
{
"type": "Buff"
}
]
}
},
"vars": {
"var1": 0.3
},
"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}"
}