[core] name:雷电 class: CustomUnitMetadata price:0 mass:0 maxHp:1 armour:9999999 showInEditor:false techLevel:1 buildSpeed:0 radius:1 displayRadius:0 softCollisionOnAll: 0 hideScorchMark:true explodeOnDeath:false explodeOnDeathGroundCollosion:false numBitsOnDeath:0 energyMax:3 energyRegen:0 dieOnZeroEnergy:true canNotBeDirectlyAttacked:true isUnselectable:true fogOfWarSightRange:1 [action_1] autoTrigger:if self.timeAlive(laterThanSeconds=0.15) isVisible: false addResources=hp=-1 [graphics] total_frames:1 image:空.png image_turret:NONE [attack] canAttack:true canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: false shootDelay:120 maxAttackRange:500 turretSize:0 turretTurnSpeed:100 turretMultiTargeting:true dieOnAttack:true [turret_1] x:0 y:0 energyUsage:1 limitingMinRange:10 limitingRange:20 [turret_6] x:0 y:0 limitingMinRange:100 energyUsage:1 [projectile_1] directDamage:10 drawSize: 1 instant:true lightingEffect: true life:-10 areaDamage:120 areaRadius:50 armourIgnoreAmount:9999999999 shieldDamageMultiplier:10 buildingDamageMultiplier:10 areaDamageNoFalloff:true areaRadiusFromEdge:true spawnUnit:雷电2 [effect_nukeShockwave] priority:critical stripIndex:shockwave life: 50 scaleFrom: 0.5 scaleTo: 12 [effect_hitLightFlash] priority:high image: SHARED:light_50.png life: 17 fadeOut: true attachedToUnit: false color: #63e6e8 scaleFrom: 1.8 scaleTo: 1.8 alpha: 0.6 drawUnderUnits:false [effect_lightningShock] life: 60 xOffsetRelative: 0 yOffsetRelative: 0 hOffset: 0 dirOffset: 0 dirOffsetRandom:180 fadeInTime: 0 fadeOut: false attachedToUnit: false image: SHARED:lightning_shock.png total_frames: 14 animateFrameStart: 0 animateFrameStartRandomAdd: 2 animateFrameEnd: 13 animateFramePingPong: false animateFrameSpeed: 0.5 animateFrameSpeedRandom: 0.2 alpha:0.6 [effect_sparks] attachedToUnit: false life: 150 physics: true xSpeedRelativeRandom: 1.6 ySpeedRelativeRandom: 1.6 hSpeed: 2 image: SHARED:spark.png priority: verylow [effect_sparks2] attachedToUnit: false life: 150 physics: true xSpeedRelativeRandom: 0.5 ySpeedRelativeRandom: 0.5 hSpeed: 1 ySpeedRelative:2 image: SHARED:spark.png priority: verylow [effect_lightSlowFade] image: SHARED:light_50.png life: 40 fadeOut: true attachedToUnit: true color: #63e6e8 scaleFrom: 0.3 scaleTo: 0.2 alpha: 1.7 [movement] movementType:HOVER moveSpeed:0 targetHeight:0 targetHeightDrift:0 maxTurnSpeed:1000