[hiddenAction_自杀] autoTrigger:if self.hasUnitInTeam(withTag='核芯',greaterThan=0) deleteSelf:true [action_判定] temporarilyAddTags:已使用 text:The terrain nearby is not very good? description:Try using the blink function. It can only be used once. text_zh:附近地形不太好? description_zh:试试使用瞬移功能吧,只能使用一次。 displayType: action buildSpeed: 1.3s pos: 0.1 whenBuilding_playAnimation: blink highPriorityQueue: true onlyOneUnitAtATime: true isVisible:if not self.tags(includes='已使用') fireTurretXAtGround:瞬移 fireTurretXAtGround_withProjectile: blink fireTurretXAtGround_onlyOverPassableTileOf: HOVER whenBuilding_cannotMove: true [core] name: HowBuilder class: CustomUnitMetadata price: 1300 maxHp: 1 showInEditor:false mass: 4000 isBuilding: true #maxShield: 100 #shieldRegen: 0.1 overrideAndReplace: builder displayText: Build Core displayDescription: -The most basic deployment for your game. displayText_zh: 建造核心 displayDescription_zh: -为你的游戏进行最基础的部署。 techLevel: 1 buildSpeed: 0.001 availableInDemo: false radius: 17 displayRadius: 18 isBio: false canRepairBuildings: true canRepairUnits : false nanoRange: 95 nanoBuildSpeed: 50 nanoRepairSpeed: 0.3 [canBuild_1] name:永眠核芯 pos:100 [graphics] total_frames: 1 image: icon.png image_wreak: NONE image_turret: SHARED:small_laser_turret.png #scaleImagesTo: 20 #scaleTurretImagesTo: 9 #AUTO image_shadow: AUTO shadowOffsetX:2 shadowOffsetY:2 [attack] canAttack: true canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: false turretSize:0 turretTurnSpeed:0 maxAttackRange: 450 shootDelay: 50 [turret_瞬移] #nano turret (nano must be slot 1) x: 0 y: 0 invisible: true warmup:30 #projectile:blink canShoot: false canAttackFlyingUnits: false canAttackLandUnits: false canAttackUnderwaterUnits: false [projectile_1] directDamage: 30 life: 70 speed: 7 frame: 11 [projectile_blink] teleportSource: true instant: true directDamage: 0 life: 99999 speed: 1 targetGround: true deflectionPower:-1 shouldRevealFog:true explodeEffect: CUSTOM:blinkFlash,CUSTOM:blinkGlow, CUSTOM:blinkChargeOut_displacement effectOnCreate: CUSTOM:blinkFlash,CUSTOM:blinkGlow, CUSTOM:blinkEnter_displacement [effect_blinkFlash] priority:high image: SHARED:light_50.png life: 78 fadeOut: true attachedToUnit: false color: #07eef2 scaleFrom: 3.8 scaleTo: 1.0 alpha: 0.8 drawUnderUnits:false [effect_blinkGlow] priority:high image: SHARED:light_50.png life: 148 fadeOut: true attachedToUnit: false color: #07eef2 scaleFrom: 2.8 scaleTo: 5.0 alpha: 0.5 drawUnderUnits:false [effect_blinkChargeIn_displacement] #displacement type ignored if postprocessing is not enabled drawType: displacement image: SHARED:cone_inverted_normal_128.png life: 23 fadeOut: true fadeInTime: 20 attachedToUnit: true color: #FFFFFF scaleFrom: 1.5 scaleTo: 1.0 alpha: 1.0 drawUnderUnits:false #dirOffsetRandom: 180 #dirSpeed: 1 #delayedStartTimer: 0 alwayStartDirAtZero: true [effect_blinkChargeOut_displacement] #displacement type ignored if postprocessing is not enabled drawType: displacement image: SHARED:shockwave_normal_128.png life: 80 fadeOut: true fadeInTime: 5 attachedToUnit: false color: #FFFFFF scaleFrom: 1.0 scaleTo: 4.0 alpha: 0.3 drawUnderUnits:false alwayStartDirAtZero: true [effect_blinkEnter_displacement] #displacement type ignored if postprocessing is not enabled drawType: displacement image: SHARED:shockwave_normal_128.png life: 40 fadeOut: true fadeInTime: 20 attachedToUnit: false color: #FFFFFF scaleFrom: 1.6 scaleTo: 0.5 alpha: 0.7 drawUnderUnits:false #dirOffsetRandom: 180 #dirSpeed: 1 #delayedStartTimer: 0 alwayStartDirAtZero: true [effect_blinkSpark] priority:high image: SHARED:light_50.png life: 18 lifeRandom:5 fadeOut: true attachedToUnit: false color: #07eef2 scaleFrom: 0.2 scaleTo: 1.5 alpha: 0.8 drawUnderUnits:false #xOffsetAbsoluteRandom:205 #yOffsetAbsoluteRandom:205 xOffsetRelativeRandom:30 yOffsetRelativeRandom:30 xSpeedAbsoluteRandom:1.4 ySpeedAbsoluteRandom:1.4 delayedStartTimer:30 delayedStartTimerRandom:30 physics:true physicsGravity:-0.4 #hSpeed:1 [animation_blink] effect_0.1s: {x:0, y:0, name:CUSTOM|blinkSpark*3} effect_0.5s: {x:0, y:0, name:CUSTOM|blinkSpark*5} effect_1.0s: {x:0, y:0, name:CUSTOM|blinkSpark*10} effect_1.05s: {x:0, y:0, name:CUSTOM|blinkChargeIn_displacement} effect_1.5s: {x:0, y:0, name:CUSTOM|blinkSpark*16} [movement] movementType: AIR moveSpeed:0 moveAccelerationSpeed: 0 moveDecelerationSpeed: 0 heightChangeRate: 7 #targetHeight: 2 startingHeightOffset:500 maxTurnSpeed:0 turnAcceleration: 0 [ai] useAsBuilder: true