添加转换单位技能

其他技能你自己参照9-2Power.xml

	<power name="PowerStun2" type="Stun">
		<displaynameid>09976</displaynameid>
		<rolloverid>09961</rolloverid>
		<icon>art\Chino\ability_icon\stun</icon>
		<minimapeventtime sendalertto="all">1</minimapeventtime>
		<activetime>40</activetime>			眩晕持续时间,如果改成-1,那就整场游戏都不会动了。
		<radius>20.0</radius>			眩晕半径范围
		<placement forceonmap="1">LOSDontCare</placement>		无视视野,可凭空释放技能。
		<rangeindicatorprotoid radius="20.0" indicatorcount="32" speed="0.6">PowerRanger</rangeindicatorprotoid>释放前技能旋转的圆圈
		<abstractattacktargettype>Unit</abstractattacktargettype>		释放对象,所有单位
		<explicitlyrestrictedattacktargettype>Ship</explicitlyrestrictedattacktargettype>		无法释放对象,船只
		<allowduringnorush>1</allowduringnorush>		允许在条约局使用
		<startsoundset>PowerStun</startsoundset>
	</power>


PS:该技能有BUG,移动到技能图标上,无法显示技能名称与介绍,其他一切正常。

  abilities.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
	<KafuuChino>
		<ability>
			PowerBeam
			<rof>60</rof>
		</ability>
		<ability>
			PowerStun
			<rof>60</rof>
		</ability>
		<ability>
			PowerCovert
			<rof>60</rof>
		</ability>
		<ability>
			PowerHealUnit
			<rof>60</rof>
		</ability>
	</KafuuChino>
	<HotoCocoa>
		<ability>
			PowerBeam
			<rof>60</rof>
		</ability>
		<ability>
			PowerStun2
			<rof>60</rof>
		</ability>
		<ability>
			PowerCovert2
			<rof>60</rof>
		</ability>
		<ability>
			PowerHealUnit
			<rof>60</rof>
		</ability>
	</HotoCocoa>

  powers.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
	<power name="PowerCovert2" type="swapunit">
		<displaynameid>09975</displaynameid>
		<rolloverid>09977</rolloverid>
		<icon>art\Chino\ability_icon\question</icon>
		<minimapeventtime sendalertto="player">1</minimapeventtime>
		<activetime>0</activetime>
		<radius>20.0</radius>
		<placement forceonmap="1" enemy="" allowgaia="">full</placement>
		<rangeindicatorprotoid radius="20.0" indicatorcount="32" speed="0.6">PowerRanger</rangeindicatorprotoid>
		<abstracttype swapto="BuildingRubble3x3">Rubble</abstracttype>
		<abstracttype swapto="BuildingRubble3x3">AbstractWall</abstracttype>
		<abstracttype swapto="BuildingRubble2x2">SPCPathBlock1</abstracttype>
		<abstracttype swapto="BuildingRubble3x3">SPCPathBlock2</abstracttype>
		<abstracttype swapto="BuildingRubble5x3">SPCPathBlock3</abstracttype>
		<abstracttype swapto="ypWildElephant">AbstractElephant</abstracttype>
		<abstracttype swapto="ypGoat">AbstractRangedCavalry</abstracttype>
		<abstracttype swapto="Graves">AbstractCavalry</abstracttype>
		<abstracttype swapto="TreeCarolinaMarsh">AbstractVillager</abstracttype>
		<abstracttype swapto="TreeChristmas">AbstractArtillery</abstracttype>
		<abstracttype swapto="TreeNewEnglandSnow">AbstractNativeWarrior</abstracttype>
		<abstracttype swapto="ypTreeYellowRiver">AbstractRangedInfantry</abstracttype>
		<abstracttype swapto="ypTreeCoastalJapan">AbstractInfantry</abstracttype>
		<abstracttype swapto="BuildingRubble2x2">TradingPost</abstracttype>
		<abstracttype swapto="ypTradingPostCapture">ypTradingPostCapture</abstracttype>
		<abstracttype swapto="ypBuildingRubbleShrineNuggetChinese">AbstractFarm</abstracttype>
		<abstracttype swapto="BuildingRubbleCabinNugget">AbstractFort</abstracttype>
		<abstracttype swapto="ypBuildingRubbleShrineNuggetJapanese">MilitaryBuilding</abstracttype>
		<abstracttype swapto="Rubble">EconomicBuilding</abstracttype>
		<abstracttype swapto="IGCShipwreck">AbstractFishingBoat</abstracttype>
		<abstracttype swapto="IGCShipwreck">Ship</abstracttype>
		<abstracttype swapto="TurkeyScout">Guardian</abstracttype>
		<abstracttype swapto="Rubble">AbstractTownCenter</abstracttype>
		<abstracttype swapto="CrateofWoodLarge">Tree</abstracttype>
		<abstracttype swapto="Rubble">AbstractHouse</abstracttype>
		<abstracttype swapto="Rubble">Bank</abstracttype>
		<abstracttype swapto="Rubble">ypBankAsian</abstracttype>
		<abstracttype swapto="Rubble">Church</abstracttype>
		<abstracttype swapto="Rubble">FieldHospital</abstracttype>
		<abstracttype swapto="Rubble">FirePit</abstracttype>
		<abstracttype swapto="Rubble">Market</abstracttype>
		<abstracttype swapto="Rubble">ypTradeMarketAsian</abstracttype>
		<abstracttype swapto="CrateofCoinLarge">AbstractMine</abstracttype>
		<abstracttype swapto="CrateofFoodLarge">AbstractFruit</abstracttype>
		<abstracttype swapto="ypTreeCoastalJapan">CrateofWoodLarge</abstracttype>
		<abstracttype swapto="ypTreeMongolianFir">AbstractResourceCrate</abstracttype>
		<abstracttype swapto="Rubble">ColonyBuilding</abstracttype>
		<abstracttype swapto="TreeRedwood">AbstractWagon</abstracttype>
		<abstracttype swapto="ypTreeBorneo">Unit</abstracttype>
		<swapdelay>0.0</swapdelay>
		<allowduringnorush>1</allowduringnorush>
		<powerplayerrelation>Enemy</powerplayerrelation>
	</power>
	<power name="PowerStun2" type="Stun">
		<displaynameid>09976</displaynameid>
		<rolloverid>09961</rolloverid>
		<icon>art\Chino\ability_icon\stun</icon>
		<minimapeventtime sendalertto="all">1</minimapeventtime>
		<activetime>40</activetime>
		<radius>20.0</radius>
		<placement forceonmap="1">LOSDontCare</placement>
		<rangeindicatorprotoid radius="20.0" indicatorcount="32" speed="0.6">PowerRanger</rangeindicatorprotoid>
		<abstractattacktargettype>Unit</abstractattacktargettype>
		<explicitlyrestrictedattacktargettype>Ship</explicitlyrestrictedattacktargettype>
		<allowduringnorush>1</allowduringnorush>
		<startsoundset>PowerStun</startsoundset>
	</power>


这个图是不是与前面的一样?就连教程85%都是相同的,第二个技能就是眩晕技能,从图中可以看见,敌人眩晕后,毫无反抗,被虐杀。