Commit 6085c53e authored by songtongtong's avatar songtongtong

bug fix

parent 9314cb59
Pipeline #22021 passed with stages
in 34 minutes and 8 seconds
...@@ -71,7 +71,7 @@ function cm.splimit(e,se,sp,st) ...@@ -71,7 +71,7 @@ function cm.splimit(e,se,sp,st)
end end
end end
function cm.mfilter(c,xyzc) function cm.mfilter(c,xyzc)
return c:IsRankAbove(10) return c:IsRankAbove(12) and c:IsRace(RACE_MACHINE)
end end
function cm.efilter(e,te) function cm.efilter(e,te)
return te:GetOwner()~=e:GetOwner() return te:GetOwner()~=e:GetOwner()
...@@ -113,7 +113,6 @@ function cm.copyop(e,tp,eg,ep,ev,re,r,rp) ...@@ -113,7 +113,6 @@ function cm.copyop(e,tp,eg,ep,ev,re,r,rp)
e3:SetCountLimit(1) e3:SetCountLimit(1)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,2) e3:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,2)
e3:SetLabelObject(e1)
e3:SetLabel(cid) e3:SetLabel(cid)
e3:SetValue(num) e3:SetValue(num)
e3:SetCondition(cm.rscon) e3:SetCondition(cm.rscon)
...@@ -134,8 +133,6 @@ function cm.rstop(e,tp,eg,ep,ev,re,r,rp) ...@@ -134,8 +133,6 @@ function cm.rstop(e,tp,eg,ep,ev,re,r,rp)
c:ResetEffect(cid,RESET_COPY) c:ResetEffect(cid,RESET_COPY)
c:ResetEffect(RESET_DISABLE,RESET_EVENT) c:ResetEffect(RESET_DISABLE,RESET_EVENT)
end end
local e1=e:GetLabelObject()
e1:Reset()
Duel.HintSelection(Group.FromCards(c)) Duel.HintSelection(Group.FromCards(c))
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription()) Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
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