I'm Excited spawns a black heart as well
This commit is contained in:
1 parent
1a1f5297d9
commit
447c4fafba
1 file changed
+2
-1
+2
-1
@@ -395,7 +395,8 @@ local game = Game()
|
|||||||
local data = EID.pillMetadata[adjustedID-1]
|
local data = EID.pillMetadata[adjustedID-1]
|
||||||
if data ~= nil then
|
if data ~= nil then
|
||||||
local damageUp = string.find(data.class,"3") and (string.find(data.class,"-") or adjustedID-1 == PillEffect.PILLEFFECT_EXPERIMENTAL)
|
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 = ""
|
local text = ""
|
||||||
if damageUp and horse then text = EID:getDescriptionEntry("FalsePHDHorseDamage")
|
if damageUp and horse then text = EID:getDescriptionEntry("FalsePHDHorseDamage")
|
||||||
elseif damageUp then text = EID:getDescriptionEntry("FalsePHDDamage")
|
elseif damageUp then text = EID:getDescriptionEntry("FalsePHDDamage")
|
||||||
|
|||||||
Reference in new issue
Block a user