fix shot speed down false phd

This commit is contained in:
Buurazu authored and GitHub committed 2022-11-08 13:30:50 -05:00
1 parent 14f0b109e3
commit 2978558c9e
1 file changed
+1
+1
View File
@@ -504,6 +504,7 @@ if REPENTANCE then
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)
if adjustedID-1 == PillEffect.PILLEFFECT_SHOT_SPEED_DOWN then damageUp = true end
-- 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 = ""