Skip to content

Commit 9953d83

Browse files
authored
"Chaos Distill" update
- Fixed a bug where it would not be able to banish monsters that had their summon negated or Xyz materials detached from monsters
1 parent c8ff611 commit 9953d83

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pre-release/c100443102.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ function s.initial_effect(c)
1111
--Any card sent to your GY is banished instead
1212
local e1=Effect.CreateEffect(c)
1313
e1:SetType(EFFECT_TYPE_FIELD)
14-
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_IGNORE_IMMUNE)
14+
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_IGNORE_IMMUNE+EFFECT_FLAG_IGNORE_RANGE)
1515
e1:SetCode(EFFECT_TO_GRAVE_REDIRECT)
1616
e1:SetRange(LOCATION_SZONE)
1717
e1:SetTargetRange(LOCATION_ALL,0)
1818
e1:SetValue(LOCATION_REMOVED)
19+
e1:SetTarget(function(e,c) return c:IsOwner(e:GetHandlerPlayer()) end)
1920
c:RegisterEffect(e1)
2021
--Activate 1 of these effects
2122
local e2=Effect.CreateEffect(c)
@@ -59,4 +60,4 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
5960
Duel.SendtoHand(g,nil,REASON_EFFECT)
6061
Duel.ConfirmCards(1-tp,g)
6162
end
62-
end
63+
end

0 commit comments

Comments
 (0)