[core] name: Demon-Laser class: CustomUnitMetadata price: 1200 maxHp: 1400 mass: 3000 displayText: Swordfish Laser Interception displayDescription: displayText_zh: 剑鱼式激光拦截 displayDescription_zh: 拦截附近的炮弹,拦截需要能量。可以升级变得更强。 #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: 10 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) [action_upgradeT2] convertTo: Demon-LaserT2 price: 2700 text:Upgrade description:Upgrade to T2 with more powerful interception and more HP. text_zh:升级 description_zh:升级到T2,拥有更加强大的拦截能力和更多的血量。 displayType: upgrade buildSpeed: 30s iconImage: SHARED:icon_upgrade.png [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: false canAttackLandUnits: false canAttackUnderwaterUnits: false maxAttackRange:160 [turret_1] x: 0 y: 14 canShoot: false laserDefenceEnergyUse: 1.1 size:1 [ai] buildPriority: 0.25 noneInBaseExtraPriority: 0.35 noneGlobalExtraPriority: 0.12 maxGlobal: 5