From cbc31b8ea8e49d5ed136120b15224fd92c819951 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Fri, 17 Dec 2021 12:52:45 -0500 Subject: [PATCH] fix Tainted Forgotten pill effects --- eid_api.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eid_api.lua b/eid_api.lua index 4a0b5c5c..edad0989 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -375,7 +375,9 @@ function EID:getAdjustedSubtype(Type, Variant, SubType) return 9999 end local pool = game:GetItemPool() - SubType = pool:GetPillEffect(SubType, EID.player) + 1 + if REPENTANCE and EID.player.SubType == PlayerType.PLAYER_THESOUL_B then + SubType = pool:GetPillEffect(SubType, EID.player:GetOtherTwin()) + 1 + else SubType = pool:GetPillEffect(SubType, EID.player) + 1 end end return SubType end