TMTRAINER updates (#631)
- update ko_kr entries - moved on use effect below granted item
This commit is contained in:
2 files changed
+16
-14
No files matched your search
+5
-5
@@ -97,11 +97,6 @@ function EID:CheckGlitchedItemConfig(id)
|
||||
|
||||
if REPENTOGON then
|
||||
-- Use REPENTOGON to print what base item this glitched item gives, and its stat increases
|
||||
-- If it's an active, these are given to you upon using the item, so let's print an "On use:" first
|
||||
if itemConfig.Type == ItemType.ITEM_ACTIVE then
|
||||
lastEffectTrigger = "active"
|
||||
attributes = attributes .. "{{Blank}} " .. triggerColors["active"] .. localizedNames["active"]
|
||||
end
|
||||
local item = ProceduralItemManager.GetProceduralItem(maxNumber - 1 - id)
|
||||
if item:GetTargetItem() then
|
||||
-- Glitched items grant a random collectible/trinket
|
||||
@@ -115,6 +110,11 @@ function EID:CheckGlitchedItemConfig(id)
|
||||
end
|
||||
attributes = attributes .. localizedNames["grants"] .. itemText .. innerItem.ID .. "}} " .. EID:getObjectName(5, itemType, innerItem.ID) .. "#"
|
||||
end
|
||||
-- If it's an active, these are given to you upon using the item, so let's print an "On use:" first
|
||||
if itemConfig.Type == ItemType.ITEM_ACTIVE then
|
||||
lastEffectTrigger = "active"
|
||||
attributes = attributes .. "{{Blank}} " .. triggerColors["active"] .. localizedNames["active"]
|
||||
end
|
||||
local voidNames = EID:getDescriptionEntry("VoidNames")
|
||||
for i,func in ipairs(getFunctions) do
|
||||
local val = item[func](item) * statMult[i]
|
||||
|
||||
Reference in new issue
Block a user