Commit 87aa5582 authored by POLYMER's avatar POLYMER

fix

parent 377c5785
...@@ -163,6 +163,8 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -163,6 +163,8 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
e1:SetTarget(cm.thtg2) e1:SetTarget(cm.thtg2)
e1:SetOperation(cm.thop) e1:SetOperation(cm.thop)
e1:SetReset(RESET_CHAIN) e1:SetReset(RESET_CHAIN)
e1:SetLabel(tp)
--Duel.RegisterEffect(e1,re:GetHandlerPlayer())
re:GetHandler():RegisterEffect(e1,true) re:GetHandler():RegisterEffect(e1,true)
end end
end end
...@@ -184,7 +186,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -184,7 +186,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
ge2:SetRange(0x1c) ge2:SetRange(0x1c)
ge2:SetProperty(EFFECT_FLAG_CLIENT_HINT+EFFECT_FLAG_SET_AVAILABLE) ge2:SetProperty(EFFECT_FLAG_CLIENT_HINT+EFFECT_FLAG_SET_AVAILABLE)
ge2:SetValue(cm.chkval) ge2:SetValue(cm.chkval)
ge2:SetOwnerPlayer(tp) ge2:SetOwnerPlayer(e:GetLabel())
ge2:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET) ge2:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET)
tc:RegisterEffect(ge2,true) tc:RegisterEffect(ge2,true)
end end
...@@ -218,7 +220,7 @@ function cm.chkval(e,te) ...@@ -218,7 +220,7 @@ function cm.chkval(e,te)
if SetCardData then if SetCardData then
Duel.Hint(24,0,aux.Stringid(m,4)) Duel.Hint(24,0,aux.Stringid(m,4))
else else
Debug.Message("「拦截」任务失败。") Debug.Message("「拦截」任务被对方完成!")
end end
end end
end end
......
...@@ -106,7 +106,6 @@ function s.atkval(e,c) ...@@ -106,7 +106,6 @@ function s.atkval(e,c)
end end
function s.wincon(e,tp,eg,ep,ev,re,r,rp) function s.wincon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Debug.Message(c:GetOriginalLevel())
return c:GetOriginalLevel()==7 return c:GetOriginalLevel()==7
end end
function s.winop(e,tp,eg,ep,ev,re,r,rp) function s.winop(e,tp,eg,ep,ev,re,r,rp)
...@@ -136,7 +135,8 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp) ...@@ -136,7 +135,8 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
end end
for p=0,1 do for p=0,1 do
if g:IsExists(s.cfilter,1,nil,p) then if g:IsExists(s.cfilter,1,nil,p) then
Duel.ConfirmCards(p,Duel.GetFieldGroup(p,LOCATION_EXTRA,0)) Duel.ShuffleExtra(p)
--Duel.ConfirmCards(p,Duel.GetFieldGroup(p,LOCATION_EXTRA,0))
end end
end end
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