Commit 9f0f8a9e authored by Amiya's avatar Amiya

修复

parent abb56ac8
Pipeline #41268 passed with stages
in 1 minute and 51 seconds
......@@ -20,7 +20,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2)
if not s.globle_check then
s.globle_check=true
rl_ReleaseRitualMaterial=Duel.ReleaseRitualMaterial
Ritual_ReleaseRitualMaterial=Duel.ReleaseRitualMaterial
Duel.ReleaseRitualMaterial=function(mat)
if mat:IsExists(s.rlfilter,1,nil,0) and Duel.GetFlagEffect(0,id)~=0 then
Duel.RegisterFlagEffect(0,id+o,RESET_PHASE+PHASE_END,0,1)
......@@ -28,7 +28,7 @@ function s.initial_effect(c)
if mat:IsExists(s.rlfilter,1,nil,1) and Duel.GetFlagEffect(1,id)~=0 then
Duel.RegisterFlagEffect(1,id+o,RESET_PHASE+PHASE_END,0,1)
end
rl_ReleaseRitualMaterial(mat)
Ritual_ReleaseRitualMaterial(mat)
end
end
end
......@@ -81,4 +81,4 @@ function s.rlcon(e,tp,eg,ep,ev,re,r,rp)
end
function s.rltg(e,c)
return c:IsType(TYPE_RITUAL)
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