Commit 978500ec authored by salix5's avatar salix5

Merge pull request #842 from Steeldarkeagel/patch-13

Update c81066751.lua
parents 1ade1a71 2128797d
......@@ -10,8 +10,11 @@ function c81066751.initial_effect(c)
e4:SetOperation(c81066751.activate)
c:RegisterEffect(e4)
end
function c81066751.cfilter(c)
return c:IsFaceup() and c:IsCode(56433456)
end
function c81066751.condition(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsEnvironment(56433456) then return false end
if not Duel.IsExistingMatchingCard(c81066751.cfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) then return false end
if not Duel.IsChainNegatable(ev) then return false end
return re:IsActiveType(TYPE_MONSTER) or re:IsHasType(EFFECT_TYPE_ACTIVATE)
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