FareverDB

Bloodrage Aura

Axe_Boomerang_Skill_Passive in Skills

Increases the [CritChance] of all allies within 40 by 3% to 5%.

id
Axe_Boomerang_Skill_Passive
type
24
flags
0
nature
5
script
function onInflictDamage(dmg) { if (rank >= 3 && dmg.isPhysical && dmg.critical && !isInCooldown()) { setDynVal(1, vars.var2 * owner.maxHealth); playStep(Steps.Heal, owner); consumeCooldown(); } }
status
5
cooldown
3
Raw data
{
  "id": "Axe_Boomerang_Skill_Passive",
  "gfx": {
    "x": 4,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Axe1H_96px.png",
    "size": 96
  },
  "anim": {},
  "type": 24,
  "vars": {
    "time": 3,
    "var1": 0.03,
    "var2": 0.1,
    "range": 40
  },
  "flags": 0,
  "props": {
    "rankOverride": [
      {
        "vars": {
          "var1": 0.05
        },
        "minRank": 2
      }
    ]
  },
  "steps": [
    {
      "id": "Heal",
      "on": 13,
      "type": 6,
      "props": {},
      "effects": [
        {
          "flags": 0,
          "dynVal": 1,
          "effect": 1,
          "scaling": [],
          "affinity": "Raw"
        }
      ]
    }
  ],
  "texts": {
    "desc": "Increases the [CritChance] of all allies within ::range:: by ::val1%::.",
    "name": "Bloodrage Aura",
    "rankDescs": [
      {
        "desc": "[CritChance] bonus increased to ::var1%::.",
        "rank": 2,
        "flags": 1
      },
      {
        "desc": "When you perform a [Physical] critical strike, heal yourself for ::var2%:: of your [MaxHealth] (::time:: cooldown).",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 5,
  "script": "function onInflictDamage(dmg) {\n\tif (rank >= 3 && dmg.isPhysical && dmg.critical && !isInCooldown()) {\n\t\tsetDynVal(1, vars.var2 * owner.maxHealth);\n\t\tplayStep(Steps.Heal, owner);\n\t\tconsumeCooldown();\n\t}\n}",
  "status": 5,
  "affixes": [
    {
      "mod": {},
      "ref": "TAttribute_Flat",
      "val": 3,
      "conds": {
        "maxRank": 1
      },
      "target": {
        "attribute": "CritChance"
      },
      "target2": {}
    },
    {
      "mod": {},
      "ref": "TAttribute_Flat",
      "val": 5,
      "conds": {
        "minRank": 2
      },
      "target": {
        "attribute": "CritChance"
      },
      "target2": {}
    }
  ],
  "mastery": [],
  "cooldown": 3
}