[core] name:模块化马猴烧酒 class:CustomUnitMetadata price:2400 maxHp:350 mass:9000 #used for placement, and placement of other buildings techLevel:3 buildSpeed:1s #availableInDemo:true radius:35 disableDeathOnZeroHp:true #displayRadius:25 isBio:false showInEditor:false isUnselectable:false isBuilding:true footprint: -1,-1,1,1 #used for placement, and placement of other buildings constructionFootprint: -1,-1,1,1 displayText: Modular turret base displayDescription: -When each forces are two defeated, the magic dragon is carrying out the technology revolutionary \n-This modular turret is the latest technology, and the turret can be integrated.\n-Invincible, skip the victory judgment, and you need to destroy it manually. canNotBeDirectlyAttacked:true displayText_zh: 模块化炮塔底座 displayDescription_zh: -当各个势力正在两败俱伤时,魔龙正在进行科技大革命\n-这个模块化炮塔底座便是最新科技,可以将炮塔融为一体。 tags:炸了 #父单位不能没有魔法底座标签,否则炸掉这个伪造的附属栏 [hiddenAction_Test] autoTrigger:if not self.hasParent(withTag='魔法底座') convertTo:模块化炮塔底座ZX [template_组装模块] text: Add text_zh: 组装 textAddUnitName: ${section.convertTo} descriptionAddFromUnit: ${section.convertTo} descriptionAddUnitStats: ${section.convertTo} isActive: if self.queueSize(empty=true) setBuilt:0 buildSpeed: 0s [action_组装碧绿模块核心] @copyFromSection: template_组装模块 buildSpeed: 4s convertTo: 碧绿炮塔X #在这里定义单位 price: 1800 onlyOneUnitAtATime:false [action_组装音波模块核心] @copyFromSection: template_组装模块 buildSpeed: 4s convertTo: 超音波塔X onlyOneUnitAtATime:false #在这里定义单位 price: 1500 [graphics] total_frames:1 image:ROOT:/assets/magicdragonimg/modconon/LST.png image_turret:NONE image_wreak:NONE #scaleImagesTo:55 #scaleTurretImagesTo:40 #AUTO image_shadow:AUTO shadowOffsetX:1 shadowOffsetY:1 animation_idle_start: 0 animation_idle_end:0 animation_idle_speed: 0 [attack] canAttack:false [movement] movementType:LAND moveSpeed:0 maxTurnSpeed:5 [turret_1] x:0 y:0 showRangeUIGuide:true [ai] buildPriority: 0.13 noneInBaseExtraPriority: 0.04 noneGlobalExtraPriority: 0.1 maxGlobal: 2