FareverDB
?

DA_Water_Skill1_StatusShield

DA_Water_Skill1_StatusShield in Skills
id
DA_Water_Skill1_StatusShield
flags
4096
nature
4
script
function onStart(app) { var missing = owner.maxHealth - owner.health; status.setShield(missing * vars.var1); } function onUpdate(dt) { if(!status.instigatorSkill.isRunning()) stop(); }
status
2
duration
8
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
}