Commit 53d9676f authored by Grajade's avatar Grajade

Update c86379108.lua

parent aa80fbe5
......@@ -11,8 +11,8 @@ function c86379108.initial_effect(c)
end
--
function c86379108.costfilter(c,tp)
local b1=Duel.IsPlayerCanDraw(tp)
local b2=(bit.band(c:GetOriginalAttribute(),ATTRIBUTE_LIGHT)~=0)
local b1=Duel.IsPlayerCanDraw(tp)
local b2=(bit.band(c:GetOriginalAttribute(),ATTRIBUTE_LIGHT)~=0)
return c:IsSetCard(0x186) and c:IsReleasable() and bit.band(c:GetOriginalType(),TYPE_MONSTER)~=0 and (not b2 or b1)
end
function c86379108.cost(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -44,7 +44,7 @@ function c86379108.op(e,tp,eg,ep,ev,re,r,rp,chk)
if tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT)
end
if e:GetLabel() and e:GetLabel()==1 then
if e:GetLabel() and e:GetLabel()==1 then
Duel.Draw(tp,1,REASON_EFFECT)
end
end
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