Home · skill · Warrior_Talent_RageShield
When you apply Hemorrhage, you gain a Shield absorbing an amount equal to 5% of your Maximum Health for 8.
Properties
- status
- Done
- type
- Talent
- nature
- Passive
Referenced by
unit (1)
Raw data
{
"status": "Done",
"gfx": {
"file": "UI/icons/Warrior_talent.png",
"size": 96,
"x": 5,
"y": 1
},
"id": "Warrior_Talent_RageShield",
"type": "Talent",
"nature": "Passive",
"texts": {
"name": "Rage Shield",
"desc": "When you apply ::ref_name::, you gain a [Shield] absorbing an amount equal to ::var1%:: of your [MaxHealth] for ::ref2_duration::.",
"refs": {
"ref": "Warrior_Hemorrhage_Status",
"ref2": "Warrior_Talent_RageShield_Status"
}
},
"anim": {},
"steps": [],
"flags": [],
"mastery": [],
"props": {
"talent": {
"maxPoints": 1
}
},
"vars": {
"var1": 0.05
},
"script": "function onInflictStatusEval(s) {\n\tif (s.status.isType(StatusType.Hemorage)) {\n\t\tif (!hasStatus(owner, Skill.Warrior_Talent_RageShield)) {\n\t\t\taddStatus(owner, Skill.Warrior_Talent_RageShield_Status);\n\t\t}\n\t}\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Warrior",
"via_field": "talentTrees"
}
]
}