[core] name: 雅娜上层甲板 class: CustomUnitMetadata price: 0 maxHp:1 armour:99999999 mass: 1 transportSlotsNeeded:1 tags:上层甲板 techLevel: 1 buildSpeed: 0.0002 #availableInDemo: true shieldRenderRadius:0 shieldDisplayOnlyDeflection:true shieldDeflectionDisplayRate:1 radius: 500 displayRadius: 500 showOnMinimap:false isBio: false numBitsOnDeath: 30 selfRegenRate:2 maxTransportingUnits: 4 transportUnitsHealBy: 10 transportUnitsCanUnloadUnits: false transportUnitsAddUnloadOption: false transportUnitsRequireTag: 未来战机 transportUnitsRequireMovementType: air transportUnitsKeepBuiltUnits: true [attachment_drone1] x: 0 y: -65 isUnselectable: true canBeAttackedAndDamaged: false addTransportedUnits: true setDrawLayerOnBottom:false canAttack: false lockRotation: true onCreateSpawnUnitOf:WRSD [attachment_drone2] x: 0 y: -94 @copyFromSection: attachment_drone1 [attachment_drone3] x: 0 y: -123 @copyFromSection: attachment_drone1 [attachment_drone4] x: 0 y: -152 @copyFromSection: attachment_drone1 [graphics] total_frames: 1 teamColorsOnTurret: true icon_zoomed_out:空白.png image:空白.png image_wreak: NONE image_turret: NONE teamColorsOnTurret: true image_shadow: AUTO shadowOffsetX:2 shadowOffsetY:2 showTransportBar: false [hiddenAction_建造舰载机] autoTrigger: if self.tags(includes='上层起飞') and numberOfUnitsInTeam(lessThan=4, withTag='未来战机') [hiddenAction_舰载机] isLocked: if numberOfUnitsInTeam(greaterThan=3, withTag='未来战机',factoryQueue=true) produceUnits: ADED autoTrigger: if numberOfUnitsInTeam(lessThan=4, withTag='未来战机',factoryQueue=true) [hiddenAction_自动重建舰载机] autoTrigger: if numberOfUnitsInTeam(lessThan=4, withTag='未来战机',factoryQueue=true) and not self.hasFlag(id=0) and not self.hasFlag(id=1) [hiddenAction_遇敌] autoTrigger: if self.tags(includes='上层起飞') and numberOfUnitsInEnemyTeam(greaterThan=0, withinRange=300) temporarilyRemoveTags: 上层起飞 [hiddenAction_起飞] autoTrigger: if not self.tags(includes='上层起飞') and not numberOfUnitsInEnemyTeam(greaterThan=0, withinRange=300) temporarilyAddTags: 上层起飞 [attack] canAttack: true canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: false turretSize: 1 turretTurnSpeed: 9999 turretMultiTargeting:true maxAttackRange: 1200 shootDelay: 0.5s aimOffsetSpread:0 [turret_fake] x: 0 y: 0 resourceUsage: ammo=99 [projectile_fake] directDamage: 0 life: 0 targetGround: true explodeEffect: none [hiddenAction_死亡] autoTrigger: if not self.hasUnitInTeam(withTag='雅娜母舰') addResources=hp=-9999999 [movement] movementType: LAND moveSpeed: 0 moveAccelerationSpeed: 0 moveDecelerationSpeed: 0 maxTurnSpeed: 0 turnAcceleration: 0 moveSlidingMode :false moveIgnoringBody:false