From 447c4fafbae7da8965b9f3f694ed53dfd1b9cd9d Mon Sep 17 00:00:00 2001 From: Buurazu Date: Fri, 17 Dec 2021 14:17:32 -0500 Subject: [PATCH] I'm Excited spawns a black heart as well --- eid_modifiers.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eid_modifiers.lua b/eid_modifiers.lua index ba0f5ec9..6f5bd673 100644 --- a/eid_modifiers.lua +++ b/eid_modifiers.lua @@ -395,7 +395,8 @@ local game = Game() local data = EID.pillMetadata[adjustedID-1] if data ~= nil then local damageUp = string.find(data.class,"3") and (string.find(data.class,"-") or adjustedID-1 == PillEffect.PILLEFFECT_EXPERIMENTAL) - local blackHeart = (string.find(data.class,"2") or string.find(data.class,"1")) and string.find(data.class,"-") + -- why doesn't I'm Excited have a - in the xml data yet spawn a black heart... + local blackHeart = (string.find(data.class,"2") or string.find(data.class,"1")) and (string.find(data.class,"-") or adjustedID-1 == PillEffect.PILLEFFECT_IM_EXCITED) local text = "" if damageUp and horse then text = EID:getDescriptionEntry("FalsePHDHorseDamage") elseif damageUp then text = EID:getDescriptionEntry("FalsePHDDamage")