Skip to content

Commit 6ec56ea

Browse files
committed
"Wedju Temple" fix
Fixed a bug where it would be possible to apply the effect of "Wedju Temple" when it was included in the group oc cards that would be destroyed
1 parent c18e055 commit 6ec56ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

official/c63017368.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function s.initial_effect(c)
1717
e2:SetTarget(s.pltg)
1818
e2:SetOperation(s.plop)
1919
c:RegisterEffect(e2)
20-
--Destruction replacement for "Millennium" monsters
20+
--Place "Millennium" monsters that are destroyed in the S/T zone instead of sending them to the GY
2121
local e3=Effect.CreateEffect(c)
2222
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
2323
e3:SetCode(EFFECT_DESTROY_REPLACE)
@@ -70,7 +70,7 @@ end
7070
function s.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
7171
local g=eg:Filter(s.repfilter,nil,tp)
7272
local ft=Duel.GetLocationCount(tp,LOCATION_SZONE)
73-
if chk==0 then return ft>0 and #g>0 end
73+
if chk==0 then return ft>0 and #g>0 and not e:GetHandler():IsStatus(STATUS_DESTROY_CONFIRMED) end
7474
if Duel.SelectEffectYesNo(tp,e:GetHandler(),96) then
7575
if #g>1 then
7676
ft=math.min(ft,#g)

0 commit comments

Comments
 (0)