#核心代码 #177-D24 [attack] canAttack:true canAttackFlyingUnits:true canAttackLandUnits:true canAttackUnderwaterUnits:false maxAttackRange:510 shootDelay:1.2s turretMultiTargeting:true #158-R11 [turret_右] delay:0.15s x:33 y:32 projectile:N shoot_flame:CUSTOM:炮击 image:邪红炮.png recoilOffset:-3 recoilOutTime:6 recoilReturnTime:12 shoot_sound:邪红炮.ogg idleDir:-19 limitingAngle:38 [turret_左] copyFrom:右 x:-33 y:32 idleDir:19 [projectile_N] directDamage:120 speed:7 trailEffect:CUSTOM:一般尾焰 trailEffectRate:0.1 life:260 drawSize:0.72 image:飞弹.png deflectionPower:3 color:#B4002C [turret_邪魔退散] x:0 y:0 projectile:邪魔退散 image:邪灭炮.png size:25 delay:0.05s shoot_flame:CUSTOM:邪灭 aimOffsetSpread:0 turnSpeed:1.7 turnSpeedAcceleration:0.06 [turret_邪魔2] x:0 y:0 copyFrom:邪魔退散 idleDir:45 attachedTo:邪魔退散 limitingAngle:30 invisible:true [turret_濒死] x:0 y:0 copyFrom:邪魔退散 idleDir:-45 attachedTo:邪魔退散 limitingAngle:30 invisible:true [projectile_邪魔退散] areaDamage:50 areaRadius:130 life:6 flameWeapon:false instant:true instantReuseLast:true shieldDamageMultiplier:1 buildingDamageMultiplier:1 deflectionPower:-1 instantReuseLast_alsoChangeTurretAim:true moveWithParent:true beamImage:SHARED:beam1.png beamImageEnd:SHARED:beam1_end.png beamImageStart:SHARED:beam1_start.png beamImageOffsetRate:9 explodeEffect:CUSTOM:邪魔退散 explodeEffectOnShield:CUSTOM:邪魔退散 sweepOffsetFromTargetRadius:0.4 areaHitAirAndLandAtSameTime:true color:#910200 [turret_红云导弹左] x:-36 y:-13 projectile:红云导弹 shoot_flame:CUSTOM:烟 shoot_sound:红云.ogg delay:2.7s [projectile_红云导弹] areaDamage:60 areaRadius:30 directDamage:80 explodeEffect:CUSTOM:红云 explodeEffectOnShield:CUSTOM:红云 life:600 speed:0 trailEffect:CUSTOM:红云尾焰 trailEffectRate:1 image:飞弹.png targetSpeedAcceleration:0.1 targetSpeed:20 drawUnderUnits:true drawSize:1 color:#8E0E00 deflectionPower:8 wobbleAmplitude:2 wobbleFrequency:140 autoTargetingOnDeadTarget:true retargetingInFlight:true [turret_红云导弹右] x:36 y:-13 copyFrom:红云导弹左 [turret_邪魔愠怒] x:0 y:0 projectile:红云#27-E8 delay:0.1 invisible:true barrelX:-30 shoot_sound:愠怒.ogg energyUsage:1 [projectile_红云#27-E8] directDamage:100 explodeEffect:CUSTOM:红云 life:600 speed:-6 trailEffect:CUSTOM:红云尾焰 trailEffectRate:1 image:飞弹.png targetSpeedAcceleration:0.1 targetSpeed:20 drawUnderUnits:true drawSize:1 color:#86000A deflectionPower:8 wobbleAmplitude:5 wobbleFrequency:600 autoTargetingOnDeadTarget:true retargetingInFlight:true autoTargetingOnDeadTargetRange:1000 explodeEffectOnShield:CUSTOM:红云 #以下为其它代码 [core] radius:60 ##REMOVE THIS TO USE UNIT## dont_load:false copyFrom:效果.ini name:邪红母舰二阶段 displayText:\----- 邪红母舰 -----/ displayDescription:不属于这个世界的东西,来自于高塔的能量波吸引而来------邪红母舰,它曾经也为妖姬做过手下,如今却被时间和自我腐蚀,窝缩在角落里指挥着它的军队,想要回到过去征战的那个它,将军,下令吧,必须要让它认清现实才行! class:CustomUnitMetadata price:4000 maxHp:40000 maxShield:20000 generation_delay:60 generation_resources:力场=1 energyMax:20 energyRegen:0.08 energyNeedsToRechargeToFull:true mass:2200000 isUnselectable:false armour:100 disableDeathOnZeroHp:true showInEditor:true tags:邪红,邪红二阶段 autoTriggerCooldownTime:0.1s shieldRenderRadius:80 [hiddenAction_濒死] autoTrigger:if self.hp(equalTo=0) spawnUnits:邪红母舰濒死 deleteSelf:true buildSpeed:0s showMessageToAllPlayers:邪红:英雄与死亡,不过是一间之隔吧! spawnEffects:CUSTOM:濒死 [graphics] total_frames:2 image:主体.png image_shield:邪魔庇佑.png animation_idle_start:1 animation_idle_end:1 animation_idle_speed:3 animation_moving_start:1 animation_moving_end:1 animation_moving_speed:3 animation_attack_start:1 animation_attack_end:1 animation_attack_speed:3 image_wreak:NONE image_turret:NONE image_shadow:AUTO [hiddenAction_力场] spawnEffects:CUSTOM:力场 autoTrigger:if self.resource(type='力场',greaterThan=5) addResources:力场=-5 autoTriggerOnEvent:created [movement] movementType:AIR moveSpeed:3 moveAccelerationSpeed:0.01 moveDecelerationSpeed:0.04 targetHeight:35 targetHeightDrift:0 maxTurnSpeed:1.9 turnAcceleration:0.034 reverseSpeedPercentage:0 moveIgnoringBody:false [action_状态] text:当前生命值:%{self.hp}/${core.maxHp}\n杀敌数:%{self.kills} displayType:infoOnly addEnergy:0 isActive:false [hiddenAction_白] autoTrigger:true setUnitStats:armour=select(numberOfUnitsInEnemyTeam(greaterThan=800,withinRange=500),${core.maxHp}*2,${core.maxHp}*0.00018) [hiddenAction_灰] autoTrigger:if numberOfUnitsInEnemyTeam(equalTo=0,withinRange=500) setUnitStats:armour=72