[core] name: 机械蓝鲸 class: CustomUnitMetadata price: 5000 maxHp: 2000 mass: 1000 techLevel: 2 copyFrom:ROOT:/effect/water/index.template #水波特效 buildSpeed: 40s availableInDemo: false radius: 30 displayRadius: 30 isBio: false #displayDescription:来加入强者的行列吧 displayText: Mechanical Blue Whale Heavy Submarine displayDescription: -The DeepSea combat unit of the Demon Dragon Empire can attack units at sea and cause huge damage. displayText_zh: 机械蓝鲸重型潜艇 displayDescription_zh: -魔龙帝国的深海作战单位,能攻击海上的单位并造成巨额范围伤害。 [graphics] total_frames: 1 image: ROOT:/assets/magicdragonimg/mechblue/蓝鲸.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: 275 shootDelay: 1.75s [turret_1] x: -30 y: 0 recoilOffset: 3 recoilOutTime: 6 recoilReturnTime: 18 [turret_2] x: 30 y: 0 recoilOffset: 3 recoilOutTime: 6 recoilReturnTime: 18 [projectile_1] drawUnderUnits:true areaDamage:75 areaRadius:100 areaHitAirAndLandAtSameTime:true speed:0 drawSize:1.2 autoTargetingOnDeadTarget:true autoTargetingOnDeadTargetRange:500 deflectionPower:-1 targetSpeed:28 color:#3ff6ff7d 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 maxTurnSpeed: 3.7 turnAcceleration: 0.05 moveSlidingMode :true moveIgnoringBody:true moveSlidingDir: 181