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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
c487f3a5
Commit
c487f3a5
authored
Jun 20, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
c9c86592
Pipeline
#14003
passed with stage
in 9 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
expansions/script/c64800042.lua
expansions/script/c64800042.lua
+1
-1
expansions/script/c71400023.lua
expansions/script/c71400023.lua
+4
-5
No files found.
expansions/script/c64800042.lua
View file @
c487f3a5
...
@@ -41,7 +41,7 @@ function cm.chkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,7 @@ function cm.chkop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Debug
.
Message
(
e
:
GetLabelObject
():
GetLabel
())
--
Debug.Message(e:GetLabelObject():GetLabel())
local
ec
=
eg
:
GetFirst
()
local
ec
=
eg
:
GetFirst
()
return
e
:
GetLabelObject
():
GetLabel
()
==
1
and
(
ec
:
IsReason
(
REASON_BATTLE
)
or
(
rp
==
1
-
tp
and
ec
:
IsReason
(
REASON_EFFECT
)))
return
e
:
GetLabelObject
():
GetLabel
()
==
1
and
(
ec
:
IsReason
(
REASON_BATTLE
)
or
(
rp
==
1
-
tp
and
ec
:
IsReason
(
REASON_EFFECT
)))
end
end
...
...
expansions/script/c71400023.lua
View file @
c487f3a5
...
@@ -129,7 +129,7 @@ function c71400023.tg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -129,7 +129,7 @@ function c71400023.tg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g2
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g1
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g1
,
2
,
0
,
0
)
Duel
.
SetChainLimit
(
c71400023
.
limit
(
g1
)
)
Duel
.
SetChainLimit
(
c71400023
.
chlimit
)
end
end
function
c71400023
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71400023
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
...
@@ -138,8 +138,7 @@ function c71400023.op2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -138,8 +138,7 @@ function c71400023.op2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
end
end
function
c71400023
.
limit
(
g
)
function
c71400023
.
chlimit
(
e
,
ep
,
tp
)
return
function
(
e
,
lp
,
tp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
return
not
g
:
IsContains
(
e
:
GetHandler
())
return
tp
==
ep
or
not
g
:
IsContains
(
e
:
GetHandler
())
end
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