Commit 38b21c22 authored by GuGu's avatar GuGu

Update c24059.lua

parent 0a2d941f
Pipeline #40145 passed with stage
in 8 seconds
......@@ -20,8 +20,8 @@ function c24059.filter(c)
return (math.abs(c:GetAttack()-c:GetDefense())==200 or math.abs(c:GetAttack()-c:GetDefense())==2000) and not c:IsType(TYPE_LINK)
end
function c24059.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroupEx(tp,c24059.filter,1,nil) end
local g=Duel.SelectReleaseGroupEx(tp,c24059.filter,1,1,nil)
if chk==0 then return Duel.CheckReleaseGroupEx(tp,c24059.filter,1,REASON_COST,true,nil) end
local g=Duel.SelectReleaseGroupEx(tp,c24059.filter,1,1,REASON_COST,true,nil)
Duel.Release(g,REASON_COST)
end
function c24059.activate(e,tp,eg,ep,ev,re,r,rp)
......
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