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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
a83ecc8d
Commit
a83ecc8d
authored
Aug 10, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
b9e71bea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
expansions/script/c16101151.lua
expansions/script/c16101151.lua
+3
-8
expansions/script/c22100113.lua
expansions/script/c22100113.lua
+11
-4
No files found.
expansions/script/c16101151.lua
View file @
a83ecc8d
...
...
@@ -16,17 +16,12 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EVENT_ADJUST
)
e2
:
SetRange
(
0x7f
)
e2
:
SetCondition
(
cm
.
con1
)
e2
:
SetOperation
(
cm
.
op1
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
filter1
(
c
)
return
c
:
IsType
(
TYPE_FUSION
)
end
function
cm
.
con1
(
e
,
tp
)
local
sg
=
Duel
.
GetMatchingGroup
(
cm
.
filter1
,
tp
,
0x7f
,
0x7f
,
nil
)
return
sg
:
GetCount
()
==
0
end
function
cm
.
op1
(
e
,
tp
)
aux
.
AddFusionProcCode2
=
_tmp
aux
.
AddFusionProcCode2FunRep
=
_tmp_1
...
...
@@ -79,7 +74,7 @@ function aux.AddFusionProcCode2FunRep(c,code1,code2,f,min,max,sub,insf)
_G
[
"c"
..
code
].
__index
=
_G
[
"c"
..
code
]
end
local
ccodem
=
_G
[
"c"
..
code
]
ccodem
.
fst
=
min
ccodem
.
fst
=
min
+
2
return
_tmp_1
(
c
,
code1
,
code2
,
f
,
min
,
max
,
sub
,
insf
)
end
function
aux
.
AddFusionProcCode3
(
c
,
code1
,
code2
,
code3
,
sub
,
insf
)
...
...
@@ -159,7 +154,7 @@ function aux.AddFusionProcFunFun(c,f1,f2,cc,sub,insf)
_G
[
"c"
..
code
].
__index
=
_G
[
"c"
..
code
]
end
local
ccodem
=
_G
[
"c"
..
code
]
ccodem
.
fst
=
cc
ccodem
.
fst
=
cc
+
1
return
_tmp_9
(
c
,
f1
,
f2
,
cc
,
sub
,
insf
)
end
function
aux
.
AddFusionProcFunFunRep
(
c
,
f1
,
f2
,
min
,
max
,
sub
,
insf
)
...
...
@@ -169,7 +164,7 @@ function aux.AddFusionProcFunFunRep(c,f1,f2,min,max,sub,insf)
_G
[
"c"
..
code
].
__index
=
_G
[
"c"
..
code
]
end
local
ccodem
=
_G
[
"c"
..
code
]
ccodem
.
fst
=
min
ccodem
.
fst
=
min
+
1
return
_tmp_0
(
c
,
f1
,
f2
,
min
,
max
,
sub
,
insf
)
end
function
aux
.
AddFusionProcFunRep2
(
c
,
f
,
min
,
max
,
insf
)
...
...
expansions/script/c22100113.lua
View file @
a83ecc8d
...
...
@@ -14,9 +14,13 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_RELEASE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
SetValue
(
cm
.
tg
)
e2
:
SetTargetRange
(
0
,
1
)
e2
:
SetValue
(
cm
.
tg
0
)
c
:
RegisterEffect
(
e2
)
local
e11
=
e2
:
Clone
()
e11
:
SetTargetRange
(
1
,
0
)
e11
:
SetValue
(
cm
.
tg1
)
c
:
RegisterEffect
(
e11
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
@@ -41,8 +45,11 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e4
)
--
end
function
cm
.
tg
(
e
,
c
,
tp
,
sumtp
)
return
c
:
IsSetCard
(
0x8fa
)
and
c
:
GetOwner
()
~=
tp
function
cm
.
tg0
(
e
,
c
,
tp
,
sumtp
)
return
c
:
IsSetCard
(
0x8fa
)
and
c
:
GetOwner
()
==
e
:
GetHandlerPlayer
()
end
function
cm
.
tg1
(
e
,
c
,
tp
,
sumtp
)
return
c
:
IsSetCard
(
0x8fa
)
and
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
end
function
cm
.
atkfilter
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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