添加神击与致命一击很简单,只需要在protoy的ProtoAction添加两个语句即可,所有ProtoAction都可以添加,HitPercent是触发几率,20就是20%(神击、致命一击、教化、重踏共用一个触发几率)。
神击:
<HitPercentType>KillingBlow</HitPercentType>
<HitPercent>20.000000</HitPercent>
<DamageCap>30.000000</DamageCap>
致命一击:
<HitPercentType>CriticalAttack</HitPercentType>
<HitPercent>20.000000</HitPercent>
<DamageMultiplier>2.000000</DamageMultiplier>
<HitPercentType>Sweep</HitPercentType>
<HitPercentType>CriticalAttack</HitPercentType>
<HitPercentType>KillingBlow</HitPercentType>
<DamageCap>1000.000000</DamageCap>
<HitPercent>100.000000</HitPercent>
<DamageMultiplier>10.000000</DamageMultiplier>