• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • 关于元素萨满 Singular CC 的问题 (BUG?或语句不对?)

    Discussion in 'Honorbuddy 援助区' started by 6wind, Dec 11, 2014.

    1. 6wind

      6wind New Member

      Joined:
      Sep 6, 2014
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0
      Singular的元素萨满CC目前有一个小BUG:

      闪电链 和 地震术 总是会连续放两次。因为地震术是有CD的,导致第二个地震术放不出来,会卡住。

      不知道有什么办法可以解决?

      CC语句如下(我自己小改了一点):

      new Decorator(
      ret => Spell.UseAOE && Unit.UnfriendlyUnitsNearTarget(10f).Count() >= 4 && !Unit.UnfriendlyUnitsNearTarget(10f).Any(u => u.IsCrowdControlled()),
      new PrioritySelector(
      new Action( act => { Logger.WriteDebug("performing aoe behavior"); return RunStatus.Failure; }),
      Spell.CastOnGround("Earthquake", on => StyxWoW.Me.CurrentTarget, ret => StyxWoW.Me.CurrentTarget.Distance < 34 && StyxWoW.Me.HasAura(157766)), --------如果有强化闪电链BUFF,则释放地震术
      Spell.Cast("Earth Shock", ctx => StyxWoW.Me.HasAura("Lightning Shield", 17)),
      Spell.Cast("Chain Lightning", ret => Clusters.GetBestUnitForCluster(Unit.UnfriendlyUnit sNearTarget(15f), ClusterType.Chained, 12)),----------------------------------释放闪电链
      )
      ),


      虽然萨满是边缘职业,但也希望能够解决:):)
       
    2. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      再多加个条件吧
      Code:
      !Spell.IsSpellOnCooldown("Earthquake")
       
    3. 6wind

      6wind New Member

      Joined:
      Sep 6, 2014
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0

      谢谢!已测试,但还是不起作用:confused:
       

      Attached Files:

    4. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      里面有2个地方的代码都有Earthquake这个技能,你需要2个地方都改掉,再不行我也不知道了
       

    Share This Page