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