Commit 31af1828 authored by 未闻皂名's avatar 未闻皂名

2025/10/22 统一cost顺序

parent 783edd79
Pipeline #41198 passed with stages
in 6 minutes and 38 seconds
......@@ -22,9 +22,9 @@ function cm.filter(c,e,tp)
return c:IsPosition(POS_FACEUP_ATTACK) and c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsRace(RACE_FIEND)
and RD.IsCanChangePosition(c,e,tp,REASON_EFFECT)
end
cm.cost=RushDuel.CostChoose(HINTMSG_TOGRAVE,cm.cost1,HINTMSG_TODECK,cm.cost2)
cm.cost1=RD.CostSendHandToGrave(cm.costfilter1,1,1)
cm.cost2=RD.CostSendGraveToDeck(cm.costfilter2,3,3)
cm.cost=RD.CostChoose(HINTMSG_TOGRAVE,cm.cost1,HINTMSG_TODECK,cm.cost2)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_MZONE,0,1,nil,e,tp) end
local g=Duel.GetMatchingGroup(cm.filter,tp,LOCATION_MZONE,0,nil,e,tp)
......
......@@ -21,9 +21,9 @@ end
function cm.costcheck2(g)
return g:GetClassCount(Card.GetLevel)==g:GetCount()
end
cm.cost=RushDuel.CostChoose(HINTMSG_TOGRAVE,cm.cost1,HINTMSG_TODECK,cm.cost2)
cm.cost1=RD.CostSendHandToGrave(cm.costfilter1,1,1)
cm.cost2=RD.CostSendGraveSubToDeck(cm.costfilter2,cm.costcheck2,5,5)
cm.cost=RD.CostChoose(HINTMSG_TOGRAVE,cm.cost1,HINTMSG_TODECK,cm.cost2)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,2) end
RD.TargetDraw(tp,2)
......
......@@ -37,9 +37,9 @@ end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(cm.confilter,1,nil,1-tp)
end
cm.cost=RushDuel.CostChoose(HINTMSG_TODECK,cm.cost1,HINTMSG_POSCHANGE,cm.cost2)
cm.cost1=RD.CostSendHandToDeckBottom(cm.costfilter1,1,1,false)
cm.cost2=RD.CostChangePosition(cm.costfilter2,1,1)
cm.cost=RD.CostChoose(HINTMSG_TODECK,cm.cost1,HINTMSG_POSCHANGE,cm.cost2)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,0,LOCATION_MZONE,1,nil,e,tp) end
local g=Duel.GetMatchingGroup(cm.filter,tp,0,LOCATION_MZONE,nil,e,tp)
......
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