Skip to content

Commit

Permalink
Fixed Deathtoll being marked as uncompletable after turning in Red Ho…
Browse files Browse the repository at this point in the history
…t Items.
  • Loading branch information
powerlord committed May 30, 2024
1 parent 5b08d97 commit f811a0a
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions scripts/logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,20 @@ function canSummonDeathtoll()
return 0
end

if Tracker:ProviderCountForCode( "redhotball" ) <= 0 then
return 0
end

if Tracker:ProviderCountForCode( "redhotmirror" ) <= 0 then
return 0
end

if Tracker:ProviderCountForCode( "redhotrod" ) <= 0 then
return 0
local grandmas = Tracker:FindObjectForCode("@Mountain King/DANCING GRANDMAS!")

if grandmas.AvailableChestCount > 0 then
if Tracker:ProviderCountForCode( "redhotball" ) <= 0 then
return 0
end

if Tracker:ProviderCountForCode( "redhotmirror" ) <= 0 then
return 0
end

if Tracker:ProviderCountForCode( "redhotrod" ) <= 0 then
return 0
end
end

if Tracker:ProviderCountForCode( "phoenix" ) <= 0 then
Expand Down

0 comments on commit f811a0a

Please sign in to comment.