Commit 97647dcb authored by Huangnan's avatar Huangnan

fix

parent 5a430ca5
Pipeline #38076 passed with stages
in 33 minutes and 29 seconds
...@@ -18,10 +18,10 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -18,10 +18,10 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end end
function cm.cfil(c) function cm.cfil(c)
return c:IsFaceup() and c:IsCanAddCounter(0x624) and c:IsType(TYPE_MONSTER) return c:IsFaceup() and c:IsCanAddCounter(0x624,1) and c:IsType(TYPE_MONSTER)
end end
function cm.mfil(c) function cm.mfil(c)
return c:IsFaceup() and c:IsSetCard(0x3310) and c:IsLevelAbove(5) return c:IsFaceup() and c:IsSetCard(0x5622) and c:IsLevelAbove(5)
end end
function cm.activate(e,tp,eg,ep,ev,re,r,rp) function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
......
...@@ -18,7 +18,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -18,7 +18,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,Card.IsDiscardable,tp,LOCATION_HAND,0,1,1,e:GetHandler()) local g=Duel.SelectMatchingCard(tp,Card.IsDiscardable,tp,LOCATION_HAND,0,1,1,e:GetHandler())
Duel.SendtoGrave(g,REASON_COST+REASON_DISCARD) Duel.SendtoGrave(g,REASON_COST+REASON_DISCARD)
if Duel.GetOperatedGroup():GetFirst():IsSetCard(0x3310) then e:SetLabel(99) end if Duel.GetOperatedGroup():GetFirst():IsSetCard(0x5622) then e:SetLabel(99) end
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc~=e:GetHandler() end if chkc then return chkc:IsOnField() and chkc~=e:GetHandler() end
...@@ -47,5 +47,5 @@ function cm.filter(c,code) ...@@ -47,5 +47,5 @@ function cm.filter(c,code)
return c:IsCode(code) and c:IsAbleToHand() return c:IsCode(code) and c:IsAbleToHand()
end end
function cm.cfil(c) function cm.cfil(c)
return c:IsFaceup() and c:IsCanAddCounter(0x624) and c:IsType(TYPE_MONSTER) return c:IsFaceup() and c:IsCanAddCounter(0x624,1) and c:IsType(TYPE_MONSTER)
end end
\ No newline at end of file
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