Commit 9c9a5a91 authored by Nemo Ma's avatar Nemo Ma

fix

parent 35c917c1
......@@ -30,7 +30,7 @@ function c1000378.tg(e,c)
return lv>0 and lv<=10 and c:GetBaseDefense()==0
end
function c1000378.spfilter(c,e,tp,ft)
return c:IsSetCard(0xc200) and (c:IsAbleToHand() or (ft>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)))
return c:IsSetCard(0xc200) and c:IsType(TYPE_MONSTER) and (c:IsAbleToHand() or (ft>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)))
end
function c1000378.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
......@@ -44,5 +44,5 @@ function c33700402.skipcon(e)
return Duel.GetTurnPlayer()~=e:GetHandlerPlayer()
end
function c33700402.handcon(e)
return Duel.GetFieldGroupCount(e:GetHandlerPlayer(),LOCATION_ONFIELD+LOCATION_HAND,0)<=Duel.GetFieldGroupCount(e:GetHandlerPlayer(),0,LOCATION_ONFIELD)
return Duel.GetFieldGroupCount(e:GetHandlerPlayer(),LOCATION_ONFIELD+LOCATION_HAND,0)<Duel.GetFieldGroupCount(e:GetHandlerPlayer(),0,LOCATION_ONFIELD)
end
\ No newline at end of file
......@@ -46,6 +46,9 @@ end
function c9980782.ffilter(c)
return c:IsSetCard(0x3bcf) and c:IsFusionAttribute(ATTRIBUTE_WATER)
end
function c9980782.desfilter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP)
end
function c9980782.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c9980782.desfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
local g=Duel.GetMatchingGroup(c9980782.desfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
......
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