Rage Shield
Warrior_Talent_RageShield in SkillsWhen you apply Hemorrhage, you gain a [Shield] absorbing an amount equal to 5% of your [MaxHealth] for 8.
- id
- Warrior_Talent_RageShield
- type
- 21
- flags
- 0
- nature
- 5
- script
- function onInflictStatusEval(s) { if (s.status.isType(StatusType.Hemorage)) { if (!hasStatus(owner, Skill.Warrior_Talent_RageShield)) { addStatus(owner, Skill.Warrior_Talent_RageShield_Status); } } }
- status
- 2
Raw data
{
"id": "Warrior_Talent_RageShield",
"gfx": {
"x": 5,
"y": 1,
"file": "UI/icons/Warrior_talent.png",
"size": 96
},
"anim": {},
"type": 21,
"vars": {
"var1": 0.05
},
"flags": 0,
"props": {
"talent": {
"maxPoints": 1
}
},
"steps": [],
"texts": {
"desc": "When you apply ::ref_name::, you gain a [Shield] absorbing an amount equal to ::var1%:: of your [MaxHealth] for ::ref2_duration::.",
"name": "Rage Shield",
"refs": {
"ref": "Warrior_Hemorrhage_Status",
"ref2": "Warrior_Talent_RageShield_Status"
}
},
"nature": 5,
"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}",
"status": 2,
"mastery": []
}