[core] name: Demon-LaserT3 class: CustomUnitMetadata price: 6200 maxHp: 2000 mass: 3000 #tags:LK displayText: Swordfish Laser Interception displayDescription: displayText_zh: 剑鱼式激光拦截-T3 displayDescription_zh: 拦截附近的炮弹,拦截需要能量。拥有主动防御,敌人靠近会攻击。但会额外消耗能量。 #footprint used for collisions with units (left, up, right, down) footprint: 0,0,1,1 #used for placement, and placement of other buildings constructionFootprint: 0,0,1,1 buildingToFootprintOffsetX:20 buildingToFootprintOffsetY:20 buildingSelectionOffset:-6 techLevel: 1 buildSpeed: 0.002 radius: 18 isBio: false isBuilding: true energyMax: 30 energyRegen: 0.004 softCollisionOnAll: 3 [hiddenAction_0] stopLastAnimation:true autoTrigger:if self.energy(full=true) [hiddenAction_1] playAnimation:1 autoTrigger:if self.energy(lessThan=0.1) [animation_1] blendIn:0 blendOut:99s body_0: {frame:0} body_99s: {frame:1} [graphics] total_frames: 4 image: ROOT:/assets/demonjiimg/laserfish/剑鱼拦截.png animation_idle_start:2 animation_idle_end:3 animation_idle_speed:15 [movement] movementType: NONE moveSpeed: 0 moveAccelerationSpeed: 0.01 moveDecelerationSpeed: 0.01 maxTurnSpeed: 0 turnAcceleration: 0.1 [attack] canAttack: true canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: false maxAttackRange:240 [turret_1] x: 0 y: 14 canShoot: false laserDefenceEnergyUse: 0.95 size:1 [turret_2] x: 0 y: 14 canShoot: true energyUsage: 1 size:1 [projectile_1] #=== for the beam effect === life: 15 instant:true instantReuseLast: true instantReuseLast_alsoChangeTurretAim: true moveWithParent: true beamImage: SHARED:beam3.png beamImageEnd: SHARED:beam1_end.png beamImageStart: SHARED:beam1_start.png #beamImageOffsetRate: 1.5 beamImageOffsetRate: 2 explodeEffect: NONE explodeEffectOnShield: NONE shieldDamageMultiplier: 0.75 sweepOffsetFromTargetRadius:0.4 #sweepOffset: x sweepSpeed:10 initialUnguidedSpeedHeight: 1.5 targetGroundSpread: 30 gravity:0.1 lightCastOnGround: true turnSpeed:0 retargetingInFlight:true #=== others === directDamage: 5 color: #aa6284b8 #color: #dd99bcf2 teamColorRatio_sourceRatio:0.8 spawnProjectilesOnCreate:1(offsetDir=30,recursionLimit=36) teamColorRatio:0.5 #laserEffect: true [ai] buildPriority: 0.05 noneInBaseExtraPriority: 0.35 noneGlobalExtraPriority: 0.12 maxGlobal: 5