powers.xml有个ActionEnable
<power name="ypPowerFireCommand" type="GeneralEffect"> <displaynameid>66041</displaynameid> <rolloverid>66042</rolloverid> <icon>art\ui\abilities\ability_fire_command</icon> <minimapeventtime sendalertto="none">1</minimapeventtime> <activetime>10</activetime> <effect type="ActionEnable" action="FireCommand"> <target type="ProtoUnit">ypSPCNanib</target> </effect> <placement forceonmap="1" ally="">full</placement> <startsoundset>PowerAttackAura</startsoundset> </power>
|