Home · skill · Crescent_FlowerSpiral_Skill_1

Spins to deal 18% Dexterity + 18% Faith to nearby enemies. Consumes all stacks of Psychoactive Petal to spin additional times.

During combat, generates a stack of Psychoactive Petal every 4 and after every Final Combo Attack, stacking up to 6 times.

Properties

status
WIP
type
Weapon Skill
nature
Ability
cooldown
12
steps
on=13visuals={"playAnims":[{"anim":{"file":"Anim/Human/Crescent/Skill/Anim_Human_Crescent_SpiralEnd.fbx","blend":0,"startFrame":0}}]}props={"startSteps":[{"step":"BaseArea","force":false}]}type=11delay=0.05range=4id=StartBaseAreaon=13visuals={"fxs":[{"set":"HoneyFlower_QuickSpin","space":0,"props":{"offset":{"x":0,"y":0,"z":0.65,"height":0.5}}}]}props={}effects=[{"effect":0,"scaling":[{"ratio":0.18,"atb":"Dexterity"},{"ratio":0.18,"atb":"Faith"}],"affinity":"Magic","flags":0}]type=4range=4id=BaseAreadelay=0.05on=13props={"canRepeat":true}effects=[{"effect":0,"scaling":[{"ratio":0.18,"atb":"Dexterity"},{"ratio":0.18,"atb":"Faith"}],"affinity":"Magic","flags":0}]id=AdditionalAreatype=4range=4delay=0.1on=13props={}id=StopStepdelay=0.8type=10
flags
RequireStop

Referenced by

Raw data
{
  "status": "WIP",
  "gfx": {
    "file": "UI/icons/atlas_weapon_Crescent_96PX.png",
    "size": 48,
    "x": 4,
    "y": 0,
    "width": 2,
    "height": 2
  },
  "id": "Crescent_FlowerSpiral_Skill_1",
  "type": "WeaponSkill",
  "nature": "Ability",
  "texts": {
    "desc": "Spins to deal ::dmg:: to nearby enemies. Consumes all stacks of ::ref_name:: to spin additional times.\n\nDuring combat, generates a stack of ::ref_name:: every ::time:: and after every [ComboAttack], stacking up to ::ref_stacks:: times.",
    "name": "Flower Spiral",
    "rankDescs": [
      {
        "rank": 2,
        "desc": "Generates a stack every ::time::.",
        "flags": 1
      },
      {
        "rank": 3,
        "desc": "Triggers the effects of ::ref2_name::.",
        "flags": 0
      }
    ],
    "refs": {
      "ref": "Crescent_FlowerSpiral_Skill_1_Charge",
      "ref2": "Crescent_FlowerSpiral_Passive"
    }
  },
  "anim": {
    "file": "Anim/Human/Crescent/Skill/Anim_Human_Crescent_SpiralFast.fbx",
    "blend": 0
  },
  "cooldown": 12,
  "steps": [
    {
      "on": 13,
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Human/Crescent/Skill/Anim_Human_Crescent_SpiralEnd.fbx",
              "blend": 0,
              "startFrame": 0
            }
          }
        ]
      },
      "props": {
        "startSteps": [
          {
            "step": "BaseArea",
            "force": false
          }
        ]
      },
      "type": 11,
      "delay": 0.05,
      "range": 4,
      "id": "StartBaseArea"
    },
    {
      "on": 13,
      "visuals": {
        "fxs": [
          {
            "set": "HoneyFlower_QuickSpin",
            "space": 0,
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 0.65,
                "height": 0.5
              }
            }
          }
        ]
      },
      "props": {},
      "effects": [
        {
          "effect": 0,
          "scaling": [
            {
              "ratio": 0.18,
              "atb": "Dexterity"
            },
            {
              "ratio": 0.18,
              "atb": "Faith"
            }
          ],
          "affinity": "Magic",
          "flags": 0
        }
      ],
      "type": 4,
      "range": 4,
      "id": "BaseArea",
      "delay": 0.05
    },
    {
      "on": 13,
      "props": {
        "canRepeat": true
      },
      "effects": [
        {
          "effect": 0,
          "scaling": [
            {
              "ratio": 0.18,
              "atb": "Dexterity"
            },
            {
              "ratio": 0.18,
              "atb": "Faith"
            }
          ],
          "affinity": "Magic",
          "flags": 0
        }
      ],
      "id": "AdditionalArea",
      "type": 4,
      "range": 4,
      "delay": 0.1
    },
    {
      "on": 13,
      "props": {},
      "id": "StopStep",
      "delay": 0.8,
      "type": 10
    }
  ],
  "flags": [
    "RequireStop"
  ],
  "mastery": [],
  "props": {
    "rankPassives": [
      {
        "minRank": 3,
        "passives": [
          {
            "ref": "Crescent_FlowerSpiral_Skill_1_Charge"
          }
        ]
      }
    ],
    "hit": {
      "freeze": 0.5
    },
    "rankOverride": [
      {
        "minRank": 2,
        "vars": {
          "time": 3
        }
      }
    ]
  },
  "vars": {
    "delay": 0.15,
    "var1": 0.05,
    "time": 4
  },
  "script": "var dmgStackCount = 0;\nfunction onStart(ctx) {\n\tvar shotDelay = vars.delay;\n\tvar stackCount = getStatusCount(owner, Skill.Crescent_FlowerSpiral_Skill_1_Charge);\n\tdmgStackCount = stackCount;\n\tconsumeStatus(owner, Skill.Crescent_FlowerSpiral_Skill_1_Charge, 1000);\n\tif (stackCount == 0) {\n\t\tplayStep(Steps.StartBaseArea);\n\t\tplayStep(Steps.StopStep);\n\t} else {\n\t\tfor (i in 0...(stackCount + 1)) {\n\t\t\twait(i * shotDelay, function() {\n\t\t\t\t// tryConsumeSubstacks(owner, Skill.Crescent_FlowerSpiral_FinalCombo_Status, 1);\n\t\t\t\tif (i < stackCount) {\n\t\t\t\t\tplayStep(Steps.AdditionalArea);\n\t\t\t\t} else {\n\t\t\t\t\tplayStep(Steps.StartBaseArea);\n\t\t\t\t\tplayStep(Steps.StopStep);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n}\n\nfunction onInflictDamage(dmg) {\n\tvar s = dmg.baseSkill;\n\tif( s.isFinalAttack() ) {\n\t\taddStatus(owner, Skill.Crescent_FlowerSpiral_Skill_1_Charge);\n\t}\n}\n\n\n\nvar chargeTimer = 0.;\nfunction onRegUpdate(dt) {\n\tif (owner.isInCombat) {\n\t\tchargeTimer += dt;\n\t\tif (chargeTimer > vars.time) {\n\t\t\tchargeTimer -= vars.time;\n\t\t\taddStatus(owner, Skill.Crescent_FlowerSpiral_Skill_1_Charge);\n\t\t}\n\t} else {\n\t\tchargeTimer = 0;\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "item",
      "from_id": "Crescent_FlowerSpiral",
      "via_field": "skills"
    }
  ]
}