Trying to find the equipment type during trade

Post Reply
Tonzoffun
Posts: 1
Joined: Sun Dec 17, 2017 5:38 am

Trying to find the equipment type during trade

Post by Tonzoffun » Sun Dec 17, 2017 5:44 am

I'm trying to set up a automated augment NPC, to which you can trade items to get certain augments on their items. However, I want only certain augments to be available for certain equipment slots. For example: adding Critical Hit Chance + augment can only be added to the Body slot and Hand slot or something like that. Or Weapon Skill Dmg + can only be added to weapons, not armor. Is there any method for doing this? I've tried trade:getEquipId(), trade:getEquipID(), trade:getSlotId(), etc... everything I can think of, but I can't find a way to distinguish between which equipment slot type the item is.


Post Reply