Commit dad41925 authored by songtongtong's avatar songtongtong

bug fix

parent 5c223ea4
Pipeline #23764 passed with stages
in 21 minutes and 22 seconds
......@@ -74,7 +74,7 @@ function cm.con1(e,tp)
Duel.DisableActionCheck(true)
local dc=Duel.CreateToken(tp,m+1)
Duel.DisableActionCheck(false)
return dc:GetActivateEffect():IsActivatable(tp,false,false) and Duel.IsExistingMatchingCard(cm.rlfilter,tp,LOCATION_ONFIELD+LOCATION_HAND,0,1,c,tp)
return Duel.GetTurnPlayer()==tp and dc:GetActivateEffect():IsActivatable(tp,false,false) and Duel.IsExistingMatchingCard(cm.rlfilter,tp,LOCATION_ONFIELD+LOCATION_HAND,0,1,c,tp) and (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2)
end
function cm.opdo(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -286,7 +286,6 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp)
if c:IsFacedown() then
Duel.ConfirmCards(1-tp,Group.FromCards(c))
end
c:ReplaceEffect(tcode,0,0)
Duel.Hint(HINT_CARD,0,tcode)
if c:IsLocation(LOCATION_HAND) then
local sp=c:GetControler()
......
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