Commit 73904bac authored by GuGu's avatar GuGu

Update c29019.lua

parent c4572278
Pipeline #40831 passed with stage
in 6 seconds
......@@ -59,13 +59,16 @@ function c29019.operation(e,tp,eg,ep,ev,re,r,rp)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetTargetRange(1,0)
e1:SetTarget(function(_,c)
return c:IsLocation(LOCATION_EXTRA) and not
_G["c" .. c:GetOriginalCode()].DescSetName==0x826 end)
e1:SetTarget(c29019.splimit)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
end
end
function c29019.splimit(e,c)
local code=c:GetOriginalCode()
local mt=_G["c" .. code]
return c:IsLocation(LOCATION_EXTRA) and not (mt and mt.DescSetName==0x826)
end
function c29019.hfilter(c)
return c:GetOriginalCode()==(29030) and c:IsAbleToHand()
end
......
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