Home · skill · Warrior_BerserkStatus

Increase all damage done by 20% and Rage generated from Skills and Attacks by 1.

Properties

status
Done
nature
Status
duration
15
steps
on=13props={}id=SelfHealtype=12effects=[{"effect":1,"scaling":[],"flags":0,"dynVal":1}]on=0props={}type=11visuals={"fxs":[{"set":"Warrior_Aura_Berserk","props":{},"space":0,"flags":8}]}duration=-1delay=0.2
affixes
target={}target2={}ref=Damage_ARatioconds={}mod={}val=0.2target={"attribute":"RageGainFactor"}target2={}ref=TAttribute_ARatioconds={}mod={}val=1
Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/atlas_class_Warrior_96PX.png",
    "size": 96,
    "x": 8,
    "y": 0
  },
  "id": "Warrior_BerserkStatus",
  "nature": "Status",
  "texts": {
    "name": "Berserk",
    "desc": "Increase all damage done by ::val1%:: and [Rage] generated from [Skill]s and [Attack]s by ::var1::."
  },
  "anim": {},
  "duration": 15,
  "steps": [
    {
      "on": 13,
      "props": {},
      "id": "SelfHeal",
      "type": 12,
      "effects": [
        {
          "effect": 1,
          "scaling": [],
          "flags": 0,
          "dynVal": 1
        }
      ]
    },
    {
      "on": 0,
      "props": {},
      "type": 11,
      "visuals": {
        "fxs": [
          {
            "set": "Warrior_Aura_Berserk",
            "props": {},
            "space": 0,
            "flags": 8
          }
        ]
      },
      "duration": -1,
      "delay": 0.2
    }
  ],
  "affixes": [
    {
      "target": {},
      "target2": {},
      "ref": "Damage_ARatio",
      "conds": {},
      "mod": {},
      "val": 0.2
    },
    {
      "target": {
        "attribute": "RageGainFactor"
      },
      "target2": {},
      "ref": "TAttribute_ARatio",
      "conds": {},
      "mod": {},
      "val": 1
    }
  ],
  "flags": [],
  "mastery": [],
  "props": {
    "status": {
      "types": [
        {
          "type": "Buff"
        }
      ]
    }
  },
  "vars": {
    "var1": 1,
    "var2": 0.02,
    "time": 1,
    "damage": 0.2
  },
  "script": "function onReceiveDamage(dmg) {\n\tif (hasMastery(Mastery.Warrior_Berserk_M2) && dmg.amount > 0) {\n\t\tsetDynVal(1, owner.health * vars.var2);\n\t\tplayStep(Steps.SelfHeal, owner);\n\t}\n}\n\nfunction onInflictDamageEval(hit) {\n\thit.dmgMult += vars.damage;\n}\n\nfunction onSkillProc(ctx) {\n\tif (hasMastery(Mastery.Warrior_Berserk_M3)) {\n\t\tif (ctx.skillId == Skill.Warrior_Rage_Strike) {\n\t\t\textendDuration(vars.time);\n\t\t}\n\t}\n}"
}