Commit 37af53b4 authored by GuGu's avatar GuGu

Update c86379841.lua

parent c261a46e
Pipeline #33330 passed with stage
in 1 minute and 44 seconds
......@@ -41,14 +41,10 @@ function c86379841.mfilter1(c)
return c:IsRace(RACE_SPELLCASTER)
end
function c86379841.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 c86379841.mfilter3(c)
local deck_check = 1
if Duel.IsPlayerAffectedByEffect(tp,22134) then deck_check = 0 end
return (c:GetAttribute()==0 and c:IsType(TYPE_MONSTER)) or (Duel.IsPlayerAffectedByEffect(tp,22249) and ((c:IsSetCard(0x181) or c:IsCode(22200)) and (deck_check == 1 or not c:IsLocation(LOCATION_DECK))))
return (c:GetAttribute()==0 and c:IsType(TYPE_MONSTER)) or (Duel.IsPlayerAffectedByEffect(tp,22249) and c:IsCode(22134,22200))
end
--
function c86379841.discon(e,tp,eg,ep,ev,re,r,rp)
......
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