Commit 9a72c870 authored by wyykak's avatar wyykak

Merge branch 'patch-3' into 'master'

Update c74561071.lua

See merge request !28
parents 28f6256d c45e862d
Pipeline #15406 passed with stage
in 41 seconds
...@@ -34,7 +34,7 @@ function cCardno.efilter(e,te) ...@@ -34,7 +34,7 @@ function cCardno.efilter(e,te)
return te:GetHandler()~=e:GetHandler() return te:GetHandler()~=e:GetHandler()
end end
function cCardno.actfilter(c) function cCardno.actfilter(c)
return c:GetAttack() <= 0 return c:GetAttack() <= 0 and c:IsFaceup()
end end
function cCardno.activate(e,tp,eg,ep,ev,re,r,rp) function cCardno.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
...@@ -42,7 +42,7 @@ function cCardno.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,7 +42,7 @@ function cCardno.activate(e,tp,eg,ep,ev,re,r,rp)
local i=1 local i=1
while i <= num do while i <= num do
Duel.Damage(1-tp,300,REASON_EFFECT) 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() local tc=g:GetFirst()
while tc do while tc do
local e1=Effect.CreateEffect(c) 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