本帖最后由 se1phine 于 2022-9-24 15:57 编辑
1. DH想要脚下显示暗影之力激活时间应该改哪个配置文件,全局搜了下没找到
2. 雷电宏是不是不能新增,只能在原基础修改
[C#] 纯文本查看 复制代码 // /plugins/LightningMod/SkillHandlers/DemonHunter/DemonHunterVengeancePlugin.cs:16
CreateCastRule()
.IfInTown().ThenNoCastElseContinue()
.IfCastingIdentify().ThenNoCastElseContinue()
.IfCastingPortal().ThenNoCastElseContinue()
.IfOnCooldown().ThenNoCastElseContinue()
.IfCanCastSimple().ThenContinueElseNoCast()
.IfEnoughMonstersNearby(ctx => 100, ctx => 1).ThenContinueElseNoCast()
.IfFalse(ctx => ctx.Skill.Player.GetSetItemCount(254427) >= 6) // 掠夺套卡火元素忽略血量触发
.IfTrue(ctx => (ctx.Skill.Rune == 1 || ctx.Skill.Rune == 3) && ctx.Skill.Player.Defense.HealthPct < 60).ThenContinueElseNoCast()
.IfBuffIsAboutToExpire(50, 100).ThenCastElseContinue()
;
// TurboHUD/plugins/LightningMod/SkillHandlers/DemonHunter/DemonHunterShadowPowerPlugin.cs:42
//暗影滑行+恐惧6件套+蓄势待发+移动时施放
CreateCastRule()
.IfInTown().ThenNoCastElseContinue()
.IfCastingIdentify().ThenNoCastElseContinue()
.IfCastingPortal().ThenNoCastElseContinue()
.IfOnCooldown().ThenNoCastElseContinue()
.IfCanCastSimple().ThenContinueElseNoCast()
.IfSecondaryResourceIsEnough(0, ctx => 0).ThenContinueElseNoCast()
.IfTrue(ctx => ctx.Skill.Player.Powers.BuffIsActive(Hud.Sno.SnoPowers.DemonHunter_ShadowPower.Sno)).ThenNoCastElseContinue()
.IfTrue(ctx => ctx.Skill.Rune == 1 && (ctx.Skill.Player.GetSetItemCount(791249) >= 6 || ctx.Skill.Player.GetSetItemCount(254164) >= 6) && ctx.Skill.Player.Powers.UsedDemonHunterPowers.Preparation != null).ThenContinueElseNoCast()//暗影滑行+恐惧6件套或邪秽之精6件套+蓄势待发
// 不洁套悬赏保戒律
.IfTrue(ctx => ctx.Skill.Player.Stats.ResourcePctDiscipline >= 30 && ctx.Skill.Player.GetSetItemCount(254164) >= 6)
.IfRunning(true).ThenCastElseContinue()
;
|