Commit fbcb8fde authored by wyykak's avatar wyykak

fix 21146

parent f31e76e2
...@@ -15,8 +15,8 @@ function c21146.filter(c) ...@@ -15,8 +15,8 @@ function c21146.filter(c)
return (math.abs(c:GetAttack()-c:GetDefense())==200 or math.abs(c:GetAttack()-c:GetDefense())==2000) and not c:IsType(TYPE_LINK) return (math.abs(c:GetAttack()-c:GetDefense())==200 or math.abs(c:GetAttack()-c:GetDefense())==2000) and not c:IsType(TYPE_LINK)
end end
function c21146.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c21146.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c21146.filter,1,e:GetHandler()) end if chk==0 then return Duel.CheckReleaseGroupEx(tp,c21146.filter,1,e:GetHandler()) end
local g=Duel.SelectReleaseGroup(tp,c21146.filter,1,1,e:GetHandler()) local g=Duel.SelectReleaseGroupEx(tp,c21146.filter,1,1,e:GetHandler())
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c21146.target(e,tp,eg,ep,ev,re,r,rp,chk) function c21146.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
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