FareverDB

Bladeleaf

DS_Bladeleaf_Combo_Status in Skills

Using your [SignatureSkill] consumes all stacks and throws them at the nearest enemy, dealing them ::ref_dmg::.

id
DS_Bladeleaf_Combo_Status
flags
0
nature
4
script
function onSkillProc(ctx) { if(ctx.skill.isWeaponSkill()) { ctx.dmgMult += vars.var1; stop(); } } function onStacksChange() { var diff = status.stacks - skill.getProjectiles().length; for (i in 0...diff) { playStep(Steps.Projectile); } } function onStatusEnd(s,elapsed) { if (s.kind == status.kind && elapsed) { destroyProjectiles(); } } function onProjectileCreated(proj) { hoverProjectile(proj, status.getMaxStacks()); } function onUseSkill(s) { if (s.skill.isSignature()) { skill.fireProjectiles(s.aimTarget); status.consume(); } }
status
2
duration
6
Raw data
{
  "id": "DS_Bladeleaf_Combo_Status",
  "gfx": {
    "x": 2,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Dual_Sword_96px.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {
    "file": "Anim/Human/Dual/_Daggers/Skill/Anim_Human_Daggers_Ambush.fbx",
    "startFrame": 3
  },
  "vars": {
    "var1": 0.5
  },
  "flags": 0,
  "props": {
    "status": {
      "types": [
        {
          "type": "Buff"
        }
      ],
      "maxStacks": 2
    },
    "rankOverride": [
      {
        "props": {
          "maxStacks": 4
        },
        "minRank": 2
      }
    ]
  },
  "steps": [
    {
      "on": 0,
      "type": 11,
      "props": {},
      "duration": -1
    },
    {
      "id": "Projectile",
      "on": 13,
      "type": 7,
      "props": {
        "projectile": {
          "base": "MissileHoming",
          "fxSet": "Projectile_Flower_Bladeleaf_Spawn",
          "scale": 1
        }
      }
    },
    {
      "on": 2,
      "type": 6,
      "props": {},
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "Strength",
              "ratio": 0.35
            },
            {
              "atb": "Intellect",
              "ratio": 0.35
            }
          ],
          "affinity": "Magic"
        }
      ]
    }
  ],
  "texts": {
    "desc": "Using your [SignatureSkill] consumes all stacks and throws them at the nearest enemy, dealing them ::ref_dmg::.",
    "name": "Bladeleaf"
  },
  "nature": 4,
  "script": "function onSkillProc(ctx) {\n\tif(ctx.skill.isWeaponSkill()) {\n\t\tctx.dmgMult += vars.var1;\n\t\tstop();\n\t}\n}\n\nfunction onStacksChange() {\n\tvar diff = status.stacks - skill.getProjectiles().length;\n\tfor (i in 0...diff) {\n\t\tplayStep(Steps.Projectile);\n\t}\n}\n\nfunction onStatusEnd(s,elapsed) {\n\tif (s.kind == status.kind && elapsed) {\n\t\tdestroyProjectiles();\n\t}\n}\n\nfunction onProjectileCreated(proj) {\n\thoverProjectile(proj, status.getMaxStacks());\n}\n\nfunction onUseSkill(s) {\n\tif (s.skill.isSignature()) {\n\t\tskill.fireProjectiles(s.aimTarget);\n\t\tstatus.consume();\n\t}\n}",
  "status": 2,
  "mastery": [],
  "duration": 6
}