FareverDB

Cleave

Sword_Start_Skill1 in Skills

Smashes the ground, dealing 150% Strength Physical to enemies and knocking them back, generating a high amount of threat.

id
Sword_Start_Skill1
type
7
flags
0
nature
2
script
function onDamageEval(hit) { if(rank >= 2) { hit.critChance += vars.var1; } } function onDamage(dmg) { if(dmg.critical && rank == 3) { addStatus(dmg.target, Skill.Sword_Start_Skill1Status); } }
status
2
cooldown
10
duration
0.8
Raw data
{
  "id": "Sword_Start_Skill1",
  "gfx": {
    "x": 5,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Sword1H_96PX.png",
    "size": 96
  },
  "anim": {
    "file": "Anim/Human/OneHanded/Skill/Anim_Human_OneHanded_JumpSmash.fbx"
  },
  "type": 7,
  "vars": {
    "var1": 0.25
  },
  "flags": 0,
  "props": {
    "hit": {
      "shake": 6,
      "freeze": 2,
      "camShake": 6
    },
    "threatRatio": 6
  },
  "steps": [
    {
      "on": 0,
      "type": 9,
      "props": {},
      "range": 6,
      "duration": 0.2
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0,
      "props": {
        "move": {
          "direction": [
            0
          ]
        }
      },
      "range": 3,
      "duration": 0.4
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.63,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Human/OneHanded/Skill/Anim_Human_OneHanded_JumpSmash.fbx",
              "blend": 0.01,
              "startFrame": 20
            }
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 4,
      "delay": 0.65,
      "props": {
        "position": {
          "directionalOffset": {
            "x": 2
          }
        }
      },
      "range": 4,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Strength",
              "ratio": 1.5
            }
          ],
          "affinity": "Physical",
          "sideEffects": {
            "knockBack": {
              "type": 1,
              "pushForce": 10,
              "knockUpForce": 10
            }
          }
        }
      ],
      "visuals": {
        "fxs": [
          {
            "set": "Physical_AOE_Unit",
            "flags": 16,
            "props": {},
            "space": 1
          }
        ],
        "hitFx": "PH_Hit_Skill"
      }
    }
  ],
  "texts": {
    "desc": "Smashes the ground, dealing ::dmg:: to enemies and knocking them back, generating a high amount of threat.",
    "name": "Cleave",
    "refs": {
      "ref": "Sword_Start_Skill1Status"
    },
    "rankDescs": [
      {
        "desc": "Has an additional ::var1%:: chance to critically strike.",
        "rank": 2,
        "flags": 0
      },
      {
        "desc": "Enemies bleed for ::ref_dmg:: over ::ref_dur:: if this critically strikes.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 2,
  "script": "function onDamageEval(hit) {\n\tif(rank >= 2) {\n\t\thit.critChance += vars.var1;\n\t}\n}\n\nfunction onDamage(dmg) {\n\tif(dmg.critical && rank == 3) {\n\t\taddStatus(dmg.target, Skill.Sword_Start_Skill1Status);\n\t}\n}",
  "status": 2,
  "mastery": [],
  "cooldown": 10,
  "duration": 0.8
}