Commit 2275cc61 authored by 未闻皂名's avatar 未闻皂名

2026/1/14 bug修复

parent b376b223
...@@ -105,7 +105,7 @@ end ...@@ -105,7 +105,7 @@ end
-- 仪式召唤 - 可以作为仪式素材 -- 仪式召唤 - 可以作为仪式素材
function RushDuel.IsCanBeRitualMaterial(c, rc) function RushDuel.IsCanBeRitualMaterial(c, rc)
if not c:IsCanBeRitualMaterial(rc) then if c:IsLocation(LOCATION_HAND + LOCATION_DECK + LOCATION_ONFIELD) and not c:IsCanBeRitualMaterial(rc) then
return false return false
end end
local effects = {c:IsHasEffect(EFFECT_CANNOT_BE_RITUAL_MATERIAL)} local effects = {c:IsHasEffect(EFFECT_CANNOT_BE_RITUAL_MATERIAL)}
......
...@@ -17,5 +17,5 @@ function cm.spfilter(c,e,tp,mat) ...@@ -17,5 +17,5 @@ function cm.spfilter(c,e,tp,mat)
and not mat:IsExists(Card.IsCode,1,nil,c:GetCode()) and not mat:IsExists(Card.IsCode,1,nil,c:GetCode())
end end
function cm.operation(e,tp,eg,ep,ev,re,r,rp,mat,rc) function cm.operation(e,tp,eg,ep,ev,re,r,rp,mat,rc)
RD.CanDiscardDeck(aux.Stringid(m,1),tp,1,mat:GetCount(),1-tp) RD.CanDiscardDeck(aux.Stringid(m,1),tp,1,mat:GetCount(),true,1-tp)
end end
\ No newline at end of file
...@@ -31,8 +31,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,8 +31,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
end end
-- Fusion Expend -- Fusion Expend
function cm.filter(c,e) function cm.filter(c,e)
return c:IsRace(RACE_GALAXY) and c:IsAbleToDeck() and c:IsCanBeFusionMaterial() return c:IsRace(RACE_GALAXY) and c:IsAbleToDeck() and not c:IsImmuneToEffect(e)
and not c:IsImmuneToEffect(e)
end end
function cm.target(e,te,tp,mg) function cm.target(e,te,tp,mg)
if te:GetHandler():IsCode(list[1]) then if te:GetHandler():IsCode(list[1]) then
......
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