Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
5
Merge Requests
5
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
MyCard
ygopro-scripts-888
Commits
8d1060ff
Commit
8d1060ff
authored
Apr 18, 2024
by
八宫一月
Committed by
GitHub
Apr 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix タキオン・トランスミグレイション (#2488)
parent
fff0104e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
c8038143.lua
c8038143.lua
+3
-4
No files found.
c8038143.lua
View file @
8d1060ff
...
@@ -38,7 +38,7 @@ function c8038143.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -38,7 +38,7 @@ function c8038143.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
ng
:
AddCard
(
tc
)
ng
:
AddCard
(
tc
)
if
tc
:
IsOnField
()
and
tc
:
IsRelateToEffect
(
te
)
and
tc
:
IsAbleToDeck
()
then
if
tc
:
IsOnField
()
and
tc
:
IsRelateToEffect
(
te
)
then
dg
:
AddCard
(
tc
)
dg
:
AddCard
(
tc
)
end
end
end
end
...
@@ -53,13 +53,12 @@ function c8038143.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,13 +53,12 @@ function c8038143.activate(e,tp,eg,ep,ev,re,r,rp)
local
te
,
tgp
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
local
te
,
tgp
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
NegateActivation
(
i
)
then
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
NegateActivation
(
i
)
then
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
and
tc
:
IsAbleToDeck
()
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
then
tc
:
CancelToGrave
()
dg
:
AddCard
(
tc
)
dg
:
AddCard
(
tc
)
end
end
end
end
end
end
Duel
.
SendtoDeck
(
dg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
dg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
,
tp
,
true
)
end
end
function
c8038143
.
filter
(
c
)
function
c8038143
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x307b
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x307b
)
...
...
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