Pular para o conteúdo principal
Todas as habilidades

Golcano ShieldApply — Skill

Habilidade
reativação2s
duração
passos8
Escala
20% FoePower· Fire

Dados brutos

type
Skill
nature
Ability
Recarga
2s
steps
8
id
Golcano_ShieldApply
raw data
{
  "id": "Golcano_ShieldApply",
  "anim": {},
  "type": 11,
  "vars": {
    "dur1": 2,
    "var1": 0
  },
  "flags": 32,
  "props": {},
  "steps": [
    {
      "id": "Cast",
      "on": 0,
      "type": 3,
      "props": {
        "castFlags": 4
      },
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Golem/Skill/Anim_Golem_Common_Shield_Cast.fbx",
              "loop": true
            }
          }
        ]
      },
      "duration": 100
    },
    {
      "id": "SpawnGolem",
      "on": 0,
      "type": 11,
      "props": {},
      "duration": -1
    },
    {
      "on": 0,
      "type": 11,
      "delay": 1.9,
      "props": {
        "loop": {
          "tick": 5
        },
        "canRepeat": true
      },
      "visuals": {
        "fxs": [
          {
            "set": "Fire_Aoe_Unit",
            "flags": 24,
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 0,
                "height": 0
              }
            },
            "space": 0
          }
        ]
      },
      "duration": -1
    },
    {
      "on": 0,
      "type": 11,
      "delay": 1.7,
      "props": {
        "loop": {
          "tick": 5
        },
        "canRepeat": true
      },
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Golem/Skill/Anim_Golem_Common_Shield_Blast.fbx",
              "restore": "Cast"
            }
          }
        ]
      },
      "duration": -1
    },
    {
      "on": 0,
      "type": 4,
      "delay": 2,
      "props": {
        "loop": {
          "tick": 5
        },
        "canRepeat": true
      },
      "range": 50,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "FoePower",
              "ratio": 0.2
            }
          ],
          "affinity": "Fire"
        }
      ],
      "duration": -1
    },
    {
      "on": 0,
      "type": 1,
      "props": {
        "status": {
          "ref": "Golcano_Shield",
          "target": 0
        }
      }
    },
    {
      "on": 1,
      "type": 1,
      "props": {
        "status": {
          "ref": "Golcano_ShieldApply_Status",
          "target": 1
        }
      }
    },
    {
      "id": "End",
      "on": 13,
      "type": 2,
      "props": {
        "status": {
          "ref": "Golcano_Shield",
          "target": 0
        }
      }
    }
  ],
  "texts": {},
  "nature": 2,
  "script": "var roundCount = 0;\nfunction onStart(ctx) {\n\troundCount++;\n}\n\nfunction onStep(s) {\n    if( isServer && s.kind == Steps.SpawnGolem ){\n\t\tspawnGolems();\n    }\n}\n\nfunction spawnGolems() {\n\tfor(i in 0...roundCount) {\n\t\tspawnGroup(UnitGroup.Golcano_Minion, \"A\");\n\t}\n}\n\nvar noMinionTimer = 0.;\nfunction onRegUpdate(dt) {\n\tif (getSpawns(owner).length == 0 && hasStatus(owner, Skill.Golcano_Shield)) {\n\t\tnoMinionTimer += dt;\n\t} else {\n\t\tnoMinionTimer = 0;\n\t}\n\n\tif (noMinionTimer > vars.dur1) {\n\t\tnoMinionTimer = 0;\n\t\tspawnFoe(Unit.Golcano_Minion, owner.position);\n\t}\n}\n\nfunction onReceiveHit(hit) {\n\tif (hit.skillId == Skill.Golcano_Minion_Explosion) {\n\t\tplayStep(Steps.End);\n\t\tstop();\n\t}\n}",
  "mastery": [],
  "cooldown": 2
}