Commit e570a7a3 authored by Huangnan's avatar Huangnan

Update c101203003.lua

parent 9ce61b48
Pipeline #23106 passed with stages
in 29 minutes and 14 seconds
......@@ -43,7 +43,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Release(e:GetHandler(),REASON_COST)
end
function s.spfilter(c,e,tp)
return c:IsSetCard(0x2a4) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP)
return (c:IsSetCard(0x2a4) or c:IsCode(78371393)) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......@@ -58,7 +58,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.chfilter(c)
return ((c:IsCode(78371393) and c:IsType(TYPE_MONSTER) or (c:IsSetCard(0x2a4) and c:IsType(TYPE_MONSTER)))
return (c:IsSetCard(0x2a4) or c:IsCode(78371393)) and c:IsType(TYPE_MONSTER)
end
function s.chcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_MONSTER) and rp==1-tp and Duel.GetTurnPlayer()==1-tp and Duel.IsExistingMatchingCard(s.chfilter,tp,LOCATION_MZONE,0,1,nil)
......@@ -76,7 +76,7 @@ function s.repop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(ct,REASON_EFFECT)
end
function s.filter(c)
return c:IsCode(78371393)
return (c:IsSetCard(0x2a4) or c:IsCode(78371393))
end
function s.con(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetTurnPlayer()~=tp then return false 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