Commit b6298a93 authored by TanakaKotoha's avatar TanakaKotoha

wdnmd

parent b1c82846
......@@ -35,7 +35,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.thfilter(c)
return c:IsRace(RACE_SPELLCASTER) and c:GetAttack()==0 and c:IsAbleToHand()
return c:IsRace(RACE_SEASERPENT) and c:GetAttack()==0 and c:IsAbleToHand()
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil) end
......@@ -69,7 +69,7 @@ end
function cm.setop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_POSCHANGE)
local tc=Duel.SelectMatchingCard(tp,cm.setfilter2,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil):GetFirst()
if tc:IsFaceup() and tc:IsRelateToEffect(e) then
if tc:IsFaceup() then
Duel.ChangePosition(tc,POS_FACEDOWN_DEFENSE)
end
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