我把tactics象橋兵里的StaggerRangedAttack改成 <type>Attack</type> <attackaction>1</attackaction> <rangedlogic>1</rangedlogic> <anim>Attack_ranged</anim> <idleanim>Idle</idleanim> <reloadanim>attack_ranged_reload</reloadanim> <maxheight>0</maxheight> <accuracy>1.0</accuracy> <accuracyreductionfactor>0.5</accuracyreductionfactor> <aimbonus>0</aimbonus> <maxspread>5</maxspread> <spreadfactor>0.25</spreadfactor> <trackrating>12</trackrating> <unintentionaldamagemultiplier>0.7</unintentionaldamagemultiplier> <projectile>ypFlamingArrowAmmo</projectile> <impacteffect>effects\impacts\cannon</impacteffect> <rate type="Unit">1.0 </rate> <throw>1</throw> <impactforcemin>500.0f</impactforcemin> <impactforcemax>800.0f</impactforcemax> <outerdamageareadistance>.25</outerdamageareadistance> <outerdamageareafactor>.20</outerdamageareafactor> <impactlaunchangle>10.0</impactlaunchangle> <targetground>1</targetground> <numberbounces>0</numberbounces> <basedamagecap>1</basedamagecap> <perfectaccuracy>1</perfectaccuracy> <instantballistics>1</instantballistics>
然後在protoy把象轎兵的發射物改成<ProjectileProtoUnit>ypFlamingArrowAmmo</ProjectileProtoUnit>
最後實測是,象轎兵攻擊時不旦沒有火焰之箭,而家連本來的射擊彈道都沒有,只能有槍聲和殺敵 |