FareverDB

Floral Euphoria

Crescent_FlowerSpiral_FinalCombo in Skills

Strikes the ground, dealing 5% Dexterity + 5% Faith Physical to nearby enemies and increasing your [CritChance] by 2% for 15, stacking up to 4 times.

id
Crescent_FlowerSpiral_FinalCombo
type
4
flags
0
nature
1
script
function onFirstHit(hit) { if(isServer && rank >= 3) { var chance = getProcChance(); if (checkProba(chance)) { addStatus(owner, Skill.Crescent_FlowerSpiral_Skill_1_Charge); //(owner, Skill.Crescent_FlowerSpiral_FinalCombo_Status, 1); } } } function getProcChance() { var chance = vars.chance; var crit = getAtb(owner, Attribute.CritChance); chance += crit / vars.var1; return chance; } function onDamageEval(hit) { if (rank >= 2) { hit.critDmgMult += vars.damage; } }
status
0
duration
0.8
Raw data
{
  "id": "Crescent_FlowerSpiral_FinalCombo",
  "gfx": {
    "x": 2,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Crescent_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {
    "ref": "AttackCombo",
    "startFrame": 0
  },
  "type": 4,
  "vars": {
    "time": 3,
    "var1": 3,
    "chance": 0.2,
    "damage": 0.15
  },
  "flags": 0,
  "props": {
    "hit": {
      "shake": 5,
      "freeze": 3,
      "camShake": 11
    }
  },
  "steps": [
    {
      "on": 0,
      "type": 8,
      "delay": 0,
      "props": {
        "move": {
          "direction": [
            0
          ],
          "dashSmoothing": 1
        }
      },
      "range": 5,
      "duration": 0.5
    },
    {
      "on": 0,
      "type": 0,
      "delay": 0.13,
      "props": {
        "area": {
          "shape": [
            2,
            180
          ]
        }
      },
      "range": 4,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Dexterity",
              "ratio": 0.05
            },
            {
              "atb": "Faith",
              "ratio": 0.05
            }
          ],
          "affinity": "Physical"
        }
      ]
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.13,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "AttackCombo",
              "blend": 0,
              "speed": 1,
              "startFrame": 4
            }
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.41,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "AttackCombo",
              "blend": 0,
              "speed": 1,
              "startFrame": 12
            }
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 4,
      "delay": 0.45,
      "props": {
        "position": {
          "directionalOffset": {
            "x": 1
          }
        }
      },
      "range": 5,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Dexterity",
              "ratio": 0.4
            },
            {
              "atb": "Faith",
              "ratio": 0.4
            }
          ],
          "affinity": "Physical"
        }
      ],
      "visuals": {
        "fxs": [
          {
            "set": "Honey_AOE_FloorImpact",
            "flags": 16,
            "props": {},
            "space": 1
          }
        ]
      }
    },
    {
      "id": "FirstHit",
      "on": 1,
      "type": 1,
      "props": {
        "status": {
          "ref": "Crescent_FlowerSpiral_FinalCombo_Status",
          "target": 0
        },
        "canRepeat": false
      }
    },
    {
      "on": 0,
      "type": 24,
      "delay": 0.65,
      "props": {}
    }
  ],
  "texts": {
    "desc": "Strikes the ground, dealing ::dmg:: to nearby enemies and increasing your [CritChance] by ::ref_val1%:: for ::ref_duration::, stacking up to ::ref_stacks:: times.",
    "name": "Floral Euphoria",
    "refs": {
      "ref": "Crescent_FlowerSpiral_FinalCombo_Status",
      "ref2": "Crescent_FlowerSpiral_Skill_1"
    },
    "rankDescs": [
      {
        "desc": "Deals ::damage%:: increased critical damage.",
        "rank": 2,
        "flags": 0
      },
      {
        "desc": "Has ::chance:: chance to grant another stack of ::ref2_name::.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 1,
  "script": "function onFirstHit(hit) {\n\tif(isServer && rank >= 3) {\n\t\tvar chance = getProcChance();\n\t\tif (checkProba(chance)) {\n\t\t\taddStatus(owner, Skill.Crescent_FlowerSpiral_Skill_1_Charge);\n\t\t\t//(owner, Skill.Crescent_FlowerSpiral_FinalCombo_Status, 1);\n\t\t}\n\t}\n}\n\nfunction getProcChance() {\n\tvar chance = vars.chance;\n\tvar crit = getAtb(owner, Attribute.CritChance);\n\tchance += crit / vars.var1;\n\treturn chance;\n}\n\nfunction onDamageEval(hit) {\n\tif (rank >= 2) {\n\t\thit.critDmgMult += vars.damage;\n\t}\n}",
  "status": 0,
  "mastery": [],
  "duration": 0.8
}