Skip to content

Commit 3347a5f

Browse files
authored
"Archfiend Matador" fix
Fixed a bug where the first effect could be used more than once per turn.
1 parent d6657a2 commit 3347a5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pre-release/c100443104.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ function s.initial_effect(c)
1111
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
1212
e1:SetProperty(EFFECT_FLAG_DELAY)
1313
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
14+
e1:SetCountLimit(1,id)
1415
e1:SetCondition(function(e) return e:GetHandler():IsRitualSummoned() end)
1516
e1:SetTarget(s.thtg)
1617
e1:SetOperation(s.thop)
@@ -72,4 +73,4 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
7273
if bc and bc:IsRelateToBattle() and Duel.Destroy(bc,REASON_EFFECT)>0 then
7374
Duel.Damage(1-tp,1000,REASON_EFFECT)
7475
end
75-
end
76+
end

0 commit comments

Comments
 (0)