Commit e97116e4 authored by 未闻皂名's avatar 未闻皂名

2023/4/3 bug修复

parent 9e8bda60
......@@ -16,8 +16,9 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
end
--Destroy
function cm.costfilter(c)
function cm.costfilter(c,e,tp)
return c:IsFaceup() and c:IsCode(list[1]) and c:IsAbleToGraveAsCost()
and Duel.IsExistingMatchingCard(nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,Group.FromCards(c,e:GetHandler()))
end
cm.cost=RD.CostSendOnFieldToGrave(cm.costfilter,1,1,false)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -16,8 +16,9 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
end
--Destroy
function cm.costfilter(c)
function cm.costfilter(c,e,tp)
return c:IsFaceup() and c:IsCode(list[1]) and c:IsAbleToGraveAsCost()
and Duel.IsExistingMatchingCard(nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,Group.FromCards(c,e:GetHandler()))
end
cm.cost=RD.CostSendOnFieldToGrave(cm.costfilter,1,1,false)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -18,7 +18,7 @@ function cm.exfilter(c)
return c:IsAttribute(ATTRIBUTE_DARK) and c:IsRace(RACE_GALAXY)
end
function cm.desfilter(c)
return c:IsFaceup() and c:IsLevelAbove(8)
return c:IsFaceup() and c:IsLevelBelow(8)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)>1
......
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