Commit 7e7477e4 authored by Grajade's avatar Grajade

Update c12061021.lua

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