Skip to content

Commit 6160d94

Browse files
Blitz54LocalIdentity
andauthored
Remove old soulcore code (#2106)
* Remove old Soulcore and Rune code * Remove old Soulcore and Rune code --------- Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 859cd82 commit 6160d94

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

src/Classes/Item.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ function ItemClass:ParseRaw(raw, rarity, highQuality)
819819
self.affixes = (self.base.subType and data.itemMods[self.base.type..self.base.subType])
820820
or data.itemMods[self.base.type]
821821
or data.itemMods.Item
822-
self.corruptible = self.base.type ~= "Flask" and self.base.type ~= "Charm" and self.base.type ~= "Rune" and self.base.type ~= "SoulCore" and self.base.type ~= "Transcendent Limb"
822+
self.corruptible = self.base.type ~= "Flask" and self.base.type ~= "Charm" and self.base.type ~= "Transcendent Limb"
823823
self.requirements.str = self.base.req.str or 0
824824
self.requirements.dex = self.base.req.dex or 0
825825
self.requirements.int = self.base.req.int or 0

src/Classes/ItemsTab.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2372,11 +2372,6 @@ function ItemsTabClass:CraftItem()
23722372
raritySel = 2
23732373
end
23742374
end
2375-
if base.base.type == "SoulCore" or base.base.type == "Rune" then
2376-
if raritySel == 3 or raritySel == 2 then
2377-
raritySel = 1
2378-
end
2379-
end
23802375
if base.base.type == "Transcendent Limb" then
23812376
raritySel = 1
23822377
end

src/Export/Scripts/bases.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ directiveTable.base = function(state, args, out)
340340
reqLevel = baseItemType.DropLevel
341341
end
342342
end
343-
if state.type == "Flask" or state.type == "SoulCore" or state.type == "Rune" or state.type == "Charm" then
343+
if state.type == "Flask" or state.type == "Charm" then
344344
if baseItemType.DropLevel > 2 then
345345
reqLevel = baseItemType.DropLevel
346346
end

0 commit comments

Comments
 (0)