What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

E大,帮忙看下

maon888

New Member
Joined
Nov 22, 2016
Messages
11
最近在写一个专业脚本,发现分解这个技能不知该怎么写进去。然后在论坛上找到这样一段代码
Code:
<CustomBehavior File="RunCode"><![CDATA[ 
    var greenItems = Me.BagItems.Where(a => !a.IsOpenable &amp;&amp; a.Quality == WoWItemQuality.Uncommon).ToList();
    foreach(var item in greenItems)
    { if (SpellManager.CanCast(13262))
        {
            SpellManager.Cast(13262);
            await Coroutine.Sleep(100);
            item.Use();
        }
        await Coroutine.Sleep(2000);
    }
    ]]>
    </CustomBehavior>
运行时发现这段代码有问题,我看不懂,请帮我看下
错误显示如图。
 

Attachments

  • 223.png
    223.png
    13.5 KB · Views: 228
Back
Top