View Single Post
04/26/18, 03:18 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
I'd just count them by item id since they have removed all except for those two types when they simplified the soul gem system.
Seeing that there already is a function GetSoulGemInfo which is used to determine how many soul gems the player has available, it might also be worthwhile to ask for an additional argument SoulGemType which can be SOUL_GEM_INFO_ALL, SOUL_GEM_INFO_REGULAR or SOUL_GEM_INFO_CROWN.
  Reply With Quote