Commit ea2bbe55 authored by Huangnan's avatar Huangnan

fix

parent b558d83f
Pipeline #35819 passed with stages
in 44 minutes and 53 seconds
......@@ -48,7 +48,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local max=c:GetOverlayCount()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_MZONE,LOCATION_MZONE)
if max>ct then max=ct end
local num=Duel.AnnounceNumber(tp,1,max)
local num=Duel.AnnounceLevel(tp,1,max)
c:RemoveOverlayCard(tp,num,num,REASON_COST)
e:SetLabel(num)
end
......@@ -89,9 +89,6 @@ function s.imcon(e)
local c=e:GetHandler()
return c:IsDefensePos() and c:GetTurnID()==Duel.GetTurnCount()
end
function s.efilter(c,pos,tg)
return tg:IsContains(c) and c:IsPosition(pos)
end
function s.efilter(e,te)
return te:GetOwnerPlayer()~=e:GetOwnerPlayer() and re:IsActivated()
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