Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ai
ygopro-222DIY-cards
Commits
194f22aa
Commit
194f22aa
authored
Jan 29, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d73493a6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
expansions/script/c33700784.lua
expansions/script/c33700784.lua
+5
-3
expansions/script/c33700785.lua
expansions/script/c33700785.lua
+5
-3
No files found.
expansions/script/c33700784.lua
View file @
194f22aa
...
...
@@ -114,7 +114,7 @@ if cm then
function
cm
.
initial_effect
(
c
)
--link summon
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
cm
.
lfilter
,
2
,
2
)
aux
.
AddLinkProcedure
(
c
,
cm
.
lfilter
(
c
:
GetControler
())
,
2
,
2
)
--extra link
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -167,8 +167,10 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SSet
(
tp
,
tc
)
end
end
function
cm
.
lfilter
(
c
)
return
c
:
IsLinkRace
(
RACE_CYBERSE
+
RACE_MACHINE
)
or
c
:
IsType
(
TYPE_TRAP
)
function
cm
.
lfilter
(
tp
)
return
function
(
c
)
return
c
:
IsLinkRace
(
RACE_CYBERSE
+
RACE_MACHINE
)
or
(
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsControler
(
tp
))
end
end
function
cm
.
matval
(
e
,
c
,
mg
)
return
c
:
IsCode
(
m
)
...
...
expansions/script/c33700785.lua
View file @
194f22aa
...
...
@@ -4,7 +4,7 @@ local m=33700785
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
cm
.
lfilter
,
2
,
2
)
aux
.
AddLinkProcedure
(
c
,
cm
.
lfilter
(
c
:
GetControler
())
,
2
,
2
)
c
:
EnableReviveLimit
()
--extra link
local
e0
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -58,8 +58,10 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SSet
(
tp
,
tc
)
end
end
function
cm
.
lfilter
(
c
)
return
c
:
IsLinkRace
(
RACE_CYBERSE
+
RACE_MACHINE
)
or
c
:
IsType
(
TYPE_SPELL
)
function
cm
.
lfilter
(
tp
)
return
function
(
c
)
return
c
:
IsLinkRace
(
RACE_CYBERSE
+
RACE_MACHINE
)
or
(
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsControler
(
tp
))
end
end
function
cm
.
matval
(
e
,
c
,
mg
,
mc
)
if
c
~=
e
:
GetHandler
()
then
return
false
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment