帝国时代3给兵种加暴击和眩晕该怎么加
我想加的时候并非仅仅对AbstractLightCavalry(轻步兵)有效,而是对所有地方角色均有效,代码有以下3种,哪种加法是正确的 第一种:加在攻击加成代码之前<ProtoAction> <Name>StaggerRangedAttack</Name> <Damage>20.000000</Damage> <DamageType>Ranged</DamageType> <MinRange>2.000000</MinRange> <MaxRange>25.000000</MaxRange> <ROF>3.000000</ROF> <HitPercent>10.000000</HitPercent><HitPercentType>Sweep</HitPercentType> <HitPercent>20</HitPercent><DamageMultiplier>2</DamageMultiplier>
<HitPercentType>CriticalAttack</HitPercentType> <DamageBonus type ='AbstractLightCavalry'>2.000000</DamageBonus> <DamageBonus type ='xpEagleKnight'>2.000000</DamageBonus> <DamageBonus type ='AbstractHeavyInfantry'>1.250000</DamageBonus> <DamageBonus type ='xpCoyoteMan'>0.750000</DamageBonus> <DamageBonus type ='AbstractCavalry'>0.750000</DamageBonus> </ProtoAction> 第二种:仅仅加在AbstractLightCavalry(轻步兵)后面就行了<ProtoAction> <Name>StaggerRangedAttack</Name> <Damage>20.000000</Damage> <DamageType>Ranged</DamageType> <MinRange>2.000000</MinRange> <MaxRange>25.000000</MaxRange> <ROF>3.000000</ROF> <DamageBonus type ='AbstractLightCavalry'>2.000000</DamageBonus> <HitPercent>10.000000</HitPercent>
<HitPercentType>Sweep</HitPercentType> <HitPercent>20</HitPercent><DamageMultiplier>2</DamageMultiplier>
<HitPercentType>CriticalAttack</HitPercentType> <DamageBonus type ='xpEagleKnight'>2.000000</DamageBonus> <DamageBonus type ='AbstractHeavyInfantry'>1.250000</DamageBonus> <DamageBonus type ='xpCoyoteMan'>0.750000</DamageBonus> <DamageBonus type ='AbstractCavalry'>0.750000</DamageBonus> </ProtoAction> 第三种:对于每个攻击加成代码,都要添加<ProtoAction> <Name>StaggerRangedAttack</Name> <Damage>20.000000</Damage> <DamageType>Ranged</DamageType> <MinRange>2.000000</MinRange> <MaxRange>25.000000</MaxRange> <ROF>3.000000</ROF> <DamageBonus type ='AbstractLightCavalry'>2.000000</DamageBonus> <HitPercent>10.000000</HitPercent>
<HitPercentType>Sweep</HitPercentType> <HitPercent>20</HitPercent><DamageMultiplier>2</DamageMultiplier>
<HitPercentType>CriticalAttack</HitPercentType> <DamageBonus type ='xpEagleKnight'>2.000000</DamageBonus> <HitPercent>10.000000</HitPercent>
<HitPercentType>Sweep</HitPercentType> <HitPercent>20</HitPercent><DamageMultiplier>2</DamageMultiplier>
<HitPercentType>CriticalAttack</HitPercentType> <DamageBonus type ='AbstractHeavyInfantry'>1.250000</DamageBonus> <HitPercent>10.000000</HitPercent>
<HitPercentType>Sweep</HitPercentType> <HitPercent>20</HitPercent><DamageMultiplier>2</DamageMultiplier>
<HitPercentType>CriticalAttack</HitPercentType> <DamageBonus type ='xpCoyoteMan'>0.750000</DamageBonus> <HitPercent>10.000000</HitPercent>
<HitPercentType>Sweep</HitPercentType> <HitPercent>20</HitPercent><DamageMultiplier>2</DamageMultiplier>
<HitPercentType>CriticalAttack</HitPercentType> <DamageBonus type ='AbstractCavalry'>0.750000</DamageBonus> <HitPercent>10.000000</HitPercent>
<HitPercentType>Sweep</HitPercentType> <HitPercent>20</HitPercent><DamageMultiplier>2</DamageMultiplier>
<HitPercentType>CriticalAttack</HitPercentType> </ProtoAction> 求大神解答!
光protoy不行,该单位的tactics文件里也得加。 lz想多了,暴击还好加,加的方法就和你的第一、二种方法一样(我感觉你的这两种方法怎么效果都是一样的),你的第三个方法是个什么东东,抱歉,我是小虾米,果断看不懂。你那1、2方法的效果只是有10%或者20%的暴击而已,眩晕是不会有的,想研究群体眩晕,请参考阿3和尚,并且你那是远程的,所以即使有群体眩晕,也是在近程触发的(就是敌人离得太远,即使触发了,敌人也不会被眩晕,敌人离得比较近才行,要在你的眩晕范围内),当然,如果你能研究出远距离群体眩晕,情分享一下,如果是单体眩晕…………呵呵,请参考单体眩晕技能,lz可以去测试一下,看行不行!
页:
[1]