[core] name: 机械鲨鱼潜艇 class: CustomUnitMetadata price: 3000 maxHp: 1500 mass: 1000 techLevel: 2 copyFrom:ROOT:/effect/water/index.template #水波特效 buildSpeed: 25s availableInDemo: false radius: 30 displayRadius: 30 isBio: false #displayDescription:来加入强者的行列吧 displayText:Mechanical shark submarine displayDescription: -The Deepsea combat unit of the Demon Dragon Empire can attack units at sea. displayText_zh: 机械鲨鱼潜艇 displayDescription_zh: -魔龙帝国的深海作战单位,能攻击海上的单位。 [graphics] total_frames: 1 image: ROOT:/assets/magicdragonimg/mechshark/机械鲨鱼.png image_wreak: NONE image_turret: NONE scaleImagesTo: 90 #scaleTurretImagesTo: 9 #AUTO image_shadow: AUTO shadowOffsetX:1 shadowOffsetY:1 movementEffect: CUSTOM:水波2, CUSTOM:水波1 movementEffectRate: 12 movementEffectReverse: CUSTOM:水波2 [attack] canAttack: true canAttackFlyingUnits: false canAttackLandUnits: true canAttackUnderwaterUnits: true canAttackNotTouchingWaterUnits:false turretSize: 20 turretTurnSpeed: 3 maxAttackRange: 250 shootDelay: 1s [turret_1] x: 0 y: 0 recoilOffset: 3 recoilOutTime: 6 recoilReturnTime: 18 [projectile_1] drawUnderUnits:true drawSize:1 directDamage:40 areaHitAirAndLandAtSameTime:true speed:0 autoTargetingOnDeadTarget:true autoTargetingOnDeadTargetRange:500 deflectionPower:-1 targetSpeed:28 frame:6 targetSpeedAcceleration:0.06 trailEffect:true trailEffectRate:1 lightCastOnGround:true life:360 wobbleAmplitude: 2.4 wobbleFrequency: 1s [effect_spray] life:30 physics:true physicsGravity:0.7 atmospheric:true image:ROOT:/assets/magicdragonimg/mechshark/水花.png hSpeed:2 dirSpeed:5 xSpeedRelative:0 xSpeedRelativeRandom:2 ySpeedRelative:0 ySpeedRelativeRandom:2 drawUnderUnits:false [movement] movementType: WATER moveSpeed: 1.2 moveAccelerationSpeed: 0.03 moveDecelerationSpeed: 0.08 targetHeight: -2 targetHeightDrift: 1 maxTurnSpeed: 3.7 turnAcceleration: 0.05 moveSlidingMode :true moveIgnoringBody:true moveSlidingDir: 181