2022-12-09 09:58:23 +00:00
[core]
name: 超音波塔
copyFrom: 核心3-武器附属.ini
class: CustomUnitMetadata
price: 800
maxHp: 300
mass: 9000
2022-12-10 14:23:06 +00:00
tags:LTX
2022-12-09 09:58:23 +00:00
footprint: -1,-1,1,1
2023-01-03 08:57:05 +00:00
showInEditor:false
2022-12-09 09:58:23 +00:00
#used for placement, and placement of other buildings
constructionFootprint: -1,-1,1,1
2023-01-03 08:57:05 +00:00
isUnselectable: false
2022-12-09 09:58:23 +00:00
techLevel: 1
buildSpeed: 0.001
#availableInDemo: true
2023-01-03 08:57:05 +00:00
generation_credits: 1
generation_delay: 100
2022-12-09 09:58:23 +00:00
2022-12-10 14:23:06 +00:00
radius:35
2022-12-09 09:58:23 +00:00
#displayRadius: 25
isBio:false
isBuilding: true
2022-12-10 14:23:06 +00:00
selfRegenRate:0
2022-12-09 09:58:23 +00:00
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.
2023-01-03 08:57:05 +00:00
displayDescription_zh:只能攻击地面单位,超大的攻击范围,对敌人造成单体伤害,缺点是炮弹精度不高。\n-并且拥有弱效的激光拦截效果和微弱的资金加成。
2022-12-09 09:58:23 +00:00
2023-01-03 08:57:05 +00:00
disableDeathOnZeroHp:true
2022-12-09 09:58:23 +00:00
energyMax: 1
energyRegen: 0.0018
2023-01-04 14:08:07 +00:00
#血量低于1转化为普通的模块
[hiddenAction_convertOnDeath]
autoTriggerOnEvent: tookDamage
requireConditional: if self.hp(lessThan = 1)
convertTo: 模块化马猴烧酒
#父单位不能没有标签,否则炸掉
[hiddenAction_Test]
autoTrigger:if self.hasParent(withTag = '炸了')
convertTo:模块化炮塔底座ZX
#升级的说明
2023-01-03 08:57:05 +00:00
[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
2022-12-09 09:58:23 +00:00
[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
2023-01-03 08:57:05 +00:00
maxAttackRange: 275
shootDelay:1.25s
2022-12-09 09:58:23 +00:00
[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]
2023-01-03 08:57:05 +00:00
directDamage: 20
2022-12-09 09:58:23 +00:00
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