Skip to content

Commit 5453ef0

Browse files
authored
"Zilofthonia Gorgon" fix
Fixed an issue with effects that swap control of 2 or more monsters and her condition that prevents you from summoning monsters to a zone(s) she points to.
1 parent bb18f1d commit 5453ef0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pre-release/c101301050.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function s.initial_effect(c)
1313
e0:SetCode(EFFECT_FORCE_MZONE)
1414
e0:SetRange(LOCATION_MZONE)
1515
e0:SetTargetRange(1,0)
16-
e0:SetValue(function(e,fp,rp,r) return r==LOCATION_REASON_CONTROL and ~(ZONES_MMZ|ZONES_EMZ) or ~e:GetHandler():GetLinkedZone() end)
16+
e0:SetValue(function(e,fp,rp,r) return r==LOCATION_REASON_CONTROL and (ZONES_MMZ|ZONES_EMZ)|~(ZONES_MMZ|ZONES_EMZ) or ~e:GetHandler():GetLinkedZone() end)
1717
c:RegisterEffect(e0)
1818
--Monsters this card points to cannot attack, also their activated effects are negated
1919
local e1=Effect.CreateEffect(c)
@@ -56,4 +56,4 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp)
5656
local c=e:GetHandler()
5757
local rc=re:GetHandler()
5858
return re:IsMonsterEffect() and rc:IsRelateToEffect(re) and c:GetLinkedGroup():IsContains(rc) and not c:IsStatus(STATUS_BATTLE_DESTROYED)
59-
end
59+
end

0 commit comments

Comments
 (0)