Commit 9c4ba32e authored by GuGu's avatar GuGu

Update c86378013.lua

parent 1dbe3170
Pipeline #42254 passed with stage
in 8 seconds
......@@ -47,7 +47,7 @@ function c86378013.thcon(e,tp,eg,ep,ev,re,r,rp)
end
function c86378013.thfilter(c,e,tp)
return c:IsSetCard(0x214a) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and ((c:IsLocation(LOCATION_DECK) and Duel.GetMZoneCount(tp)>0) or (c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(tp,tp,nil,c))>0)
and ((c:IsLocation(LOCATION_DECK) and Duel.GetMZoneCount(tp)>0) or (c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0))
end
function c86378013.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c86378013.thfilter,tp,LOCATION_DECK+LOCATION_EXTRA,0,1,nil,e,tp) and e:GetHandler():IsControlerCanBeChanged() 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