[core] disableAllUnitCollisions:true isUnselectable:true name:黑山羊眷属 maxHp:8600 mass:1000 price:450 techLevel:1 canNotBeDirectlyAttacked:true buildSpeed:12s radius:15 tags:黑山羊眷属 autoTriggerCooldownTime:0.1s softCollisionOnAll:500 isUnrepairableUnit:true canNotBeDirectlyAttacked:true canNotBeGivenOrdersByPlayer:true isUnselectable:true showInEditor:false showOnMinimap:false [graphics] #图像节需要设置主体图像 image:眷属.png image_shadow:NONE scaleImagesTo: 1 shadowOffsetX:1 shadowOffsetY:1 lock_body_rotation_with_main_turret:true total_frames:1 [attack] canAttack:true canAttackFlyingUnits:true canAttackLandUnits:true canAttackUnderwaterUnits:false maxAttackRange:360 isMelee:true meleeEngangementDistance:500 [turret_弹幕] delay:0.85s x:0 y:0 size:0 shoot_sound:弹幕.ogg shoot_sound_vol:1 turnSpeed:2.5 turnSpeedAcceleration:0.1 [projectile_弹幕] life:180 directDamage:320 frame:1 speed:6 turnSpeed:0 deflectionPower:1 image:2.png largeHitEffect:false drawSize:1 retargetingInFlight:true spawnProjectilesOnCreate:弹幕(offsetDir=18,recursionLimit=1),弹幕(offsetDir=-18,recursionLimit=1) [movement] movementType:AIR moveSpeed:6 maxTurnSpeed:3 turnAcceleration:0.05 moveDecelerationSpeed:0.005 reverseSpeedPercentage:0 slowDeathFall:true moveAccelerationSpeed:6 [ai] useAsBuilder:false useAsAttacker:true [hiddenAction_跟随] autoTrigger:if numberOfUnitsInEnemyTeam(withinRange=500,equalTo=0) addWaypoint_type:attackmove addWaypoint_target_fromReference:customTarget1 clearActiveWaypoint:true [hiddenAction_回归] clearActiveWaypoint:true autoTrigger:if self.hasUnitInTeam(withTag='黑山羊',withinRange=1000,equalTo=0) addWaypoint_type:move addWaypoint_target_fromReference:customTarget1 [hiddenAction_死亡] autoTrigger:if customTarget1==null addResources:hp=-114514