Commit 7e7477e4 authored by Grajade's avatar Grajade

Update c12061021.lua

parent 799ae3d0
......@@ -56,8 +56,7 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
local c=e:GetHandler()
if not tc:IsRelateToEffect(e) and not e:GetHandler():IsRelateToEffect(e) then return end
Duel.SendtoDeck(tc,nil,2,REASON_EFFECT)
if ( tc:IsSetCard(0xafac) or tc:IsRace(RACE_PLANT) ) and tc:IsAbleToHandAsCost() then
if Duel.SendtoDeck(tc,nil,2,REASON_EFFECT)>0 and (tc:IsSetCard(0xafac) or tc:IsRace(RACE_PLANT)) then
Duel.Recover(tp,500,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