Commit e8f49482 authored by POLYMER's avatar POLYMER

fix

parent badb4f5a
......@@ -112,7 +112,7 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.atkfilter(c)
return cc:IsRace(RACE_INSECT) and c:IsAttribute(ATTRIBUTE_LIGHT)
return c:IsRace(RACE_INSECT) and c:IsAttribute(ATTRIBUTE_LIGHT)
end
function s.atkval(e,c)
local ct=Duel.GetMatchingGroupCount(s.atkfilter,tp,LOCATION_GRAVE,0,nil)
......
......@@ -233,7 +233,7 @@ function UnofficialProc.statsChanged()
end
local lvg=Duel.GetMatchingGroup(lvcfilter,tp,0x7f,0x7f,nil)
if #lvg>0 then
for lvc in lvaux.Next(g) do
for lvc in aux.Next(g) do
local prevlv=lvc:GetFlagEffectLabel(585)
lvc:ResetFlagEffect(584)
lvc:ResetFlagEffect(585)
......
......@@ -233,7 +233,7 @@ function UnofficialProc.statsChanged()
end
local lvg=Duel.GetMatchingGroup(lvcfilter,tp,0x7f,0x7f,nil)
if #lvg>0 then
for lvc in lvaux.Next(g) do
for lvc in aux.Next(g) do
local prevlv=lvc:GetFlagEffectLabel(585)
lvc:ResetFlagEffect(584)
lvc:ResetFlagEffect(585)
......
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