Home · skill · Golcano_ShieldApply
Properties
- type
- Skill
- nature
- Ability
- cooldown
- 2
- steps
- flags
Referenced by
unit (1)
Raw data
{
"id": "Golcano_ShieldApply",
"type": "Skill",
"nature": "Ability",
"texts": {},
"anim": {},
"cooldown": 2,
"steps": [
{
"on": 0,
"props": {
"castFlags": 4
},
"type": 3,
"duration": 100,
"visuals": {
"playAnims": [
{
"anim": {
"file": "Anim/Golem/Skill/Anim_Golem_Common_Shield_Cast.fbx",
"loop": true
}
}
]
},
"id": "Cast"
},
{
"on": 0,
"props": {},
"type": 11,
"duration": -1,
"id": "SpawnGolem"
},
{
"on": 0,
"props": {
"loop": {
"tick": 5
},
"canRepeat": true
},
"type": 11,
"visuals": {
"fxs": [
{
"set": "Fire_Aoe_Unit",
"props": {
"offset": {
"x": 0,
"y": 0,
"z": 0,
"height": 0
}
},
"flags": 24,
"space": 0
}
]
},
"delay": 1.9,
"duration": -1
},
{
"on": 0,
"props": {
"loop": {
"tick": 5
},
"canRepeat": true
},
"type": 11,
"visuals": {
"playAnims": [
{
"anim": {
"file": "Anim/Golem/Skill/Anim_Golem_Common_Shield_Blast.fbx",
"restore": "Cast"
}
}
]
},
"delay": 1.7,
"duration": -1
},
{
"on": 0,
"props": {
"loop": {
"tick": 5
},
"canRepeat": true
},
"type": 4,
"range": 50,
"effects": [
{
"effect": 0,
"scaling": [
{
"ratio": 0.2,
"atb": "FoePower"
}
],
"flags": 0,
"affinity": "Fire"
}
],
"delay": 2,
"duration": -1
},
{
"on": 0,
"props": {
"status": {
"ref": "Golcano_Shield",
"target": 0
}
},
"type": 1
},
{
"on": 1,
"props": {
"status": {
"ref": "Golcano_ShieldApply_Status",
"target": 1
}
},
"type": 1
},
{
"on": 13,
"props": {
"status": {
"ref": "Golcano_Shield",
"target": 0
}
},
"type": 2,
"id": "End"
}
],
"flags": [
"RequireStop"
],
"mastery": [],
"props": {},
"vars": {},
"script": "var roundCount = 0;\nfunction onStart(ctx) {\n\troundCount++;\n}\n\nfunction onStep(s) {\n if( isServer && s.kind == Steps.SpawnGolem ){\n\t\tfor(i in 0...roundCount) {\n\t\t\tsummonGroup(UnitGroup.Golcano_Minion, \"A\");\n\t\t}\n }\n}\n\nfunction onReceiveHit(hit) {\n\tif(hit.skillId == Skill.Golem_Explosion) {\n\t\tplayStep(Steps.End);\n\t\tstop();\n\t}\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Golcano",
"via_field": "skills"
}
]
}