Raw data
{
"id": "DA_Water_Skill1_StatusShield",
"anim": {},
"vars": {
"var1": 0.35
},
"flags": 4096,
"props": {
"status": {
"types": [
{
"type": "Buff"
}
]
}
},
"steps": [
{
"id": "Shield",
"on": 6,
"type": 11,
"props": {},
"visuals": {
"fxs": [
{
"set": "Water_Shield_Small",
"flags": 8,
"props": {},
"space": 0,
"attachName": "B_Pelvis"
}
]
},
"duration": -1
}
],
"texts": {},
"nature": 4,
"script": "function onStart(app) {\n\tvar missing = owner.maxHealth - owner.health;\n\tstatus.setShield(missing * vars.var1);\n}\n\nfunction onUpdate(dt) {\n\tif(!status.instigatorSkill.isRunning())\n\t\tstop();\n}",
"status": 2,
"mastery": [],
"duration": 8
}