FareverDB

Tear

Axe_Boomerang_Combo in Skills

Deals 45% Strength + 45% Dexterity Physical to an enemy and resets the cooldown of Bonethrow if this critically strikes.

id
Axe_Boomerang_Combo
type
4
flags
0
notes
faire le "proc" system avec un statut
nature
1
script
function onDamage(dmg) { if( dmg.critical ) { resetCooldown(Skill.Axe_Boomerang_Skill1); } } function onDamageEval(hit) { if( hit.target.hasStatusType(StatusType.Bleed) ) { hit.dmgMult += vars.var1; } }
status
2
duration
0.75
Raw data
{
  "id": "Axe_Boomerang_Combo",
  "gfx": {
    "x": 3,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Axe1H_96px.png",
    "size": 96
  },
  "anim": {
    "ref": "AttackCombo",
    "blend": 0.15,
    "startFrame": 0
  },
  "type": 4,
  "vars": {
    "var1": 0.2
  },
  "flags": 0,
  "notes": "faire le \"proc\" system avec un statut",
  "props": {
    "hit": {
      "shake": 7,
      "freeze": 4,
      "camShake": 6
    },
    "threatRatio": 1.5
  },
  "steps": [
    {
      "on": 0,
      "type": 9,
      "props": {},
      "range": 6,
      "duration": 0.2
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0,
      "props": {
        "move": {
          "direction": [
            0
          ],
          "dashSmoothing": 0
        }
      },
      "range": 3,
      "duration": 0.3
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0.25,
      "props": {
        "move": {
          "direction": [
            0
          ],
          "dashSmoothing": 1
        }
      },
      "range": 2,
      "duration": 0.1
    },
    {
      "on": 0,
      "type": 0,
      "delay": 0.25,
      "props": {
        "area": {
          "shape": [
            1,
            2
          ]
        }
      },
      "range": 3,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Strength",
              "ratio": 0.45
            },
            {
              "atb": "Dexterity",
              "ratio": 0.45
            }
          ],
          "affinity": "Physical"
        }
      ]
    }
  ],
  "texts": {
    "desc": "Deals ::dmg:: to an enemy and resets the cooldown of ::ref_name:: if this critically strikes.",
    "name": "Tear",
    "refs": {
      "ref": "Axe_Boomerang_Skill1"
    },
    "rankDescs": [
      {
        "desc": "You permanently gain ::val1%:: [CritChance].",
        "rank": 2,
        "flags": 0
      },
      {
        "desc": "Damage dealt to bleeding enemies increased by ::var1%::.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 1,
  "script": "function onDamage(dmg) {\n\tif( dmg.critical ) {\n\t\tresetCooldown(Skill.Axe_Boomerang_Skill1);\n\t}\n}\n\nfunction onDamageEval(hit) {\n\tif( hit.target.hasStatusType(StatusType.Bleed) ) {\n\t\thit.dmgMult += vars.var1;\n\t}\n}",
  "status": 2,
  "affixes": [
    {
      "mod": {},
      "ref": "TAttribute_Flat",
      "val": 5,
      "conds": {
        "minRank": 2
      },
      "target": {
        "attribute": "CritChance"
      },
      "target2": {},
      "displayed": false
    }
  ],
  "mastery": [],
  "duration": 0.75
}