FareverDB

Battle Shout

Warrior_BattleShout in Skills

Grants 20% [CritChance] to allies within 100 for 15.

id
Warrior_BattleShout
type
9
flags
0
nature
2
script
function onHit(hit) { if (hasMastery(Mastery.Warrior_BattleShout_M3) && hit.stepId == Steps.Aggro_Area) { taunt(hit.target); } } function onStart(ctx) { if (hasMastery(Mastery.Warrior_BattleShout_M3)) { addStatus(owner, Skill.Warrior_BattleShout_Buff); } } function onInflictDamage(dmg) { if (hasMastery(Mastery.Warrior_BattleShout_M1) && dmg.critical) { extendStatusDuration( owner, Skill.Warrior_BattleShoutStatus, vars.dur1); } } function onKill(dmg) { if (hasMastery(Mastery.Warrior_BattleShout_M2)) { reduceCooldown(skill.kind, vars.time); } }
status
2
cooldown
120
duration
0.4
Raw data
{
  "id": "Warrior_BattleShout",
  "gfx": {
    "x": 5,
    "y": 0,
    "file": "UI/icons/atlas_class_Warrior_96PX.png",
    "size": 96
  },
  "anim": {
    "ref": "WarCry"
  },
  "type": 9,
  "vars": {
    "var1": 0.2,
    "range": 100
  },
  "flags": 0,
  "props": {},
  "steps": [
    {
      "on": 0,
      "type": 1,
      "delay": 0.25,
      "props": {
        "status": {
          "ref": "Warrior_BattleShoutStatus",
          "target": 2
        }
      },
      "range": 100,
      "visuals": {
        "fxs": [
          {
            "set": "Violence_Cry",
            "props": {},
            "scale": 1.2,
            "space": 0,
            "attachName": "Socket_Head"
          }
        ],
        "camShake": 5
      }
    },
    {
      "id": "Aggro_Area",
      "on": 0,
      "cond": {
        "mastery": "Warrior_BattleShout_M3"
      },
      "type": 4,
      "props": {},
      "range": 20
    }
  ],
  "texts": {
    "desc": "Grants ::ref_val1%:: [CritChance] to allies within ::range:: for ::ref_duration::.",
    "name": "Battle Shout",
    "refs": {
      "ref": "Warrior_BattleShoutStatus",
      "ref2": "Warrior_BattleShout_Buff"
    }
  },
  "nature": 2,
  "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}",
  "status": 2,
  "mastery": [
    {
      "id": "Warrior_BattleShout_M1",
      "gfx": {
        "x": 0,
        "y": 0,
        "file": "UI/Portraits/Items/Masteries/Warrior_BattleShout/Warrior_BattleShout_M1.png",
        "size": 256
      },
      "text": {
        "desc": "Your critical strikes extend the duration of your own ::ref_name:: by ::dur1::.",
        "name": "Battle Fury"
      },
      "vars": {
        "dur1": 0.25
      },
      " vars": {}
    },
    {
      "id": "Warrior_BattleShout_M2",
      "gfx": {
        "x": 0,
        "y": 0,
        "file": "UI/Portraits/Items/Masteries/Warrior_BattleShout/Warrior_BattleShout_M2.png",
        "size": 256
      },
      "text": {
        "desc": "Participating in killing an enemy reduces the cooldown of ::name:: by ::time::.",
        "name": "Melee Fever"
      },
      "vars": {
        "time": 3
      }
    },
    {
      "id": "Warrior_BattleShout_M3",
      "gfx": {
        "x": 0,
        "y": 0,
        "file": "UI/Portraits/Items/Masteries/Warrior_BattleShout/Warrior_BattleShout_M3.png",
        "size": 256
      },
      "text": {
        "desc": "::name:: forces all nearby enemies to attack you and increases your [Armor] by ::ref2_val1%::.",
        "name": "Mocking Shout"
      }
    }
  ],
  "cooldown": 120,
  "duration": 0.4
}