Jump to content
  • Use item/spell on colleted items


    Arcangelo
    • Version: All Product: Quester Type: Suggestion Status: Not Added

    Use item on x colleted items

     

    Like quest: "Helboar, The Other white mean"

     

    This and many more quests you have to pick up some drops from mobs and after the pickup you need to use an item or spell in the bag to create a New item (the quest item)



    User Feedback

    Recommended Comments

    Before pulse step, add step type runcode with code like:

            int questId = 9361; // http://www.wowhead.com/quest=9361/helboar-the-other-white-meat
            if (wManager.Wow.Helpers.Quest.HasQuest(questId))
            {
                wManager.Events.LootingEvents.OnLootSuccessful += unit =>
                {
                    if (wManager.Wow.Helpers.Quest.HasQuest(questId))
                    {
                        if (wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAliveAndProductStarted &&
                            !wManager.Wow.Helpers.Conditions.IsAttackedAndCannotIgnore)
                        {
                            if (wManager.Wow.Helpers.ItemsManager.GetItemCountById(23248) > 0) // Purified Helboar Meat
                            {
                                wManager.Wow.Helpers.ItemsManager.UseItem(23268); // Purification Mixture
                                wManager.Wow.Helpers.Usefuls.WaitIsCasting();
                            }
                        }
                    }
                };
            }

     

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...