When your Health drops below ::threshold:: of your Maximum Health, you gain a Shield absorbing 35% of your Vitality (120 cooldown).
Properties
- type
- Passive
- nature
- Passive
- cooldown
- 120
Referenced by
item (1)
craft (1)
Raw data
{
"gfx": {
"file": "UI/Portraits/Items/GearTrinket/Items_Loot_Trinket_Trinket_InfusedTusk_01.prefab.png",
"size": 256,
"x": 0,
"y": 0
},
"id": "InfusedTusk",
"type": "Passive",
"nature": "Passive",
"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"
},
"anim": {},
"cooldown": 120,
"steps": [],
"flags": [],
"mastery": [],
"props": {},
"vars": {
"var1": 0.35
},
"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}",
"_xrefs": [
{
"from_sheet": "item",
"from_id": "InfusedTusk",
"via_field": "skills"
},
{
"from_sheet": "craft",
"from_id": "InfusedTusk",
"via_field": "item"
}
]
}