Commit 8265dbfd authored by wyykak's avatar wyykak

fix 27038

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent f65a3bfd
......@@ -60,7 +60,7 @@ function c27038.cfilter(c)
return c:IsSetCard(0x242)
end
function c27038.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c27038.cofilter,tp,LOCATION_SZONE,0,1,nil) or Duel.CheckReleaseGroup(tp,c27038.cfilter,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(c27038.cofilter,tp,LOCATION_SZONE,0,1,nil) or Duel.CheckReleaseGroupEx(tp,c27038.cfilter,1,nil) end
if Duel.IsExistingMatchingCard(c27038.cofilter,tp,LOCATION_SZONE,0,1,nil) then return end
local g=Duel.SelectReleaseGroupEx(tp,c27038.cfilter,1,1,nil)
Duel.Release(g,REASON_COST)
......
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