Commit cdf79ca4 authored by wyykak's avatar wyykak

fix 999317

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 5ae76585
Pipeline #15692 passed with stage
in 1 minute and 24 seconds
...@@ -65,7 +65,7 @@ function M.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,7 @@ function M.op(e,tp,eg,ep,ev,re,r,rp)
-- release -- release
Duel.Release(Duel.GetMatchingGroup(M.rfilter, tp, LOCATION_ONFIELD, 0, nil), REASON_EFFECT) Duel.Release(Duel.GetMatchingGroup(M.rfilter, tp, LOCATION_ONFIELD, 0, nil), REASON_EFFECT)
local rg = Duel.GetOperatedGroup() local rg = Duel.GetOperatedGroup()
local sum = rg:GetSum(function (c) return c:GetLevel() * 2 end) local sum = rg:GetSum(function (c) return c:GetPreviousLevelOnField() * 2 end)
local sg = Duel.GetMatchingGroup(M.spfilter, tp, LOCATION_DECK, 0, nil, e, tp, sum) local sg = Duel.GetMatchingGroup(M.spfilter, tp, LOCATION_DECK, 0, nil, e, tp, sum)
if sg:GetCount() > 0 then if sg:GetCount() > 0 then
local ct = Duel.GetLocationCount(tp, LOCATION_MZONE) local ct = Duel.GetLocationCount(tp, LOCATION_MZONE)
......
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