Home · skill · Mokshi_DeadlyBlossom

Properties

status
WIP
type
Skill
nature
Spell
cooldown
50
duration
1
steps
on=0props={"rotation":{"limiter":320}}type=13duration=5on=0visuals={"fxs":[{"set":"HoneySpark_Blink_Disappear","space":1,"props":{},"flags":68,"attachName":"Socket_FaerieCenter"},{"set":"HoneySpark_Blink_Local","space":0,"props":{},"flags":12,"attachName":"Socket_FaerieCenter"}]}props={}type=11duration=1on=0props={"position":{"element":"Mokshi_ArenaCenter"}}type=17delay=0.5on=0visuals={"fxs":[{"set":"HoneySpark_Blink_Appear","space":1,"props":{},"flags":68,"attachName":"Socket_FaerieCenter"}]}props={}type=11delay=0.51on=0props={"castFlags":8}type=3duration=8on=0props={}id=GenerateProjectilesdelay=1props={"projectile":{"base":"Orbitter","fxSet":"Projectile_Flower_Shuriken_Spawn","orbit":{"radiusCurve":[0,0.996718619110752,-0.5,0,0.128430951118847,0,0.424535411201079,9.55628329198388,-0.293925118198522,0.000139886577470526,0.290557650862069,0,0.801800307417772,-0.685957995398257,-0.166666666666667,0,-0.5,0],"height":0.5,"radius":5},"speed":20,"activationDelay":1,"scale":2.5,"lifetime":7,"hitFilter":1,"offset":{"x":0,"y":0,"z":-5}}}on=8id=Projectiletype=7on=0props={}id=LaunchProjectilesdelay=3on=0visuals={"playAnims":[{"anim":{"file":"Anim/Faerie/_Boss_Mokshi/Anim_Faerie_Mokshi_Blossom_Loop.fbx","loop":true}}]}props={}type=11delay=4.8on=7visuals={"playAnims":[{"anim":{"file":"Anim/Faerie/_Boss_Mokshi/Anim_Faerie_Mokshi_Blossom_End.fbx"}}]}props={}type=11delay=-0.9on=2props={}effects=[{"effect":0,"scaling":[{"ratio":0.85,"atb":"FoePower"}],"sideEffects":{"knockBack":{"type":1,"knockUpForce":10,"pushForce":30}},"affinity":"Physical","flags":0}]type=0

Referenced by

