메뚜기부두가 뭔지는 모르겠는데 트리니티에서 메뚜기 사용 부분은 크게 2가지 있습니다.
첫째로 비취부두일때는
// Locust Swarm
if (CanCast(SNOPower.Witchdoctor_Locust_Swarm) && Player.PrimaryResource >= 300 &&
!CurrentTarget.HasDebuff(SNOPower.Witchdoctor_Locust_Swarm))
{
return new TrinityPower(SNOPower.Witchdoctor_Locust_Swarm, 20f, CurrentTarget.ACDGuid);
}
기술시전이 가능하고 & 마나가 300이상 & 현재 타겟 대상에 메뚜기가 안걸려있는 상태이면 씁니다.
두번째로 비취부두가 아닐때는
// Locust Swarm
if (CanCast(SNOPower.Witchdoctor_Locust_Swarm) && Player.PrimaryResource >= 300 && !Legendary.Wormwood.IsEquipped &&
!SpellTracker.IsUnitTracked(CurrentTarget, SNOPower.Witchdoctor_Locust_Swarm) && LastPowerUsed != SNOPower.Witchdoctor_Locust_Swarm)
{
return new TrinityPower(SNOPower.Witchdoctor_Locust_Swarm, 12f, CurrentTarget.ACDGuid);
}
(기술시전이 가능하고 & 마나가 300이상 & 맹독쑥지팡이를 착용중이 아니고 & 현재 타겟 대상에 메뚜기가 안걸려있는 상태 & 가장 최근에 시전한 스킬이 메뚜기가 아닐때)만 씁니다.
메뚜기 부두가 뭔지 몰라서 뭐라고 조언해드려야할지 난감한데 두번째 코드를
// Locust Swarm
if (CanCast(SNOPower.Witchdoctor_Locust_Swarm) && Player.PrimaryResourcePct >= 0.9)
{
return new TrinityPower(SNOPower.Witchdoctor_Locust_Swarm, 12f, CurrentTarget.ACDGuid);
}
이렇게 수정하면 그냥 무조건 현재 마나가 90%이상이면 무조건 쏠겁니다.