Commit c159452a authored by Amiya's avatar Amiya

修复修复

parent f625ced6
...@@ -49,7 +49,7 @@ function s.cfilter(c) ...@@ -49,7 +49,7 @@ function s.cfilter(c)
return c:IsFaceup() and c:IsLink(1) return c:IsFaceup() and c:IsLink(1)
end end
function s.spcon(e,tp,eg,ep,ev,re,r,rp) function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_GRAVE,0,1,nil) return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function s.spfilter(c,e,tp) function s.spfilter(c,e,tp)
return c:IsSetCard(0x2c8) and c:IsLevel(1) return c:IsSetCard(0x2c8) and c:IsLevel(1)
......
...@@ -47,7 +47,7 @@ end ...@@ -47,7 +47,7 @@ end
function s.val(e,c) function s.val(e,c)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
local g=Duel.GetMatchingGroup(s.atkfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(s.atkfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil)
return g:GetClassCount(Card.GetRace)*(-200) return g:GetCount()*(-200)
end end
function s.cfilter(c) function s.cfilter(c)
return c:IsFaceup() and c:IsRace(RACE_BEAST) and c:IsAttribute(ATTRIBUTE_LIGHT) return c:IsFaceup() and c:IsRace(RACE_BEAST) and c:IsAttribute(ATTRIBUTE_LIGHT)
......
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