StarRiver-EndlessJourney-RW.../code/warning/高塔合约终端/修复高塔/修复高塔.ini
2023-01-30 21:50:45 +08:00

161 lines
2.5 KiB
INI

[action_修非低]
autoTrigger:if self.globalTeamTags(includes="能源枯竭IIIX") and not self.hasFlag(id=5)
convertTo:修
addResources:setFlag=5
isVisible:false
ai_isDisabled:true
[action_修低]
autoTrigger:if self.globalTeamTags(includes="能源枯竭IIX") and not self.hasFlag(id=4)
convertTo:修复
addResources:setFlag=4
isVisible:false
ai_isDisabled:true
[action_修中]
autoTrigger:if self.globalTeamTags(includes="能源枯竭IX") and not self.hasFlag(id=3)
convertTo:修复高
addResources:setFlag=3
isVisible:false
ai_isDisabled:true
[core]
name:修复高塔
class: CustomUnitMetadata
price: 1500
maxHp: 20000
mass: 9000
tags:T4
footprint: -1,0,1,2
constructionFootprint: -1,0,1,2
techLevel: 1
buildSpeed: 0.002
#availableInDemo: true
radius: 25
#displayRadius: 25
isBio:false
isBuilding: true
canRepairBuildings: true
canRepairUnits : true
isBuilder: true
nanoBuildSpeed: 1.8
nanoRepairSpeed: 1.8
autoRepair: true
nanoRange: 640
displayText_zh:修复高塔
displayText:FairJi Repair Device
displayDescription_zh:-修复一切东西
displayDescription:-Can repair their own units
[canBuild_1]
name: repair
pos: 1
[graphics]
scaleImagesTo:50
image_offsetY:0
total_frames:8
image:高塔.png
rotate_with_direction:false
image_wreak:NONE
image_turret:NONE
image_offsetX:0
image_offsetY:0
image_shadow:AUTO
shadowOffsetX:-4
shadowOffsetY:0
animation_idle_start:0
animation_idle_end:7
animation_idle_speed:7
#scaleTurretImagesTo: 40
#AUTO
image_shadow: AUTO
shadowOffsetX:1
shadowOffsetY:1
[attack]
canAttack: false
canAttackFlyingUnits: true
canAttackLandUnits: true
canAttackUnderwaterUnits: true
shootDelay:50
[turret_1]
#forward turret
x: 0
y: 24
invisible: true
shoot_sound:lighting_burst
shoot_sound_vol:0.3
#shoot_flame:CUSTOM:lightSlowFade
shoot_light:#FFEECCCC
warmup:30
#chargeEffectImage: lighting_charge2.png
shouldResetTurret: false
canAttackFlyingUnits: true
canAttackLandUnits: true
canAttackUnderwaterUnits: true
projectile: 1
[turret_2]
#nano turret (nano must be slot 1)
x: 0
y: 24
invisible: true
warmup:0
canShoot: false
canAttackFlyingUnits: false
canAttackLandUnits: false
canAttackUnderwaterUnits: false
isMainNanoTurret: true
[projectile_1]
directDamage: 450
life: 50
speed: 2.5
instant: true
lightingEffect: true
drawSize: 1
shieldDamageMultiplier: 0
shieldDefectionMultiplier: 0
lightColor: #FFccCCEE
lightSize: 0.4
[movement]
movementType: LAND
moveSpeed: 0
moveAccelerationSpeed: 0.01
moveDecelerationSpeed: 0.01
maxTurnSpeed: 0
turnAcceleration: 0.1
[ai]
buildPriority: 0.23
maxGlobal: 3