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:
kittenchilly authored and GitHub committed 2025-05-02 20:27:35 +02:00
1 parent 90fa6f0358
commit e774aa9186
8 files changed
+47 -76

No files matched your search

+1 -1
View File
@@ -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}