Commit ef507b55 authored by nanahira's avatar nanahira

fix

parent 9141ab23
...@@ -54,7 +54,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -54,7 +54,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if tc.mat_filter then if tc.mat_filter then
mg=mg:Filter(tc.mat_filter,nil) mg=mg:Filter(tc.mat_filter,nil)
end end
local mat=mat=Senya.CheckRitualMaterial(tc,mg,tp,tc:GetLevel()) local mat=Senya.SelectRitualMaterial(tc,mg,tp,tc:GetLevel())
tc:SetMaterial(mat) tc:SetMaterial(mat)
Senya.SayuriCheckTrigger(tc,e,tp,eg,ep,ev,re,r,rp) Senya.SayuriCheckTrigger(tc,e,tp,eg,ep,ev,re,r,rp)
Duel.ReleaseRitualMaterial(mat) Duel.ReleaseRitualMaterial(mat)
......
...@@ -47,7 +47,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,7 +47,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if tc.mat_filter then if tc.mat_filter then
mg=mg:Filter(tc.mat_filter,nil) mg=mg:Filter(tc.mat_filter,nil)
end end
local mat=mat=Senya.CheckRitualMaterial(tc,mg,tp,tc:GetLevel()) local mat=Senya.SelectRitualMaterial(tc,mg,tp,tc:GetLevel())
tc:SetMaterial(mat) tc:SetMaterial(mat)
Senya.SayuriCheckTrigger(tc,e,tp,eg,ep,ev,re,r,rp) Senya.SayuriCheckTrigger(tc,e,tp,eg,ep,ev,re,r,rp)
Duel.ReleaseRitualMaterial(mat) Duel.ReleaseRitualMaterial(mat)
......
...@@ -47,7 +47,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,7 +47,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if tc.mat_filter then if tc.mat_filter then
mg=mg:Filter(tc.mat_filter,nil) mg=mg:Filter(tc.mat_filter,nil)
end end
local mat=mat=Senya.CheckRitualMaterial(tc,mg,tp,tc:GetLevel()) local mat=Senya.SelectRitualMaterial(tc,mg,tp,tc:GetLevel())
tc:SetMaterial(mat) tc:SetMaterial(mat)
Senya.SayuriCheckTrigger(tc,e,tp,eg,ep,ev,re,r,rp) Senya.SayuriCheckTrigger(tc,e,tp,eg,ep,ev,re,r,rp)
Duel.ReleaseRitualMaterial(mat) Duel.ReleaseRitualMaterial(mat)
......
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