[core] name: 小海虫 class: CustomUnitMetadata #price: 2 price: 1800 maxHp:400 mass: 500 techLevel: 1 experimental: true buildSpeed: 14s #buildSpeed: 1 #availableInDemo: true radius: 35 #displayRadius: 20 displayText: Light Mechanical sea bug displayDescription: -The main force of the Sea T1 vanguard of the ancient country of MagicDragon has won the foundation for the MagicDragon in capturing the sea.\n-[MainAttack:Sea&Air] displayText_zh: 轻型机械海虫导弹艇 displayDescription_zh: -魔龙古国的海军T1先锋主力,为魔龙在夺得海的一片天拿下了根本。\n-【主攻:海军&空军】 [graphics] total_frames: 1 image: ROOT:/assets/magicdragonimg/seabug/小海虫.png image_wreak: None image_turret:SHARED:blank.png scaleImagesTo: 25 scaleTurretImagesTo: 9 image_shadow: AUTO shadowOffsetX:1 shadowOffsetY:1 [attack] canAttack: true canAttackFlyingUnits:true canAttackLandUnits: true canAttackUnderwaterUnits: true canAttackNotTouchingWaterUnits:false turretSize: 20 turretTurnSpeed: 2 maxAttackRange: 250 shootDelay: 2s [turret_1] x: 10 y: 5 idleDir:0 shoot_sound:large_gun_fire2 shoot_sound_vol:0.3 shoot_flame:large shoot_light:#FFEECCCC canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: true projectile: 1 size:8 turnSpeedAcceleration: 0.08 turnSpeed: 2 recoilOffset: -3 recoilOutTime: 6 recoilReturnTime: 7 [turret_2] x: -10 y: 5 idleDir:0 shoot_sound:large_gun_fire2 shoot_sound_vol:0.3 shoot_flame:large shoot_light:#FFEECCCC canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: true projectile: 1 size:8 turnSpeedAcceleration: 0.08 turnSpeed: 2 recoilOffset: -3 recoilOutTime: 6 recoilReturnTime: 7 [projectile_1] #missile directDamage: 25 areaDamage: 20 areaRadius: 25 life: 240 speed: -5 targetSpeed: 3 trailEffect: true largeHitEffect: true wobbleAmplitude:0.2 #ballistic: true #ballistic_delaymove_height:0 #ballistic_height: 10 frame: 10 autoTargetingOnDeadTarget: true [leg_1] x: 3 y: -5 attach_x: 0 attach_y: 0 moveSpeed: 2 resetAngle:60 image_foot: ROOT:/assets/magicdragonimg/seabug/IZ.png [leg_2] x: 3 y: 25 attach_x: 0 attach_y: 0 copyFrom: 1 [leg_3] x: -6 y: 25 attach_x: 0 attach_y: 0 copyFrom: 1 image_foot: ROOT:/assets/magicdragonimg/seabug/ZI.png [leg_4] x: -6 y: -5 attach_x: 0 attach_y: 0 copyFrom: 1 image_foot: ROOT:/assets/magicdragonimg/seabug/ZI.png [movement] movementType: WATER moveSpeed: 0.8 moveAccelerationSpeed: 0.8 moveDecelerationSpeed: 0.8 targetHeight: 2 targetHeightDrift: 0 maxTurnSpeed:2.8 turnAcceleration: 0.2 moveSlidingMode :false moveIgnoringBody:false moveSlidingDir: 45