Commit f4276f97 authored by POLYMER's avatar POLYMER

fix

parent b6eb285a
...@@ -9,7 +9,6 @@ function s.initial_effect(c) ...@@ -9,7 +9,6 @@ function s.initial_effect(c)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,id)
e1:SetCondition(s.discon) e1:SetCondition(s.discon)
e1:SetCost(s.discost) e1:SetCost(s.discost)
e1:SetTarget(s.distg) e1:SetTarget(s.distg)
...@@ -112,9 +111,9 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -112,9 +111,9 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.atkfilter(c) function s.atkfilter(c)
return c:IsRace(RACE_INSECT) and c:IsAttribute(ATTRIBUTE_LIGHT) return cc:IsRace(RACE_INSECT) and c:IsAttribute(ATTRIBUTE_LIGHT)
end end
function s.atkval(e,c) function s.atkval(e,c)
local ct=Duel.GetMatchingGroupCount(s.atkfilter,c:GetControler(),LOCATION_GRAVE,0,nil) local ct=Duel.GetMatchingGroupCount(s.atkfilter,tp,LOCATION_GRAVE,0,nil)
return ct*200 return ct*200
end end
\ No newline at end of file
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