// Smoke Screen if (CanCast(SNOPower.DemonHunter_SmokeScreen) && !GetHasBuff(SNOPower.DemonHunter_ShadowPower) && Player.SecondaryResource >= 14 && (Player.CurrentHealthPct <= 0.90 || Player.IsRooted || TargetUtil.AnyMobsInRange(15) || Player.IsIncapacitated)) 大概的意思 // Elemental Arrow if (CanCast(SNOPower.DemonHunter_ElementalArrow) && !Player.IsIncapacitated && ((Player.PrimaryResource >= 10 && !IsWaitingForSpecial) || Player.PrimaryResource >= MinEnergyReserve || Legendary.Kridershot.IsEquipped)) { return new TrinityPower(SNOPower.DemonHunter_ElementalArrow, 30f, CurrentTarget.ACDGuid); 這樣設定 憎恨 會到多少才會普攻
Player.SecondaryResource >= 14 Player.PrimaryResource >= MinEnergyReserve 这个要看MinEnergyReserve定义的是多少了
int MinEnergyReserve = 25; if (Sets.EmbodimentOfTheMarauder.IsFullyEquipped) MinEnergyReserve = 70; 是這段嗎?
试下这样吧,不知道会不会造成其他问题 Code: if (CanCast(SNOPower.DemonHunter_ElementalArrow) && !Player.IsIncapacitated && ((Player.PrimaryResource >= 10)) {