Commit 351bbda6 authored by argon.sun's avatar argon.sun

fix

parent a654c75f
...@@ -17,10 +17,10 @@ function c12247206.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -17,10 +17,10 @@ function c12247206.condition(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()~=1 then return end if g:GetCount()~=1 then return end
local tc=g:GetFirst() local tc=g:GetFirst()
e:SetLabelObject(tc) e:SetLabelObject(tc)
return tc:GetAttack()<=1500 and Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) return tc:IsAttackBelow(1500) and Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil)
end end
function c12247206.filter(c,code,e,tp) function c12247206.filter(c,code,e,tp)
return c:GetCode()==code and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:GetCode()==code and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and not c:IsHasEffect(EFFECT_NECRO_VALLEY)
end end
function c12247206.target(e,tp,eg,ep,ev,re,r,rp,chk) function c12247206.target(e,tp,eg,ep,ev,re,r,rp,chk)
local tc=e:GetLabelObject() local tc=e:GetLabelObject()
......
...@@ -7,6 +7,7 @@ function c76763417.initial_effect(c) ...@@ -7,6 +7,7 @@ function c76763417.initial_effect(c)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c76763417.descost) e1:SetCost(c76763417.descost)
e1:SetTarget(c76763417.destg) e1:SetTarget(c76763417.destg)
e1:SetOperation(c76763417.desop) e1:SetOperation(c76763417.desop)
......
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