Commit a98c79bd authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12036010.lua

parent a79bb25e
......@@ -38,14 +38,14 @@ function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local g=Duel.SelectTarget(tp,Card.IsAbleToDeck,tp,LOCATION_REMOVED+LOCATION_GRAVE,LOCATION_REMOVED+LOCATION_GRAVE,1,1,nil)
if Duel.GetFlagEffect(tp,m)<2 then
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,1,0,0)
Duel.RegisterFlagEffect(tp,m,nil,0,1)
else
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,1,0,LOCATION_REMOVED+LOCATION_GRAVE)
end
Duel.RegisterFlagEffect(tp,m,nil,0,1)
end
function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if not tc:IsRelateToEffect(e) then return end
if not tc:IsRelateToEffect(e) and not e:GetHandler():IsRelateToEffect(e) then return end
local tt=Duel.GetFlagEffect(tp,m)
local tt1=(Duel.GetFlagEffect(tp,m+100)+1)*3
if tt<tt1 then
......@@ -69,4 +69,4 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,g)
rsba.ActLimitFun(g:GetFirst(),e,tp)
end
end
\ No newline at end of file
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