FareverDB

Scatterbloom

Thrown_Seeds_AttackCombo in Skills

Throws three sharpened petals dealing 20% Dexterity + 20% Intellect Physical to an enemy. Each Petal has a 0.35 chance to plant a stack of Ravenous Sprout.

id
Thrown_Seeds_AttackCombo
type
4
flags
0
nature
1
script
function onInflictDamage(dmg) { if (dmg.baseSkill == skill) { if (checkProba(vars.chance)) { addStatus(dmg.target, Skill.Thrown_Seeds_Sprout); } } } function onDamageEval(hit) { if (rank >= 3) { if (hit.targetUnit.healthRatio <= vars.var1) { hit.dmgMult += vars.damage; } } }
status
2
duration
1.1
Raw data
{
  "id": "Thrown_Seeds_AttackCombo",
  "gfx": {
    "x": 2,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Thrown_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {
    "ref": "AttackCombo",
    "blend": 0.1,
    "startFrame": 2
  },
  "type": 4,
  "vars": {
    "var1": 0.35,
    "chance": 0.35,
    "damage": 0.5
  },
  "flags": 0,
  "props": {
    "hit": {
      "camShake": 8
    },
    "aimStyle": 1,
    "rankOverride": [
      {
        "vars": {
          "chance": 0.45
        },
        "minRank": 2
      }
    ]
  },
  "steps": [
    {
      "on": 0,
      "type": 11,
      "delay": 0.17,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Jump_Generic_High",
            "props": {},
            "space": 0
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0,
      "props": {
        "move": {
          "flags": 260,
          "direction": [
            0
          ],
          "dashSmoothing": 0,
          "inputDirection": {
            "mode": 1,
            "relation": 0
          }
        }
      },
      "range": 1,
      "script": "",
      "duration": 0.16
    },
    {
      "on": 0,
      "type": 14,
      "props": {},
      "duration": 0.7
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0.17,
      "props": {
        "move": {
          "flags": 260,
          "direction": [
            0
          ],
          "dashSmoothing": 1,
          "inputDirection": {
            "mode": 1,
            "relation": 0
          }
        }
      },
      "range": 3,
      "duration": 0.02
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0.2,
      "props": {
        "move": {
          "flags": 4,
          "direction": [
            0
          ],
          "dashSmoothing": 1,
          "inputDirection": {
            "mode": 1,
            "relation": 0
          }
        }
      },
      "range": 2,
      "duration": 0.7
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.17,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "AttackCombo",
              "blend": 0.01,
              "startFrame": 8
            }
          }
        ]
      }
    },
    {
      "id": "Projectiles",
      "on": 0,
      "type": 7,
      "delay": 0.27,
      "props": {
        "projectile": {
          "base": "MissileStraight",
          "fxSet": "Projectile_Flower_Shuriken_Small",
          "scale": 1.5,
          "speed": 50,
          "offset": {
            "x": 0,
            "y": 0,
            "z": -0.5
          },
          "spread": {
            "rotY": 5,
            "rotZ": 5
          },
          "settings": {
            "hitTerrain": false,
            "hitOnlyTarget": true
          },
          "generation": {
            "count": 3,
            "shape": [
              0,
              1,
              100,
              0
            ],
            "duration": 0.15,
            "stepLinked": true,
            "directionBias": 0.5,
            "endActivationDelay": 0.05
          },
          "activationDelay": 0,
          "followForceCurve": [
            0,
            0.05,
            -0.0697117989531016,
            -0.00277277893662861,
            0.252838582201753,
            0.0102761076672166,
            0.319688368568298,
            0.23962156259001,
            -0.0228839136678792,
            -0.0535326956275372,
            0.0759206587446523,
            0.17908558888306,
            0.672836611005859,
            0.803681435562888,
            -0.222250554946781,
            -0.117607066884123,
            0.0313776624907483,
            0.0167640530491203
          ]
        }
      },
      "range": 40,
      "script": ""
    },
    {
      "on": 2,
      "type": 0,
      "props": {
        "position": {
          "origin": 2
        }
      },
      "script": "",
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Dexterity",
              "ratio": 0.2
            },
            {
              "atb": "Intellect",
              "ratio": 0.2
            }
          ],
          "affinity": "Physical"
        }
      ]
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.78,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Land_Generic",
            "props": {},
            "scale": 2,
            "space": 1
          }
        ]
      }
    }
  ],
  "texts": {
    "desc": "Throws three sharpened petals dealing ::dmg:: to an enemy. Each Petal has a ::chance:: chance to plant a stack of ::ref_name::.",
    "name": "Scatterbloom",
    "refs": {
      "ref": "Thrown_Seeds_Sprout"
    },
    "rankDescs": [
      {
        "desc": "Chance increased to ::chance::.",
        "rank": 2,
        "flags": 0
      },
      {
        "desc": "Damage dealt to enemies below ::var1%:: [Health] increased by ::damage%::.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 1,
  "script": "function onInflictDamage(dmg) {\n\tif (dmg.baseSkill == skill) {\n\t\tif (checkProba(vars.chance)) {\n\t\t\taddStatus(dmg.target, Skill.Thrown_Seeds_Sprout);\n\t\t}\n\t}\n}\n\nfunction onDamageEval(hit) {\n\tif (rank >= 3) {\n\t\tif (hit.targetUnit.healthRatio <= vars.var1) {\n\t\t\thit.dmgMult += vars.damage;\n\t\t}\n\t}\n}",
  "status": 2,
  "mastery": [],
  "duration": 1.1
}