[core] name: 超音波塔 copyFrom: 核心3-武器附属.ini class: CustomUnitMetadata price: 800 maxHp: 300 mass: 9000 tags:LTX footprint: -1,-1,1,1 showInEditor:false #used for placement, and placement of other buildings constructionFootprint: -1,-1,1,1 isUnselectable: false techLevel: 1 buildSpeed: 0.001 #availableInDemo: true generation_credits: 1 generation_delay: 100 radius:35 #displayRadius: 25 isBio:false isBuilding: true selfRegenRate:0 displayText: Magic Music Tower displayText_zh: 超音波塔 displayDescription:It can only attack ground units. It has a large attack range and causes AOE damage to the enemy.\n-The disadvantage is that the accuracy of artillery shells is not high. \n-And has weak laser interception effect and weak credits. displayDescription_zh:只能攻击地面单位,超大的攻击范围,对敌人造成单体伤害,缺点是炮弹精度不高。\n-并且拥有弱效的激光拦截效果和微弱的资金加成。 disableDeathOnZeroHp:true energyMax: 1 energyRegen: 0.0018 #血量低于1转化为普通的模块 [hiddenAction_convertOnDeath] autoTriggerOnEvent: tookDamage requireConditional: if self.hp(lessThan=1) convertTo: 模块化马猴烧酒 #父单位不能没有标签,否则炸掉 [hiddenAction_Test] autoTrigger:if self.hasParent(withTag='炸了') convertTo:模块化炮塔底座ZX #升级的说明 [action_upgradeT2] text: Upgrade textAddUnitName: ${section.convertTo} descriptionAddFromUnit: ${section.convertTo} descriptionAddUnitStats: ${section.convertTo} isActive: if self.queueSize(empty=true) buildSpeed: 16s convertTo:超音波塔T2 price: 6000 iconExtraImage: SHARED:icon_upgrade.png iconExtraColor: #FFFFFFFF [graphics] total_frames: 1 image: ROOT:/assets/magicdragonimg/modconon/LST.png image_turret: ROOT:/assets/magicdragonimg/modconon/音塔.png image_wreak: NONE #scaleImagesTo: 55 #scaleTurretImagesTo: 40 #AUTO image_shadow: AUTO shadowOffsetX:1 shadowOffsetY:1 [attack] canAttack: true canAttackFlyingUnits: false canAttackLandUnits: true canAttackUnderwaterUnits: false turretSize: 30 turretTurnSpeed: 1 maxAttackRange: 275 shootDelay:1.25s [turret_1] x: 0 y: 0 projectile: 1 #delay: 0.2s [turret_2] x: 0 y: 0 canShoot: false invisible: true laserDefenceEnergyUse: 0.25 limitingRange:200 size:1 [projectile_1] directDamage: 20 areaDamage:40 areaRadius:50 life: 200 #speed: 1 frame: 15 drawSize: 1 #targetSpeed: 3 trailEffect: true image:ROOT:/assets/magicdragonimg/modconon/音炮.png [movement] movementType: LAND moveSpeed: 0 moveAccelerationSpeed: 0.01 moveDecelerationSpeed: 0.01 maxTurnSpeed: 0 turnAcceleration: 0.1