FareverDB

Hiveborn Blossom

DS_Bladeleaf_Skill1 in Skills

Spins to deal 50% Strength Physical, 50% Intellect Magic to nearby enemies. You can recast this within the next 4 seconds, with damage increased by 100%.

id
DS_Bladeleaf_Skill1
type
7
flags
0
nature
2
script
var RECAST = Skill.DS_Bladeleaf_Skill_1Recast; var firstCast = false; function onUseSkill(s) { if (s.skillId == skill.kind) { firstCast = !haveRecast(); if (firstCast) { addStatus(owner, RECAST, vars.time); } else { removeStatus(owner, RECAST); } } } function onInflictDamageEval(hit) { if (hit.skillId == skill.kind) { if (!firstCast) { hit.dmgMult += vars.var1; if (rank >= 2) { hit.magicArmorIgnore += 1; } } if (rank >= 3) { if (hit.targetUnit.healthRatio > vars.threshold) { hit.dmgMult += vars.var1; } } } } function haveRecast() { return owner.getStatusCount(RECAST) > 0; } function shouldHighlightSkill() { return haveRecast(); } function checkForceRecast() { return haveRecast(); }
status
1
cooldown
12
duration
0.7
Raw data
{
  "id": "DS_Bladeleaf_Skill1",
  "gfx": {
    "x": 4,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Dual_Sword_96px.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {
    "file": "Anim/Human/Dual/Skill/Anim_Human_Dual_Blossom_A.fbx",
    "blend": 0.15,
    "speed": 0.8
  },
  "type": 7,
  "vars": {
    "time": 4,
    "var1": 1,
    "var2": 2,
    "time2": 1,
    "threshold": 0.8
  },
  "flags": 0,
  "props": {
    "hit": {
      "shake": 2,
      "camShake": 1
    }
  },
  "steps": [
    {
      "on": 0,
      "type": 3,
      "delay": 0,
      "props": {
        "castFlags": 2
      },
      "duration": 0.3
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0,
      "props": {
        "move": {
          "direction": [
            1
          ],
          "dashSmoothing": 1
        }
      },
      "range": 1.5,
      "duration": 0.1
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "HoneySpark_Blink_Disappear",
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 0,
                "height": 0.5
              }
            },
            "scale": 0.7,
            "space": 0
          }
        ]
      }
    },
    {
      "on": 7,
      "type": 11,
      "delay": -0.15,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "HoneySpark_Blink_Appear",
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 0,
                "height": 0.5
              }
            },
            "scale": 0.7,
            "space": 0
          }
        ]
      }
    },
    {
      "on": 7,
      "type": 8,
      "delay": -0.15,
      "props": {
        "move": {
          "direction": [
            0
          ],
          "dashSmoothing": 1
        }
      },
      "range": 4,
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Human/Dual/Skill/Anim_Human_Dual_Blossom_A.fbx",
              "blend": 0,
              "startFrame": 9
            }
          }
        ]
      },
      "duration": 0.1
    },
    {
      "on": 7,
      "type": 11,
      "delay": 0,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Flower_QuickSpin",
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 0,
                "height": 0.5
              }
            },
            "scale": 1,
            "space": 2
          }
        ]
      }
    },
    {
      "on": 7,
      "type": 4,
      "delay": -0.05,
      "props": {
        "position": {
          "origin": 0
        }
      },
      "range": 3,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Strength",
              "ratio": 0.25
            }
          ],
          "affinity": "Physical"
        }
      ],
      "duration": 0.1
    },
    {
      "on": 7,
      "type": 4,
      "delay": 0.07,
      "props": {
        "position": {
          "origin": 0
        }
      },
      "range": 3,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Intellect",
              "ratio": 0.25
            }
          ],
          "affinity": "Magic"
        }
      ],
      "duration": 0.1
    },
    {
      "on": 7,
      "type": 4,
      "delay": 0.07,
      "props": {
        "position": {
          "origin": 0
        }
      },
      "range": 3,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Strength",
              "ratio": 0.25
            }
          ],
          "affinity": "Physical"
        }
      ],
      "duration": 0.1
    },
    {
      "on": 7,
      "type": 4,
      "delay": 0.18,
      "props": {
        "position": {
          "origin": 0
        }
      },
      "range": 3,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Intellect",
              "ratio": 0.25
            }
          ],
          "affinity": "Magic"
        }
      ],
      "duration": 0.1
    }
  ],
  "texts": {
    "desc": "Spins to deal ::dmgs:: to nearby enemies.\n\nYou can recast this within the next ::time:: seconds, with damage increased by ::var1%::.",
    "name": "Hiveborn Blossom",
    "rankDescs": [
      {
        "desc": "The second spin ignores [MagicArmor].",
        "rank": 2,
        "flags": 0
      },
      {
        "desc": "Damage dealt to enemies over ::threshold%:: [Health] increased by ::var2%::.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 2,
  "script": "var RECAST = Skill.DS_Bladeleaf_Skill_1Recast;\n\nvar firstCast = false;\n\nfunction onUseSkill(s) {\n\tif (s.skillId == skill.kind) {\n\t\tfirstCast = !haveRecast();\n\t\tif (firstCast) {\n\t\t\taddStatus(owner, RECAST, vars.time);\n\t\t} else {\n\t\t\tremoveStatus(owner, RECAST);\n\t\t}\n\t}\n}\n\nfunction onInflictDamageEval(hit) {\n\tif (hit.skillId == skill.kind) {\n\t\tif (!firstCast) {\n\t\t\thit.dmgMult += vars.var1;\n\t\t\tif (rank >= 2) {\n\t\t\t\thit.magicArmorIgnore += 1;\n\t\t\t}\n\t\t}\n\t\tif (rank >= 3) {\n\t\t\tif (hit.targetUnit.healthRatio > vars.threshold) {\n\t\t\t\thit.dmgMult += vars.var1;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction haveRecast() {\n\treturn owner.getStatusCount(RECAST) > 0;\n}\n\nfunction shouldHighlightSkill() {\n\treturn haveRecast();\n}\n\nfunction checkForceRecast() {\n\treturn haveRecast();\n}",
  "status": 1,
  "mastery": [],
  "cooldown": 12,
  "duration": 0.7
}