Home · skill · CannonPlant_Shoot
Properties
- type
- Skill
- nature
- Ability
- cooldown
- 1
- duration
- 4
- steps
Referenced by
unit (1)
Raw data
{
"gfx": {
"file": "UI/Placeholder/Icons_Resources.png",
"size": 48,
"x": 36,
"y": 38,
"width": 2,
"height": 2
},
"id": "CannonPlant_Shoot",
"type": "Skill",
"nature": "Ability",
"texts": {
"name": "Spit Out"
},
"anim": {},
"cooldown": 1,
"duration": 4,
"steps": [
{
"visuals": {
"fxs": [
{
"set": "Light_Cast_Fast",
"space": 0,
"props": {
"offset": {
"x": 0.5,
"y": 0,
"z": 0,
"height": 0
}
},
"flags": 8,
"scale": 2,
"attachName": "MuzzleA"
}
]
},
"props": {
"castFlags": 2
},
"on": 0,
"type": 3,
"duration": 2
},
{
"on": 7,
"visuals": {
"playAnims": [
{
"anim": {
"file": "Anim/Props/Cannon/Anim_Cannon_Shoot.fbx"
}
}
],
"fxs": [
{
"set": "Light_Blast",
"space": 0,
"props": {
"offset": {
"x": 0.5,
"y": 0,
"z": 0,
"height": 0
}
},
"attachName": "MuzzleA"
}
]
},
"props": {},
"type": 11,
"id": "Shoot"
}
],
"flags": [],
"mastery": [],
"props": {},
"vars": {},
"script": "function onStep(s) {\n\tif(s.kind == Steps.Shoot) {\n\t\tvar vehicle = toVehicle(owner);\n\t\tvehicle.activate();\n\t}\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "CannonPlant",
"via_field": "skills"
}
]
}