在其他地方看到的方法
其实就是把技能改为主要攻击
打开策略文件\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs
查找
if (CanUseCleave)
return PowerCleave;
// Default Attacks
return DefaultPower;
替换成
if (CanUseCleave)
return PowerCleave;
if (CurrentTarget != null && CurrentTarget.Type != TrinityObjectType.Destructible)
{
//Logger.Log("revent Primary Attack ");
var targetPosition = TargetUtil.GetLoiterPosition(CurrentTarget, 5f);
return new TrinityPower(SNOPower.Walk, 30f, targetPosition);
}
return DefaultPower; |