Home · skill · Warrior_BattleShout
Grants 20% Critical Chance to allies within 100 for 15.
Properties
- status
- Done
- type
- Class Skill
- nature
- Ability
- cooldown
- 120
- duration
- 0.4
- steps
- mastery
Referenced by
unit (1)
Raw data
{
"status": "Done",
"gfx": {
"file": "UI/icons/atlas_class_Warrior_96PX.png",
"size": 96,
"x": 5,
"y": 0
},
"id": "Warrior_BattleShout",
"type": "ClassSkill",
"nature": "Ability",
"texts": {
"name": "Battle Shout",
"desc": "Grants ::ref_val1%:: [CritChance] to allies within ::range:: for ::ref_duration::.",
"refs": {
"ref": "Warrior_BattleShoutStatus",
"ref2": "Warrior_BattleShout_Buff"
}
},
"anim": {
"ref": "WarCry"
},
"cooldown": 120,
"duration": 0.4,
"steps": [
{
"visuals": {
"fxs": [
{
"set": "Violence_Cry",
"props": {},
"scale": 1.2,
"attachName": "Socket_Head",
"space": 0
}
],
"camShake": 5
},
"props": {
"status": {
"ref": "Warrior_BattleShoutStatus",
"target": 2
}
},
"on": 0,
"type": 1,
"range": 100,
"delay": 0.25
},
{
"on": 0,
"props": {},
"id": "Aggro_Area",
"cond": {
"mastery": "Warrior_BattleShout_M3"
},
"range": 20,
"type": 4
}
],
"flags": [],
"mastery": [
{
"id": "Warrior_BattleShout_M1",
" vars": {},
"gfx": {
"file": "UI/Portraits/Items/Masteries/Warrior_BattleShout/Warrior_BattleShout_M1.png",
"size": 256,
"x": 0,
"y": 0
},
"text": {
"name": "Battle Fury",
"desc": "Your critical strikes extend the duration of your own ::ref_name:: by ::dur1::."
},
"vars": {
"dur1": 0.25
}
},
{
"id": "Warrior_BattleShout_M2",
"gfx": {
"file": "UI/Portraits/Items/Masteries/Warrior_BattleShout/Warrior_BattleShout_M2.png",
"size": 256,
"x": 0,
"y": 0
},
"text": {
"name": "Melee Fever",
"desc": "Participating in killing an enemy reduces the cooldown of ::name:: by ::time::."
},
"vars": {
"time": 3
}
},
{
"id": "Warrior_BattleShout_M3",
"gfx": {
"file": "UI/Portraits/Items/Masteries/Warrior_BattleShout/Warrior_BattleShout_M3.png",
"size": 256,
"x": 0,
"y": 0
},
"text": {
"name": "Mocking Shout",
"desc": "::name:: forces all nearby enemies to attack you and increases your [Armor] by ::ref2_val1%::."
}
}
],
"props": {},
"vars": {
"var1": 0.2,
"range": 100
},
"script": "function onHit(hit) {\n\tif (hasMastery(Mastery.Warrior_BattleShout_M3) && hit.stepId == Steps.Aggro_Area) {\n\t\ttaunt(hit.target);\n\t}\n}\n\nfunction onStart(ctx) {\n\tif (hasMastery(Mastery.Warrior_BattleShout_M3)) {\n\t\taddStatus(owner, Skill.Warrior_BattleShout_Buff);\n\t}\n}\n\nfunction onInflictDamage(dmg) {\n\tif (hasMastery(Mastery.Warrior_BattleShout_M1) && dmg.critical) {\n\t\textendStatusDuration( owner, Skill.Warrior_BattleShoutStatus, vars.dur1);\n\t}\n}\n\nfunction onKill(dmg) {\n\tif (hasMastery(Mastery.Warrior_BattleShout_M2)) {\n\t\treduceCooldown(skill.kind, vars.time);\n\t}\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Warrior",
"via_field": "skills"
}
]
}