Commit 290c8715 authored by 八宫一月's avatar 八宫一月 Committed by GitHub

Update c38049541.lua (#2256)

parent 90ccaebb
...@@ -13,8 +13,9 @@ function c38049541.initial_effect(c) ...@@ -13,8 +13,9 @@ function c38049541.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c38049541.coscost(e,tp,eg,ep,ev,re,r,rp,chk) function c38049541.coscost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end local c=e:GetHandler()
Duel.SendtoGrave(e:GetHandler(),REASON_COST) if chk==0 then return c:IsDiscardable() end
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end end
function c38049541.filter(c) function c38049541.filter(c)
return c:IsFaceup() and c:IsSetCard(0x2) return c:IsFaceup() and c:IsSetCard(0x2)
......
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