Commit 83c74897 authored by salix5's avatar salix5

Merge pull request #1089 from nekrozar/patch-1

fix Plain-Coat
parents 6c96312a a49df21a
...@@ -29,8 +29,10 @@ function c23649496.initial_effect(c) ...@@ -29,8 +29,10 @@ function c23649496.initial_effect(c)
end end
c23649496.xyz_number=18 c23649496.xyz_number=18
function c23649496.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c23649496.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end local c=e:GetHandler()
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) if chk==0 then return c:CheckRemoveOverlayCard(tp,1,REASON_COST) and c:GetFlagEffect(23649496)==0 end
c:RemoveOverlayCard(tp,1,1,REASON_COST)
c:RegisterFlagEffect(23649496,RESET_CHAIN,0,1)
end end
function c23649496.cfilter(c) function c23649496.cfilter(c)
return c:IsFaceup() and Duel.IsExistingMatchingCard(c23649496.filter,0,LOCATION_MZONE,LOCATION_MZONE,1,c,c:GetCode()) return c:IsFaceup() and Duel.IsExistingMatchingCard(c23649496.filter,0,LOCATION_MZONE,LOCATION_MZONE,1,c,c:GetCode())
......
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