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
Soulgamer
ygopro-222DIY-cards
Commits
ace7655e
Commit
ace7655e
authored
Nov 20, 2022
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 11.20
parent
c0e9a94f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16101032.lua
expansions/script/c16101032.lua
+5
-1
No files found.
expansions/222DIY.cdb
View file @
ace7655e
No preview for this file type
expansions/script/c16101032.lua
View file @
ace7655e
...
...
@@ -22,10 +22,13 @@ end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
local
code
=
re
:
GetHandler
():
GetOriginalCode
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsOriginalCodeRule
,
tp
,
LOCATION_DECK
,
0
,
nil
,
code
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsOriginalCodeRule
,
tp
,
0xff
,
0
,
nil
,
code
)
Debug
.
Message
(
tc
:
GetSequence
())
local
op
=
re
:
GetOperation
()
for
tc
in
aux
.
Next
(
g
)
do
local
pro1
,
pro2
=
re
:
GetProperty
()
local
e1
=
re
:
Clone
()
e1
:
SetProperty
(
pro1
|
EFFECT_FLAG_SET_AVAILABLE
,
pro2
)
e1
:
SetCountLimit
(
1
,
code
+
321
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetOperation
(
function
(
ce
,
ctp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
)
op
(
ce
,
ctp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
)
...
...
@@ -33,5 +36,6 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
)
tc
:
RegisterEffect
(
e1
)
end
Duel
.
AdjustAll
()
end
end
\ No newline at end of file
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