Skip to content

Commit a187abc

Browse files
authored
Update "The Dragon that Devours the Dogma"
Prevent script errors
1 parent 74c2ba9 commit a187abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

official/c76666602.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function s.initial_effect(c)
1212
e1a:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
1313
e1a:SetCode(EFFECT_UPDATE_ATTACK)
1414
e1a:SetRange(LOCATION_MZONE)
15-
e1a:SetCondition(function() return Duel.IsExistingMatchingCard(s.atkimmconfilter,0,LOCATION_MZONE|LOCATION_GRAVE,LOCATION_MZONE|LOCATION_GRAVE,1,nil) end)
15+
e1a:SetCondition(function(e) return Duel.IsExistingMatchingCard(s.atkimmconfilter,e:GetHandlerPlayer(),LOCATION_MZONE|LOCATION_GRAVE,LOCATION_MZONE|LOCATION_GRAVE,1,nil) end)
1616
e1a:SetValue(500)
1717
c:RegisterEffect(e1a)
1818
local e1b=e1a:Clone()

0 commit comments

Comments
 (0)