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

Check for a set bonus

I also am interested in learning how to check for set bonuses.
 
This is all new territory for me, but...

Me.Inventory.Equipped

Then you can check each slot. I assume you can someway return either the name of the item or the ID number and compare it with items that have the bonus on them.
 
I recommend to look at the latest druid singular version from Handnavi!

Which you can find here!

greetz

Weischbier

Edit: PLEASE SEEK PERMISSION FIRST FROM HIM!
 
I recommend to look at the latest druid singular version from Handnavi!

Which you can find here!

greetz

Weischbier

Edit: PLEASE SEEK PERMISSION FIRST FROM HIM!

Thanks for naming me, but that was not my work. It was originally written by Apoc! :-)

First of all go to WoWhead and grab your SETID.
For ferals its:
Deep Earth Battlegarb - Item Set - World of Warcraft
Code:
private const int FERAL_T13_ITEM_SET_ID = 1058;

Code:
        private static int NumTier13Pieces
        {
            get
            {
                int
                count = StyxWoW.Me.Inventory.Equipped.Hands.ItemInfo.ItemSetId == FERAL_T13_ITEM_SET_ID ? 1 : 0;
                count += StyxWoW.Me.Inventory.Equipped.Legs.ItemInfo.ItemSetId == FERAL_T13_ITEM_SET_ID ? 1 : 0;
                count += StyxWoW.Me.Inventory.Equipped.Chest.ItemInfo.ItemSetId == FERAL_T13_ITEM_SET_ID ? 1 : 0;
                count += StyxWoW.Me.Inventory.Equipped.Shoulder.ItemInfo.ItemSetId == FERAL_T13_ITEM_SET_ID ? 1 : 0;
                count += StyxWoW.Me.Inventory.Equipped.Head.ItemInfo.ItemSetId == FERAL_T13_ITEM_SET_ID ? 1 : 0;
                return count;
            }
        }
 
Does this work properly when you mix lfr,normal and heroic t-set-items, do they belong to the same set or is it one set per difficulty?
 
Does this work properly when you mix lfr,normal and heroic t-set-items, do they belong to the same set or is it one set per difficulty?

I would assume they go under the same set as they all tie into the same set bonus and you can mix and match them to get the bonuses.
 
Back
Top