Commit 40f591c2 authored by TanakaKotoha's avatar TanakaKotoha

daniaozhuanzhuanzhuan

parent 8863e44c
Pipeline #2482 passed with stages
in 44 minutes and 25 seconds
......@@ -45,9 +45,11 @@ function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if not tc:IsRelateToEffect(e) and not e:GetHandler():IsRelateToEffect(e) then return end
if ( not tc:IsRelateToEffect(e) ) or ( not e:GetHandler():IsRelateToEffect(e) ) then return end
local tt=Duel.GetFlagEffect(tp,m)
local tt1=(Duel.GetFlagEffect(tp,m+100)+1)*3
Debug.Message(tt)
Debug.Message(tt1)
if tt<tt1 then
Duel.SendtoDeck(tc,nil,2,REASON_EFFECT)
elseif tc:IsAbleToHand() and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
......
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