Commit d9250801 authored by TanakaKotoha's avatar TanakaKotoha

lbwnb

parent ce8fe9a2
No preview for this file type
...@@ -86,14 +86,14 @@ function cm.rdcon(e) ...@@ -86,14 +86,14 @@ function cm.rdcon(e)
end end
function cm.val(e,re,dam,r,rp,rc) function cm.val(e,re,dam,r,rp,rc)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
local damg=dam-(500*Duel.GetMatchingGroupCount(cm.sfilter,tp,0,LOCATION_HAND,nil,e:GetLabelObject(),tp)) local damg=dam-(500*Duel.GetMatchingGroupCount(cm.sfilter1,tp,0,LOCATION_HAND,nil,e:GetLabelObject(),tp))
if damg<0 then damg=0 end if damg<0 then damg=0 end
return damg return damg
end end
function cm.thfilter1(e,c) function cm.thfilter1(e,c)
return c.setname=="Gmemories" return c.setname=="Gmemories"
end end
function cm.sfilter(c,tp) function cm.sfilter1(c,tp)
return c:IsPublic() and c:GetFlagEffect(m+1)>0 and c:GetOwner()==tp return c:IsPublic() and c:GetFlagEffect(m+1)>0 and c:GetOwner()==tp
end end
function cm.rdcon(e) function cm.rdcon(e)
......
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