Skip to content

Commit 39df200

Browse files
committed
"Borrelend Dragon" fix
Fixed a bug in which its effect that prevent it from being destroyed by card effects would apply while it was in the Spell/Trap Zone
1 parent 95112e0 commit 39df200

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

official/c98630720.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,29 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
c:EnableReviveLimit()
7+
--Link Summon procedure: 3+ Effect Monsters
78
Link.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsType,TYPE_EFFECT),3)
8-
--Cannot be targeted
9+
--Neither player can target this card with monster effects
910
local e1=Effect.CreateEffect(c)
1011
e1:SetType(EFFECT_TYPE_SINGLE)
1112
e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
1213
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
1314
e1:SetRange(LOCATION_MZONE)
14-
e1:SetValue(s.etg)
15+
e1:SetValue(function (e,re,rp) return re:IsMonsterEffect() end)
1516
c:RegisterEffect(e1)
16-
--Cannot be destroyed
17+
--Cannot be destroyed by battle
1718
local e2=Effect.CreateEffect(c)
1819
e2:SetType(EFFECT_TYPE_SINGLE)
20+
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
1921
e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
2022
e2:SetRange(LOCATION_MZONE)
2123
e2:SetValue(1)
2224
c:RegisterEffect(e2)
25+
--Cannot be destroyed by card effects
2326
local e3=e2:Clone()
2427
e3:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
2528
c:RegisterEffect(e3)
26-
--Attack all monsters
29+
--This card can attack all monsters your opponent controls
2730
local e4=Effect.CreateEffect(c)
2831
e4:SetType(EFFECT_TYPE_SINGLE)
2932
e4:SetCode(EFFECT_ATTACK_ALL)
@@ -44,9 +47,6 @@ function s.initial_effect(c)
4447
c:RegisterEffect(e5)
4548
end
4649
s.listed_series={SET_ROKKET}
47-
function s.etg(e,re,rp)
48-
return re:IsMonsterEffect()
49-
end
5050
function s.disfilter(c)
5151
return c:IsFaceup() and not c:IsDisabled() and c:IsType(TYPE_EFFECT)
5252
end

0 commit comments

Comments
 (0)