Implemented Binge Eater Buff informations

This commit is contained in:
Wofsauge committed 2021-05-23 19:29:33 +02:00
1 parent 9fdfd596c0
commit be55933561
2 files changed
+21

No files matched your search

+8
View File
@@ -641,6 +641,14 @@ local function onRender(t)
descriptionObj.Description = "{{CustomTransformation}} {{ColorGray}}"..playerName.."{{CR}}#"..birthrightDesc[3]
end
end
-- Handle Bingeeater description addition
if player:HasCollectible(664) then
local bingeBuff = EID.descriptions[EID.Config["Language"]]["bingeEaterBuffs"][closest.SubType] or EID.descriptions["en_us"]["bingeEaterBuffs"][closest.SubType] or nil
if bingeBuff ~= nil then
local bingeStr = "#{{Collectible664}} "
descriptionObj.Description = descriptionObj.Description..bingeStr..bingeBuff[3]:gsub("#",bingeStr)
end
end
-- Handle Spindown Dice description addition
if player:HasCollectible(723) then
descriptionObj.Description = descriptionObj.Description.."#{{Collectible723}} :"