get item ID off of player's paper doll
Kevin Gilbert [08-30-16 - 15:32]
get item ID off of player's paper doll
diff --git a/ArtifactMenu.lua b/ArtifactMenu.lua
index 2bc8fa3..a44fbff 100644
--- a/ArtifactMenu.lua
+++ b/ArtifactMenu.lua
@@ -97,7 +97,7 @@ function openArtifactMenu()
QUALITY.LEGENDARY = 5;
QUALITY.ARTIFACT = 6;
QUALITY.HEIRLOOM = 7;
- local equippedWeapon = GetInventorySlotInfo("MainHandSlot");
+ local equippedWeapon = GetInventoryItemID("player", GetInventorySlotInfo("MainHandSlot"));
if equippedWeapon == nil then
print("You do not have any weapons equipped.");
return