Commit 3c02d3a7 authored by sidschingis's avatar sidschingis

fix

fixed not returning when face-down
parent ce97db7d
......@@ -54,7 +54,7 @@ function c74530899.initial_effect(c)
e7:SetCondition(c74530899.tdcon)
e7:SetTarget(c74530899.tdtg)
e7:SetOperation(c74530899.tdop)
c:RegisterEffect(e7)
Duel.RegisterEffect(e7,0)
end
function c74530899.ntcon(e,c)
if c==nil then return true end
......@@ -83,15 +83,16 @@ function c74530899.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(1-tp,ct*300,REASON_EFFECT)
end
function c74530899.tdcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp
return Duel.GetTurnPlayer()==e:GetHandler():GetControler()
end
function c74530899.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
e:GetHandler():CreateEffectRelation(e)
Duel.SetOperationInfo(0,CATEGORY_TODECK,e:GetHandler(),1,0,0)
end
function c74530899.tdop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsFaceup() then
if c:IsRelateToEffect(e) then
Duel.SendtoDeck(c,nil,2,REASON_EFFECT)
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