Commit 9c4b9cd1 authored by HuangYuNan's avatar HuangYuNan

bugfix2

parent 622b6246
......@@ -12,11 +12,11 @@ function c9980512.initial_effect(c)
e1:SetOperation(c9980512.activate)
c:RegisterEffect(e1)
end
function c9980513.cfilter(c)
function c9980512.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0xcbcc)
end
function c9980512.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()~=PHASE_DAMAGE or not Duel.IsDamageCalculated() and Duel.IsExistingMatchingCard(c9980513.cfilter,tp,LOCATION_PZONE+LOCATION_MZONE,0,1,nil)
return Duel.GetCurrentPhase()~=PHASE_DAMAGE or not Duel.IsDamageCalculated() and Duel.IsExistingMatchingCard(c9980512.cfilter,tp,LOCATION_PZONE+LOCATION_MZONE,0,1,nil)
end
function c9980512.filter(c)
return c:IsFaceup() and c:IsSetCard(0x5bcc)
......
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