Commit c45e862d authored by GuGu's avatar GuGu

Update c74561071.lua

parent 28f6256d
......@@ -34,7 +34,7 @@ function cCardno.efilter(e,te)
return te:GetHandler()~=e:GetHandler()
end
function cCardno.actfilter(c)
return c:GetAttack() <= 0
return c:GetAttack() <= 0 and c:IsFaceup()
end
function cCardno.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......@@ -42,7 +42,7 @@ function cCardno.activate(e,tp,eg,ep,ev,re,r,rp)
local i=1
while i <= num do
Duel.Damage(1-tp,300,REASON_EFFECT)
local g=Duel.GetFieldGroup(tp,0,LOCATION_MZONE)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)
local tc=g:GetFirst()
while tc do
local e1=Effect.CreateEffect(c)
......
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