我改了tactics和arrow的protoy 但是没有反应,是哪里做错了吗
<Unit id="5" name="Arrow"> <DBID>63</DBID> <DisplayNameID>23513</DisplayNameID> <ObstructionRadiusX>0.1000</ObstructionRadiusX> <ObstructionRadiusZ>0.1000</ObstructionRadiusZ> <MaxVelocity>30.0000</MaxVelocity> <MovementType>air</MovementType> <AnimFile>effects\projectiles\arrow.xml</AnimFile> <Lifespan>2.0000</Lifespan> <LOS>0.0000</LOS> <UnitType>Projectile</UnitType> <UnitType>EmbellishmentClass</UnitType> <Flag>Invulnerable</Flag> <Flag>NoUnitAI</Flag> <Flag>NoIdleActions</Flag> <Flag>NonCollideable</Flag> <Flag>DestroyProjectile</Flag> <Flag>DoNotCreateUnitGroupAutomatically</Flag> <Flag>NoBloodOnDeath</Flag> <Flag>NotSearchable</Flag> <Flag>Projectile</Flag> <Flag>NoTieToGround</Flag> <Flag>DoNotShowOnMiniMap</Flag> <Flag>NotSelectable</Flag> <Flag>DoNotDieAtZeroHitpoints</Flag> <Flag>NoHPBar</Flag> <Flag>NonAutoFormedUnit</Flag> <Flag>DontRotateObstruction</Flag> <Flag>AdjustPositionOnTerrainCollision</Flag> <Flag>NotPlayerPlaceable</Flag> <Tactics>arrow1.tactics</Tactics> <ProtoAction> <Name>AutoGatherFood</Name> <Rate type="Food">5111.500000</Rate> </ProtoAction> </Unit>
<?xml version="1.0" encoding="utf-8"?>
<tactics> <action> <name stringid="69149">AutoGatherFood</name> <type>AutoGather</type> <active>1</active> <persistent>1</persistent> </action> </tactics>
|