fix Tainted Forgotten pill effects

This commit is contained in:
Buurazu authored and GitHub committed 2021-12-17 12:52:45 -05:00
1 parent 68896a939d
commit cbc31b8ea8
1 file changed
+3 -1
+3 -1
View File
@@ -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