Commit fd7209cd authored by GuGu's avatar GuGu

Update c25046.lua

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