Skip to content

Commit 2f033ce

Browse files
authored
Update "Prometheus, King of the Shadows"
Prevent script error.
1 parent a7816d1 commit 2f033ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

official/c82213171.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
2525
local c=e:GetHandler()
2626
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
2727
local g=Duel.SelectMatchingCard(tp,s.rmfilter,tp,LOCATION_MZONE|LOCATION_GRAVE,0,1,max_ct,nil)
28-
local ct=Duel.Remove(cg,POS_FACEUP,REASON_EFFECT)
28+
local ct=Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
2929
if ct>0 and c:IsFaceup() and c:IsRelateToEffect(e) then
3030
--This card gains 400 ATK for each, until the end of this turn
3131
local e1=Effect.CreateEffect(c)
@@ -35,4 +35,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
3535
e1:SetReset(RESETS_STANDARD_DISABLE_PHASE_END)
3636
c:RegisterEffect(e1)
3737
end
38-
end
38+
end

0 commit comments

Comments
 (0)