Commit 3a61046b authored by Clara Grace Paulsen's avatar Clara Grace Paulsen Committed by GitHub

fix cards (#2094)

`Nazuki the Vaylantz Ninja`
`TGX3-DX2`
`Dyna Mondo`
parent e5c5653a
......@@ -11,7 +11,7 @@ function c3868277.initial_effect(c)
c:RegisterEffect(e1)
end
function c3868277.filter(c)
return c:IsSetCard(0x27) and c:IsAbleToDeck()
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x27) and c:IsAbleToDeck()
end
function c3868277.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c3868277.filter(chkc) end
......
......@@ -72,11 +72,12 @@ function c41525660.seqop(e,tp,eg,ep,ev,re,r,rp)
local seq=tc:GetSequence()
if seq>4 then return end
local flag=0
if seq>0 and Duel.CheckLocation(tp,LOCATION_MZONE,seq-1) then flag=flag|(1<<(seq-1)) end
if seq<4 and Duel.CheckLocation(tp,LOCATION_MZONE,seq+1) then flag=flag|(1<<(seq+1)) end
local p=tc:GetControler()
if seq>0 and Duel.CheckLocation(p,LOCATION_MZONE,seq-1) then flag=flag|(1<<(seq-1)) end
if seq<4 and Duel.CheckLocation(p,LOCATION_MZONE,seq+1) then flag=flag|(1<<(seq+1)) end
if flag==0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOZONE)
local s=Duel.SelectField(tp,1,LOCATION_MZONE,0,~flag)
local s=Duel.SelectField(tp,1,LOCATION_MZONE,LOCATION_MZONE,~flag)
local nseq=math.log(s,2)
Duel.MoveSequence(tc,nseq)
end
......
......@@ -16,7 +16,7 @@ function c73898890.initial_effect(c)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(897409,1))
e2:SetDescription(aux.Stringid(73898890,1))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON+CATEGORY_GRAVE_SPSUMMON)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
......
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