Skip to content

Commit 2194947

Browse files
authored
Update "Reaper of the Cards (Anime)"
- Should only be able to apply effect to face-down cards in the Spell/Trap Zones
1 parent 02b94c2 commit 2194947

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

unofficial/c511002504.lua

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
--カードを狩る死神
1+
--カードを狩る死神 (Anime)
2+
--Reaper of the Cards (Anime)
23
local s,id=GetID()
34
function s.initial_effect(c)
4-
--
5+
--'Attack' face-down Spell/Trap Cards
56
local e1=Effect.CreateEffect(c)
67
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
78
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
@@ -10,7 +11,7 @@ function s.initial_effect(c)
1011
c:RegisterEffect(e1)
1112
end
1213
function s.atkop(e,tp,eg,ep,ev,re,r,rp)
13-
local g=Duel.GetMatchingGroup(nil,tp,LOCATION_SZONE,LOCATION_SZONE,nil)
14+
local g=Duel.GetMatchingGroup(Card.IsFacedown,tp,LOCATION_SZONE,LOCATION_SZONE,nil)
1415
if Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 and #g>0 and Duel.SelectEffectYesNo(tp,e:GetHandler()) then
1516
Duel.Hint(HINT_CARD,0,id)
1617
local sc=g:Select(tp,1,1,nil):GetFirst()
@@ -21,4 +22,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
2122
end
2223
Duel.ChangeAttackTarget(sc)
2324
end
24-
end
25+
end

0 commit comments

Comments
 (0)