Skip to content

Commit 6db66a4

Browse files
committed
fixed Tama Bond
1 parent 0c1ea62 commit 6db66a4

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

rush/c160021053.lua

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
--Treat Level 7 Earth Machines as different names
7-
local e0=Effect.CreateEffect(c)
8-
e0:SetType(EFFECT_TYPE_FIELD)
9-
e0:SetCode(EFFECT_ADD_CODE)
10-
e0:SetRange(LOCATION_HAND|LOCATION_SZONE)
11-
e0:SetTargetRange(LOCATION_MZONE,0)
12-
e0:SetTarget(function(_,c)return c:IsRace(RACE_MACHINE) and c:IsAttribute(ATTRIBUTE_EARTH) and c:IsLevel(7) end)
13-
e0:SetValue(CARD_BLUETOOTH_B_DRAGON)
14-
e0:SetOperation(s.chngcon)
15-
c:RegisterEffect(e0)
16-
local e1=e0:Clone()
17-
e1:SetValue(CARD_REDBOOT_B_DRAGON)
18-
c:RegisterEffect(e1)
7+
aux.GlobalCheck(s,function()
8+
local e0=Effect.CreateEffect(c)
9+
e0:SetType(EFFECT_TYPE_FIELD)
10+
e0:SetCode(EFFECT_ADD_CODE)
11+
e0:SetTargetRange(LOCATION_MZONE,0)
12+
e0:SetTarget(function(_,c)return c:IsRace(RACE_MACHINE) and c:IsAttribute(ATTRIBUTE_EARTH) and c:IsLevel(7) end)
13+
e0:SetValue(CARD_BLUETOOTH_B_DRAGON)
14+
e0:SetOperation(s.chngcon)
15+
Duel.RegisterEffect(e0,0)
16+
local e1=e0:Clone()
17+
e1:SetValue(CARD_REDBOOT_B_DRAGON)
18+
Duel.RegisterEffect(e1,0)
19+
end)
1920
--Activate
2021
local e2=Fusion.RegisterSummonEff(c,aux.FilterBoolFunction(s.fusfilter),Fusion.OnFieldMat(Card.IsFaceup),nil,nil,nil,s.stage2)
2122
e2:SetCondition(s.condition)

0 commit comments

Comments
 (0)