Commit 8894889e authored by wyykak's avatar wyykak

gold fix 21045 & 86379552

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 95489046
......@@ -10,7 +10,7 @@ function c21045.initial_effect(c)
c:RegisterEffect(e1)
end
function c21045.filter(c)
return c:IsSetCard(0x256) and c:IsAbleToHand()
return c:IsSetCard(0x256) and c:IsAbleToHand() and c:IsType(TYPE_MONSTER)
end
function c21045.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c21045.filter,tp,LOCATION_DECK,0,1,nil) end
......
......@@ -69,7 +69,7 @@ function c86379552.desop(e,tp,eg,ep,ev,re,r,rp)
if sc:IsType(TYPE_MONSTER) then
Duel.SpecialSummon(sc,0,1-tp,1-tp,false,false,POS_FACEDOWN_DEFENSE)
else
Duel.SSet(tp,sc,1-tp)
Duel.SSet(1-tp,sc,1-tp)
end
Duel.BreakEffect()
Duel.Draw(tp,1,REASON_EFFECT)
......
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