[core] name:碧绿炮塔 class:CustomUnitMetadata copyFrom: 核心3-武器附属.ini price:1800 maxHp:320 mass:9000 techLevel:1 buildSpeed:0.001 #availableInDemo:true constructionFootprint:-1,-1,1,1 footprint:-1,-1,1,1 generation_credits:1 generation_delay:240 radius:35 #displayRadius:25 isBio:false isBuilding:true selfRegenRate:0 energyNeedsToRechargeToFull:true displayText: Magic Green Tower displayText_zh: 碧绿炮塔 tags:LTX displayDescription:Can only attack ground units.\n-Lasts laser damage continuously.\n-Excellent effect on single. \n-However,it needs energy.\n-When the energy is exhausted,it needs to be automatically charged before use. displayDescription_zh:只能攻击地面单位,持续激光伤害,对单效果极好。但需要能量,能量耗尽需要自动充能后使用。 isUnselectable: false energyMax:1 energyRegen: 0.0006 disableAllUnitCollisions:true showInEditor:false showOnMinimap:false [action_upgradeT2] text: Upgrade textAddUnitName: ${section.convertTo} descriptionAddFromUnit: ${section.convertTo} descriptionAddUnitStats: ${section.convertTo} isActive: if self.queueSize(empty=true) buildSpeed: 20s convertTo:碧绿炮塔T2 price: 7500 iconExtraImage: SHARED:icon_upgrade.png iconExtraColor: #FFFFFFFF [graphics] total_frames:4 image:ROOT:/assets/magicdragonimg/modconon/碧绿炮塔.png image_turret:NONE image_wreak:NONE scaleImagesTo:45 #scaleTurretImagesTo:40 #AUTO image_shadow:AUTO shadowOffsetX:1 shadowOffsetY:1 animation_idle_start: 0 animation_idle_end: 3 animation_idle_speed: 25 animation_attack_start: 0 animation_attack_end: 2 animation_attack_speed: 25 [attack] isFixedFiring:true canAttack:true canAttackFlyingUnits:false canAttackLandUnits:true canAttackUnderwaterUnits:false turretSize: 30 turretTurnSpeed: 1 maxAttackRange:240 shootDelay:30 [turret_1] x:0 y:0 projectile:1 canAttackFlyingUnits:false canAttackLandUnits:true canAttackUnderwaterUnits:false #delay:0.2 shoot_light:#AAD0CA delay:0.05s shouldResetTurret:true size:25 energyUsage:0.01 turnSpeed:1 [projectile_1] directDamage:15 life:6 #speed:1 frame:15 drawSize:1 #targetSpeed:3 deflectionPower:-1 instant:true laserEffect:true instantReuseLast_alsoChangeTurretAim:true instantReuseLast:true moveWithParent:true beamImage:SHARED:beam1.png beamImageEnd:SHARED:beam1_end.png beamImageStart:SHARED:beam1_start.png beamImageOffsetRate:0.6 sweepOffsetFromTargetRadius:0.5 [movement] movementType: LAND moveSpeed: 1.1 moveAccelerationSpeed: 0.01 moveDecelerationSpeed: 0.01 maxTurnSpeed: 1.3 turnAcceleration: 0.05 moveSlidingMode :true moveIgnoringBody:true moveSlidingDir: 45