Commit 0a2d941f authored by GuGu's avatar GuGu

Update c24049.lua

parent 3d123264
Pipeline #40144 passed with stage
in 6 seconds
......@@ -25,8 +25,8 @@ function c24049.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 c24049.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroupEx(tp,c24049.filter,1,nil) end
local g=Duel.SelectReleaseGroupEx(tp,c24049.filter,1,1,nil)
if chk==0 then return Duel.CheckReleaseGroupEx(tp,c24049.filter,1,REASON_COST,true,nil) end
local g=Duel.SelectReleaseGroupEx(tp,c24049.filter,1,1,REASON_COST,true,nil)
Duel.Release(g,REASON_COST)
end
function c24049.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