Raw data
{
  "status": "WIP",
  "gfx": {
    "file": "UI/Placeholder/Icons_Resources.png",
    "size": 48,
    "x": 36,
    "y": 38,
    "width": 2,
    "height": 2
  },
  "id": "Mokshi_DeadlyBlossom",
  "type": "Skill",
  "nature": "Spell",
  "texts": {
    "name": "Deadly Blossom"
  },
  "anim": {
    "file": "Anim/Faerie/_Boss_Mokshi/Anim_Faerie_Mokshi_Blossom_Start.fbx"
  },
  "cooldown": 50,
  "duration": 1,
  "steps": [
    {
      "on": 0,
      "props": {
        "rotation": {
          "limiter": 320
        }
      },
      "type": 13,
      "duration": 5
    },
    {
      "on": 0,
      "visuals": {
        "fxs": [
          {
            "set": "HoneySpark_Blink_Disappear",
            "space": 1,
            "props": {},
            "flags": 68,
            "attachName": "Socket_FaerieCenter"
          },
          {
            "set": "HoneySpark_Blink_Local",
            "space": 0,
            "props": {},
            "flags": 12,
            "attachName": "Socket_FaerieCenter"
          }
        ]
      },
      "props": {},
      "type": 11,
      "duration": 1
    },
    {
      "on": 0,
      "props": {
        "position": {
          "element": "Mokshi_ArenaCenter"
        }
      },
      "type": 17,
      "delay": 0.5
    },
    {
      "on": 0,
      "visuals": {
        "fxs": [
          {
            "set": "HoneySpark_Blink_Appear",
            "space": 1,
            "props": {},
            "flags": 68,
            "attachName": "Socket_FaerieCenter"
          }
        ]
      },
      "props": {},
      "type": 11,
      "delay": 0.51
    },
    {
      "on": 0,
      "props": {
        "castFlags": 8
      },
      "type": 3,
      "duration": 8
    },
    {
      "on": 0,
      "props": {},
      "id": "GenerateProjectiles",
      "delay": 1
    },
    {
      "props": {
        "projectile": {
          "base": "Orbitter",
          "fxSet": "Projectile_Flower_Shuriken_Spawn",
          "orbit": {
            "radiusCurve": [
              0,
              0.996718619110752,
              -0.5,
              0,
              0.128430951118847,
              0,
              0.424535411201079,
              9.55628329198388,
              -0.293925118198522,
              0.000139886577470526,
              0.290557650862069,
              0,
              0.801800307417772,
              -0.685957995398257,
              -0.166666666666667,
              0,
              -0.5,
              0
            ],
            "height": 0.5,
            "radius": 5
          },
          "speed": 20,
          "activationDelay": 1,
          "scale": 2.5,
          "lifetime": 7,
          "hitFilter": 1,
          "offset": {
            "x": 0,
            "y": 0,
            "z": -5
          }
        }
      },
      "on": 8,
      "id": "Projectile",
      "type": 7
    },
    {
      "on": 0,
      "props": {},
      "id": "LaunchProjectiles",
      "delay": 3
    },
    {
      "on": 0,
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Faerie/_Boss_Mokshi/Anim_Faerie_Mokshi_Blossom_Loop.fbx",
              "loop": true
            }
          }
        ]
      },
      "props": {},
      "type": 11,
      "delay": 4.8
    },
    {
      "on": 7,
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Faerie/_Boss_Mokshi/Anim_Faerie_Mokshi_Blossom_End.fbx"
            }
          }
        ]
      },
      "props": {},
      "type": 11,
      "delay": -0.9
    },
    {
      "on": 2,
      "props": {},
      "effects": [
        {
          "effect": 0,
          "scaling": [
            {
              "ratio": 0.85,
              "atb": "FoePower"
            }
          ],
          "sideEffects": {
            "knockBack": {
              "type": 1,
              "knockUpForce": 10,
              "pushForce": 30
            }
          },
          "affinity": "Physical",
          "flags": 0
        }
      ],
      "type": 0
    }
  ],
  "aiProps": {
    "castMaxRange": 50,
    "pickPrio": 10
  },
  "flags": [],
  "mastery": [],
  "props": {
    "needTarget": true
  },
  "vars": {
    "var1": 5
  },
  "script": "var spawnRadius = 6;\nvar spawnDelay = 0;\nfunction onStep(s) {\n    switch(s.kind) {\n        case Steps.GenerateProjectiles:\n            var projStep = getStepById(Steps.Projectile);\n\t\t\tvar nb = vars.var1;\n\t\t\tif( owner.phase == 3 ) {\n\t\t\t\tnb = 10;\n\t\t\t}\n\t\t\tvar count =  round(nb);\n            var interProgress = 1 / (count);\n            var pos = projStep.getProjectileStart();\n            var rotProgress = owner.rotationZ / PI;\n            for(i in 0...count) {\n                var tPos = p3DAdd(pos, getCircleFacingPos(rotProgress + interProgress * i, spawnRadius, owner.getUp()));\n                wait(i * spawnDelay, function() {\n                    projStep.generateProjectile(owner, tPos);\n                });\n            }\n        case Steps.LaunchProjectiles:\n            s.curCtx?.activateProjectiles();\n        default:\n    }\n}\n\nfunction onStop(ctx) {\n    ctx.killProjectiles();\n}",
  "_xrefs": [
    {
      "from_sheet": "unit",
      "from_id": "Mokshi",
      "via_field": "skills"
    }
  ]
}