Skip to main content
All skills

Veil of the Unkillable Demon King

Passive

As long as all Skills of this weapon are on cooldown, you are permanently protected by a Shield absorbing 70% Intellect + 88% Intellect damage.

cooldown
duration
steps1
Scaling
70% Intellect + 88% Intellect
70% Intellect + 88% Intellect

References

Granted by

Raw data

type
WeaponPassive
nature
Passive
steps
1
id
Halos_Demon_Passive
raw data
{
  "id": "Halos_Demon_Passive",
  "gfx": {
    "x": 18,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Halos_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "type": 24,
  "vars": {
    "var1": 0.25
  },
  "flags": 0,
  "props": {},
  "steps": [
    {
      "id": "Shield",
      "on": 13,
      "type": 1,
      "props": {
        "status": {
          "ref": "Halos_Demon_Passive_Status"
        }
      },
      "effects": [
        {
          "flags": 0,
          "effect": 4,
          "status": "Halos_Demon_Passive_Status",
          "scaling": []
        }
      ]
    }
  ],
  "texts": {
    "desc": "As long as all [Skill]s of this weapon are on cooldown, you are permanently protected by a [Shield] absorbing ::ref_shield:: damage.",
    "name": "Veil of the Unkillable Demon King",
    "refs": {
      "ref": "Halos_Demon_Passive_Status"
    },
    "rankDescs": [
      {
        "desc": "[Shield] increased by ::var1%::.",
        "flags": 1
      },
      {
        "desc": "When the shield disappears, you heal nearby allies for the same amount.",
        "flags": 0
      }
    ]
  },
  "nature": 5,
  "script": "function onSkillProc(ctx) {\n\twait(0, () -> {\n\t\tvar s1Cd = isSkillInCooldown(Skill.Halos_Demon_Skill2);\n\t\tvar s2Cd = isSkillInCooldown(Skill.Halos_Demon_Skill1);\n\t\t//trace(\"Cooldown check \" + s1Cd + \" \" + s2Cd);\n\n\t\tif (s1Cd && s2Cd) {\n\t\t\tif (!hasStatus(owner, Skill.Halos_Demon_Passive_Status)) {\n\t\t\t\tplayStep(Steps.Shield, owner);\n\t\t\t}\n\t\t}\n\t});\n}",
  "status": 2,
  "mastery": []
}