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

2025/5/24 bug修复

parent 4c01f9ef
Pipeline #36751 passed with stages
in 13 minutes and 3 seconds
No preview for this file type
...@@ -24,7 +24,7 @@ function cm.matfilter(c) ...@@ -24,7 +24,7 @@ function cm.matfilter(c)
end end
--Change Code --Change Code
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsCode(list[1]) return not e:GetHandler():IsCode(list[2])
end end
cm.cost=RD.CostSendDeckTopToGrave(1) cm.cost=RD.CostSendDeckTopToGrave(1)
function cm.operation(e,tp,eg,ep,ev,re,r,rp) function cm.operation(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -3,6 +3,8 @@ local list={120285049} ...@@ -3,6 +3,8 @@ local list={120285049}
cm.name="英魂降临" cm.name="英魂降临"
function cm.initial_effect(c) function cm.initial_effect(c)
RD.AddCodeList(c,list) RD.AddCodeList(c,list)
--Fake Legend
RD.EnableFakeLegend(c,LOCATION_HAND+LOCATION_GRAVE)
--Activate --Activate
local e1=RD.CreateRitualEffect(c,RITUAL_LEVEL_GREATER,cm.matfilter,cm.spfilter) local e1=RD.CreateRitualEffect(c,RITUAL_LEVEL_GREATER,cm.matfilter,cm.spfilter)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......
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