Home · skill · DA_Water_Skill1_StatusShield

Properties

status
Done
nature
Status
duration
8
steps
on=6visuals={"fxs":[{"set":"Water_Shield_Small","space":0,"props":{},"flags":8,"attachName":"B_Pelvis"}]}props={}duration=-1type=11id=Shield
flags
Hidden
Raw data
{
  "status": "Done",
  "id": "DA_Water_Skill1_StatusShield",
  "nature": "Status",
  "texts": {},
  "anim": {},
  "duration": 8,
  "steps": [
    {
      "on": 6,
      "visuals": {
        "fxs": [
          {
            "set": "Water_Shield_Small",
            "space": 0,
            "props": {},
            "flags": 8,
            "attachName": "B_Pelvis"
          }
        ]
      },
      "props": {},
      "duration": -1,
      "type": 11,
      "id": "Shield"
    }
  ],
  "flags": [
    "Hidden"
  ],
  "mastery": [],
  "props": {
    "status": {
      "types": [
        {
          "type": "Buff"
        }
      ]
    }
  },
  "vars": {
    "var1": 0.35
  },
  "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}"
}