Commit 18ce4610 authored by POLYMER's avatar POLYMER

fix

parent c60b22b8
...@@ -40,7 +40,7 @@ function c22022060.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function c22022060.operation(e,tp,eg,ep,ev,re,r,rp)
if Duel.SpecialSummon(c,0,tp,1-tp,false,false,POS_FACEUP)~=0 then if Duel.SpecialSummon(c,0,tp,1-tp,false,false,POS_FACEUP)~=0 then
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
Duel.SendtoGrave(tc,nil,REASON_EFFECT) Duel.SendtoGrave(tc,REASON_EFFECT)
end end
end end
end end
\ No newline at end of file
...@@ -29,7 +29,7 @@ function c9910042.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -29,7 +29,7 @@ function c9910042.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c9910042.activate(e,tp,eg,ep,ev,re,r,rp) function c9910042.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,c) local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,aux.ExceptThisCard(e))
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -44,7 +44,8 @@ function c9910656.setcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -44,7 +44,8 @@ function c9910656.setcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RemoveOverlayCard(tp,1,0,1,1,REASON_COST) Duel.RemoveOverlayCard(tp,1,0,1,1,REASON_COST)
end end
function c9910656.setfilter(c) function c9910656.setfilter(c)
return c:IsCode(9910654,9910655) and c:IsSSetable() --return c:IsCode(9910654,9910655) and c:IsSSetable()
return c:IsCode(9910655) and c:IsSSetable()
end end
function c9910656.settg(e,tp,eg,ep,ev,re,r,rp,chk) function c9910656.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c9910656.setfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c9910656.setfilter,tp,LOCATION_DECK,0,1,nil) 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