Commit 32492a32 authored by GuGu's avatar GuGu

Update c22236.lua

parent 84f05408
Pipeline #33326 passed with stage
in 29 seconds
......@@ -44,14 +44,10 @@ function c22236.mfilter1(c)
return c:IsRace(RACE_SPELLCASTER)
end
function c22236.mfilter2(c)
local deck_check = 1
if Duel.IsPlayerAffectedByEffect(tp,22162) then deck_check = 0 end
return c:IsAttribute(ATTRIBUTE_DARK) or (Duel.IsPlayerAffectedByEffect(tp,22249) and ((c:IsSetCard(0x184) or c:IsCode(22200)) and (deck_check == 1 or not c:IsLocation(LOCATION_DECK))))
return c:IsAttribute(ATTRIBUTE_DARK) or (Duel.IsPlayerAffectedByEffect(tp,22249) and c:IsCode(22162,22200))
end
function c22236.mfilter3(c)
local deck_check = 1
if Duel.IsPlayerAffectedByEffect(tp,22135) then deck_check = 0 end
return c:IsAttribute(ATTRIBUTE_EARTH) or (Duel.IsPlayerAffectedByEffect(tp,22249) and ((c:IsSetCard(0x182) or c:IsCode(22200)) and (deck_check == 1 or not c:IsLocation(LOCATION_DECK))))
return c:IsAttribute(ATTRIBUTE_EARTH) or (Duel.IsPlayerAffectedByEffect(tp,22249) and c:IsCode(22135,22200))
end
function c22236.thfilter1(c)
return c:IsSetCard(0xb046) and c:IsAbleToHand()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment