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
3a8f1c66
Commit
3a8f1c66
authored
Mar 31, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
8da46bfd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
expansions/script/c71400018.lua
expansions/script/c71400018.lua
+4
-5
expansions/script/c75642000.lua
expansions/script/c75642000.lua
+6
-4
expansions/script/c92369021.lua
expansions/script/c92369021.lua
+1
-1
No files found.
expansions/script/c71400018.lua
View file @
3a8f1c66
...
...
@@ -30,7 +30,7 @@ function c71400018.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g1
,
2
,
0
,
0
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
Duel
.
SetChainLimit
(
c71400018
.
limit
(
g1
)
)
Duel
.
SetChainLimit
(
c71400018
.
limit
)
end
end
function
c71400018
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -47,8 +47,7 @@ function c71400018.operation(e,tp,eg,ep,ev,re,r,rp)
end
--]]
end
function
c71400018
.
limit
(
g
)
return
function
(
e
,
lp
,
tp
)
return
not
g
:
IsContains
(
e
:
GetHandler
())
end
function
c71400018
.
limit
(
e
,
ep
,
tp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
return
not
g
:
IsContains
(
e
:
GetHandler
())
end
\ No newline at end of file
expansions/script/c75642000.lua
View file @
3a8f1c66
...
...
@@ -95,10 +95,12 @@ end
function
cm
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
tg
=
g
:
GetMaxGroup
(
Card
.
GetAttack
)
if
#
tg
>
0
then
local
atk
=
tg
:
GetFirst
():
GetBaseAttack
()
else
local
atk
=
0
end
if
#
g
>
0
then
local
tg
=
g
:
GetMaxGroup
(
Card
.
GetAttack
)
if
#
tg
>
0
then
local
atk
=
tg
:
GetFirst
():
GetBaseAttack
()
else
local
atk
=
0
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
tg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
atk
/
2
)
end
...
...
expansions/script/c92369021.lua
View file @
3a8f1c66
...
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
return
ep
~=
tp
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
)
>
0
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
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