FareverDB

Infused Tusk

InfusedTusk in Skills

When your [Health] drops below ::threshold:: of your [MaxHealth], you gain a [Shield] absorbing 35% of your [Vitality] (120 cooldown).

id
InfusedTusk
type
14
flags
0
nature
5
script
function onReceiveDamage(dmg) { if(owner.isInCombat && owner.healthRatio < vars.var1 && !hasStatus(owner, Skill.InfusedTusk_Cooldown)) { addStatus(owner, Skill.InfusedTusk_Status); addStatus(owner, Skill.InfusedTusk_Cooldown); } }
cooldown
120
Raw data
{
  "id": "InfusedTusk",
  "gfx": {
    "x": 0,
    "y": 0,
    "file": "UI/Portraits/Items/GearTrinket/Items_Loot_Trinket_Trinket_InfusedTusk_01.prefab.png",
    "size": 256
  },
  "anim": {},
  "type": 14,
  "vars": {
    "var1": 0.35
  },
  "flags": 0,
  "props": {},
  "steps": [],
  "texts": {
    "desc": "When your [Health] drops below ::threshold:: of your [MaxHealth], you gain a [Shield] absorbing ::var1%:: of your [Vitality] (::cooldown:: cooldown).",
    "name": "Infused Tusk"
  },
  "nature": 5,
  "script": "function onReceiveDamage(dmg) {\n\tif(owner.isInCombat && owner.healthRatio < vars.var1 && !hasStatus(owner, Skill.InfusedTusk_Cooldown)) {\n\t\taddStatus(owner, Skill.InfusedTusk_Status);\n\t\taddStatus(owner, Skill.InfusedTusk_Cooldown);\n\t}\n}",
  "mastery": [],
  "cooldown": 120
}