Use ItemConfig for more stuff that was done by the LUT (#838)
* Use ItemConfig for more stuff that was done by the LUT * Missed some stuff * Update lookuptable_generator.py
This commit is contained in:
1 parent
90fa6f0358
commit
e774aa9186
8 files changed
+47
-76
No files matched your search
@@ -99,7 +99,7 @@ function EID:getBagOfCraftingID(Variant, SubType)
|
||||
elseif Variant == 300 then
|
||||
if SubType == 0 then -- player:GetCard() returned 0
|
||||
return nil
|
||||
elseif EID.runeIDs[SubType] then -- runes
|
||||
elseif EID.itemConfig:GetCard(SubType):IsRune() then -- runes
|
||||
return {23}
|
||||
else -- cards
|
||||
return {21}
|
||||
|
||||
Reference in new issue
Block a user