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
d6a48acd
Commit
d6a48acd
authored
Sep 23, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
26106ae2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
expansions/script/c12024006.lua
expansions/script/c12024006.lua
+1
-0
expansions/script/c12069004.lua
expansions/script/c12069004.lua
+2
-2
No files found.
expansions/script/c12024006.lua
View file @
d6a48acd
...
...
@@ -38,6 +38,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetLP
(
tp
)
<
Duel
.
GetLP
(
1
-
tp
)
+
7000
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
chk
==
0
then
return
g
:
GetCount
()
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
g
:
GetCount
(),
0
,
0
)
...
...
expansions/script/c12069004.lua
View file @
d6a48acd
--贪欲之罪 阿库娅
local
m
=
12069004
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c120
00
000.lua"
)
Duel
.
LoadScript
(
"c120
69
000.lua"
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
12069000
)
...
...
@@ -22,7 +22,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
):
Filter
(
Card
.
IsType
,
nil
,
TYPE_PENDULUM
)
local
res
=
Duel
.
IsExistingMatchingCard
(
cm
.
pffilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
local
ce
=
Duel
.
Get
FusionMaterial
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
):
Filter
(
Card
.
IsType
,
nil
,
TYPE_PENDULUM
)
local
ce
=
Duel
.
Get
ChainMaterial
(
tp
)
if
ce
~=
nil
then
local
fgroup
=
ce
:
GetTarget
()
local
mg2
=
fgroup
(
ce
,
e
,
tp
)
...
...
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