Commit 0978655a authored by salix5's avatar salix5

Merge pull request #346 from nekrozar/patch-6

fix Criosphinx
parents 59089625 3816e07b
...@@ -17,7 +17,7 @@ function c18654201.initial_effect(c) ...@@ -17,7 +17,7 @@ function c18654201.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c18654201.filter(c,tp) function c18654201.filter(c,tp)
return c:IsControler(tp) and c:IsPreviousLocation(LOCATION_MZONE) return c:IsControler(tp) and c:IsPreviousLocation(LOCATION_MZONE) and c:IsType(TYPE_MONSTER)
end end
function c18654201.regop(e,tp,eg,ep,ev,re,r,rp) function c18654201.regop(e,tp,eg,ep,ev,re,r,rp)
local p1=false local p2=false local p1=false local p2=false
...@@ -37,7 +37,7 @@ function c18654201.hdtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -37,7 +37,7 @@ function c18654201.hdtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,ep,LOCATION_HAND) Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,ep,LOCATION_HAND)
end end
function c18654201.hdop(e,tp,eg,ep,ev,re,r,rp) function c18654201.hdop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end if not e:GetHandler():IsRelateToEffect(e) or e:GetHandler():IsFacedown() then return end
if ep==PLAYER_ALL then if ep==PLAYER_ALL then
Duel.DiscardHand(0,nil,1,1,REASON_EFFECT) Duel.DiscardHand(0,nil,1,1,REASON_EFFECT)
Duel.DiscardHand(1,nil,1,1,REASON_EFFECT) Duel.DiscardHand(1,nil,1,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