Commit 1d4ae1d8 authored by GuGu's avatar GuGu

Update c25050.lua

parent fd7209cd
Pipeline #40147 passed with stage
in 7 seconds
...@@ -15,8 +15,8 @@ function c25050.filter(c) ...@@ -15,8 +15,8 @@ function c25050.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 c25050.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c25050.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroupEx(tp,c25050.filter,1,e:GetHandler()) end if chk==0 then return Duel.CheckReleaseGroupEx(tp,c25050.filter,1,REASON_COST,true,e:GetHandler()) end
local g=Duel.SelectReleaseGroupEx(tp,c25050.filter,1,1,e:GetHandler()) local g=Duel.SelectReleaseGroupEx(tp,c25050.filter,1,1,REASON_COST,true,e:GetHandler())
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c25050.sfilter(c) function c25050.sfilter(c)
......
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