Commit ec496c5e authored by POLYMER's avatar POLYMER

fix

parent 19dbb766
......@@ -2,7 +2,7 @@
--21.04.10
local cm,m=GetID()
function cm.initial_effect(c)
c:SetUniqueOnField(1,0,m)
--c:SetUniqueOnField(1,0,m)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK+CATEGORY_ATKCHANGE)
......
......@@ -18,8 +18,8 @@ function c28351818.initial_effect(c)
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_TOGRAVE)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_MZONE)
e2:SetTarget(c28318027.thtg)
e2:SetOperation(c28318027.thop)
e2:SetTarget(c28351818.thtg)
e2:SetOperation(c28351818.thop)
c:RegisterEffect(e2)
end
function c28351818.matfilter(c,syncard)
......
......@@ -44,8 +44,8 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
end
s.pendulum_level=7
function s.mfilter(c)
return c:IsFaceup() and c:IsRace(RACE_DRAGON) and c:IsXyzLevel(7)
function s.mfilter(c,xyzc)
return c:IsFaceup() and c:IsRace(RACE_DRAGON) and c:IsXyzLevel(xyzc,7)
end
function s.ovfilter(c)
return c:IsFaceup() and c:IsAttribute(ATTRIBUTE_DARK) and c:IsType(TYPE_XYZ)
......
......@@ -46,10 +46,10 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.desfilter(c)
return c:IsSetCard(0x3620)
return c:IsSetCard(0x3620) and (c:IsLocation(LOCATION_HAND) or (c:IsLocation(LOCATION_ONFIELD) and c:IsFaceup()))
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chkc then return chkc:IsOnField() and chkc:IsControler(tp) and cm.desfilter(chkc,tp) end
if chkc then return chkc:IsControler(tp) and cm.desfilter(chkc,tp) end
if chk==0 then return e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false)
and Duel.IsExistingTarget(cm.desfilter,tp,LOCATION_ONFIELD+LOCATION_HAND,0,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
......
......@@ -34,10 +34,10 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.desfilter(c)
return c:IsSetCard(0x3620)
return c:IsSetCard(0x3620) and (c:IsLocation(LOCATION_HAND) or (c:IsLocation(LOCATION_ONFIELD) and c:IsFaceup()))
end
function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsControler(tp) and cm.desfilter(chkc,tp) end
if chkc then return chkc:IsControler(tp) and cm.desfilter(chkc,tp) end
if chk==0 then return e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false)
and Duel.IsExistingTarget(cm.desfilter,tp,LOCATION_ONFIELD+LOCATION_HAND,0,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
......
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