Skip to content

Commit ebbbb01

Browse files
authored
Fix "Tragedy (Anime)"
Prevent script error.
1 parent c20de85 commit ebbbb01

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

unofficial/c511008009.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
--断頭台の惨劇 (Anime)
12
--Tragedy (Anime)
23
local s,id=GetID()
34
function s.initial_effect(c)
@@ -12,7 +13,7 @@ function s.initial_effect(c)
1213
end
1314
function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
1415
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_MZONE,1,nil) end
15-
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
16+
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
1617
end
1718
function s.activate(e,tp,eg,ep,ev,re,r,rp)
1819
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
@@ -21,4 +22,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
2122
Duel.HintSelection(g)
2223
Duel.Destroy(g,REASON_EFFECT)
2324
end
24-
end
25+
end

0 commit comments

Comments
 (0)