[core] name: laserDefenceT2 class: CustomUnitMetadata price: 6200 maxHp: 2000 mass: 3000 tags:LK displayText: i:units.laserDefence.name displayDescription: i:units.laserDefence.description #overrideAndReplace: laserDefence #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: 25 energyRegen: 0.004 softCollisionOnAll: 3 [action_upgradeT3] convertTo: laserDefenceT3 price: 4500 text:Upgrade description:Upgrade to T3, higher energy of HP and intercept. text_zh:升级 description_zh:升级到T3,更高的血量和拦截能量。 displayType: upgrade buildSpeed: 30s iconImage: SHARED:icon_upgrade.png [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:1} body_99s: {frame:1} [graphics] total_frames: 2 image: ROOT:/assets/oldsungodimg/laser/laser_defenceT2.png image_wreak: ROOT:/assets/oldsungodimg/laser/laser_defence_dead.png [movement] movementType: NONE moveSpeed: 0 moveAccelerationSpeed: 0.01 moveDecelerationSpeed: 0.01 maxTurnSpeed: 0 turnAcceleration: 0.1 [attack] canAttack: true canAttackFlyingUnits: false canAttackLandUnits: false canAttackUnderwaterUnits: false maxAttackRange:200 [turret_1] x: 0 y: 14 canShoot: false laserDefenceEnergyUse: 1.1 size:1 [ai] buildPriority: 0.05 noneGlobalExtraPriority: 0.1