Commit 72a0338d authored by salix5's avatar salix5

Merge pull request #228 from nekrozar/patch-2

update Crystal Protector
parents 77198cbb c2375803
...@@ -23,14 +23,14 @@ function c87475570.initial_effect(c) ...@@ -23,14 +23,14 @@ function c87475570.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c87475570.tgtg(e,c) function c87475570.tgtg(e,c)
return c:IsSetCard(0x1034) or (c:IsLocation(LOCATION_MZONE) and (c:IsCode(79407975) or c:IsCode(79856792))) return c:IsSetCard(0x1034) or (c:IsLocation(LOCATION_MZONE) and c:IsSetCard(0x2034))
end end
function c87475570.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c87475570.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST) Duel.Release(e:GetHandler(),REASON_COST)
end end
function c87475570.filter(c) function c87475570.filter(c)
return (((c:IsSetCard(0x1034) or c:IsCode(79856792) or c:IsCode(79407975)) and c:IsType(TYPE_MONSTER)) return (((c:IsSetCard(0x1034) or c:IsSetCard(0x2034)) and c:IsType(TYPE_MONSTER))
or (c:IsSetCard(0x34) and c:IsType(TYPE_SPELL+TYPE_TRAP))) and c:IsAbleToHand() or (c:IsSetCard(0x34) and c:IsType(TYPE_SPELL+TYPE_TRAP))) and c:IsAbleToHand()
end end
function c87475570.target(e,tp,eg,ep,ev,re,r,rp,chk) function c87475570.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
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