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
a7a5a024
Commit
a7a5a024
authored
Aug 13, 2023
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c101202017.lua
parent
0d4a066b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
expansions/script/c101202017.lua
expansions/script/c101202017.lua
+3
-2
No files found.
expansions/script/c101202017.lua
View file @
a7a5a024
...
...
@@ -87,9 +87,10 @@ function s.tfop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetCurrentChain
()
if
ct
<
2
then
return
end
if
ct
<
2
then
return
false
end
local
te
,
p
=
Duel
.
GetChainInfo
(
ct
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
local
loc1
=
te
and
te
:
GetHandler
():
IsSetCard
(
0x17e
)
if
not
te
then
return
false
end
local
loc1
=
te
:
GetHandler
():
IsSetCard
(
0x17e
)
and
not
te
:
GetHandler
():
IsCode
(
id
)
local
loc2
=
te
:
GetActiveType
()
==
TYPE_TRAP
and
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
(
loc1
or
loc2
)
and
p
==
tp
and
rp
==
1
-
tp
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