Commit a29c1f67 authored by Amiya's avatar Amiya

修复

parent eb864b7c
Pipeline #42481 passed with stages
in 3 minutes and 59 seconds
...@@ -74,7 +74,7 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -74,7 +74,7 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local sg=eg:Filter(s.cfilter,1,nil,tp) local sg=eg:Filter(s.cfilter,1,nil,tp)
local ct=0 local ct=0
for tc in aux.Next(sg) do for tc in aux.Next(sg) do
local mt=e:GetHandler():GetMaterial():FilterCount(Card.IsType,nil,TYPE_MONSTER) local mt=tc:GetMaterial():FilterCount(Card.IsType,nil,TYPE_MONSTER)
if mt>ct then ct=mt end if mt>ct then ct=mt end
end end
if chkc then return chkc:IsOnField() and s.desfilter(chkc) and e:GetHandler()~=chkc end if chkc then return chkc:IsOnField() and s.desfilter(chkc) and e:GetHandler()~=chkc end
......
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