Ignore Pain
Warrior_IgnorePain in SkillsReduces all damage taken by 60% for 12.
- id
- Warrior_IgnorePain
- type
- 9
- flags
- 0
- nature
- 2
- script
- /*function onGameBeat(beat, dmg) { if( beat == GameBeat.AttackBlock) { reduceCooldown(Skill.Warrior_IgnorePain, vars.var1); } }*/ function onStart(ctx) { if (hasMastery(Mastery.Warrior_IgnorePain_M2)) { setDynVal(1, owner.health * vars.var2); playStep(Steps.SelfHeal, owner); } if (hasMastery(Mastery.Warrior_IgnorePain_M1)) { onPlayerAllies(a -> { if (a != owner) { addStatus(a, Skill.Warrior_IgnorePainStatus_Allies); } }); } } function onGameBeat(b,hit) { if (hasMastery(Mastery.Warrior_IgnorePain_M3)) { if (b == GameBeat.AttackBlock) { reduceCooldown(skill.kind, vars.time); } } }
- status
- 2
- cooldown
- 60
- duration
- 0.5
Raw data
{
"id": "Warrior_IgnorePain",
"gfx": {
"x": 2,
"y": 0,
"file": "UI/icons/atlas_class_Warrior_96PX.png",
"size": 96
},
"anim": {
"ref": "SelfBuff",
"blend": 0.1
},
"type": 9,
"vars": {},
"flags": 0,
"props": {},
"steps": [
{
"on": 0,
"type": 1,
"props": {
"status": {
"ref": "Warrior_IgnorePainStatus",
"target": 0
}
}
},
{
"on": 0,
"type": 11,
"props": {},
"visuals": {
"fxs": [
{
"set": "Warrior_IgnorePain",
"props": {},
"space": 2
}
]
}
},
{
"on": 0,
"type": 24,
"delay": 0.2,
"props": {},
"duration": 0.1
},
{
"id": "SelfHeal",
"on": 13,
"type": 12,
"props": {},
"effects": [
{
"flags": 0,
"dynVal": 1,
"effect": 1,
"scaling": []
}
]
}
],
"texts": {
"desc": "Reduces all damage taken by ::ref_val1%:: for ::ref_dur::.",
"name": "Ignore Pain",
"refs": {
"ref": "Warrior_IgnorePainStatus"
}
},
"nature": 2,
"script": "/*function onGameBeat(beat, dmg) {\n\tif( beat == GameBeat.AttackBlock) {\n\t\treduceCooldown(Skill.Warrior_IgnorePain, vars.var1);\n\t}\n}*/\n\nfunction onStart(ctx) {\n\tif (hasMastery(Mastery.Warrior_IgnorePain_M2)) {\n\t\tsetDynVal(1, owner.health * vars.var2);\n\t\tplayStep(Steps.SelfHeal, owner);\n\t}\n\tif (hasMastery(Mastery.Warrior_IgnorePain_M1)) {\n\t\tonPlayerAllies(a -> {\n\t\t\tif (a != owner) {\n\t\t\t\taddStatus(a, Skill.Warrior_IgnorePainStatus_Allies);\n\t\t\t}\n\t\t});\n\t}\n}\n\nfunction onGameBeat(b,hit) {\n\tif (hasMastery(Mastery.Warrior_IgnorePain_M3)) {\n\t\tif (b == GameBeat.AttackBlock) {\n\t\t\treduceCooldown(skill.kind, vars.time);\n\t\t}\n\t}\n}",
"status": 2,
"mastery": [
{
"id": "Warrior_IgnorePain_M1",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/Portraits/Items/Masteries/Warrior_IgnorePain/Warrior_IgnorePain_M1.png",
"size": 256
},
"text": {
"desc": "::name:: affects allies within ::range:: for half of the effect.",
"name": "Hold On!"
},
"vars": {
"range": 40
},
" vars": {}
},
{
"id": "Warrior_IgnorePain_M2",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/Portraits/Items/Masteries/Warrior_IgnorePain/Warrior_IgnorePain_M2.png",
"size": 256
},
"text": {
"desc": "::name:: instantly heals for ::var2%:: of your [MaxHealth].",
"name": "Last Stand"
},
"vars": {
"var2": 0.35
}
},
{
"id": "Warrior_IgnorePain_M3",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/Portraits/Items/Masteries/Warrior_IgnorePain/Warrior_IgnorePain_M3.png",
"size": 256
},
"text": {
"desc": "Blocking reduces the cooldown of ::name:: by ::time::.",
"name": "Enduring Defenses"
},
"vars": {
"time": 1
}
}
],
"cooldown": 60,
"duration": 0.5
}