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
Soulgamer
ygopro-222DIY-cards
Commits
963f0fa6
Commit
963f0fa6
authored
Oct 30, 2023
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix trans
parent
8fa727d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
expansions/script/c77765002.lua
expansions/script/c77765002.lua
+2
-2
expansions/script/c77765004.lua
expansions/script/c77765004.lua
+1
-1
expansions/script/c77765007.lua
expansions/script/c77765007.lua
+2
-1
No files found.
expansions/script/c77765002.lua
View file @
963f0fa6
...
@@ -71,7 +71,7 @@ function c77765002.initial_effect(c)
...
@@ -71,7 +71,7 @@ function c77765002.initial_effect(c)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
e
:
GetLabelObject
():
GetLabelObject
()
local
g
=
e
:
GetLabelObject
():
GetLabelObject
()
local
tg
=
g
:
Filter
(
function
(
c
)
local
tg
=
g
:
Filter
(
function
(
c
)
return
Senya
.
IsDFCTransformable
(
c
)
and
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
end
,
nil
)
end
,
nil
)
if
chk
==
0
then
return
#
tg
>
0
end
if
chk
==
0
then
return
#
tg
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
tg
,
#
tg
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
tg
,
#
tg
,
0
,
0
)
...
@@ -80,7 +80,7 @@ function c77765002.initial_effect(c)
...
@@ -80,7 +80,7 @@ function c77765002.initial_effect(c)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
e
:
GetLabelObject
():
GetLabelObject
()
local
g
=
e
:
GetLabelObject
():
GetLabelObject
()
local
tg
=
g
:
Filter
(
function
(
c
)
local
tg
=
g
:
Filter
(
function
(
c
)
return
Senya
.
IsDFCTransformable
(
c
)
and
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
end
,
nil
)
end
,
nil
)
for
cc
in
aux
.
Next
(
tg
)
do
for
cc
in
aux
.
Next
(
tg
)
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
...
...
expansions/script/c77765004.lua
View file @
963f0fa6
...
@@ -81,7 +81,7 @@ function cm.initial_effect(c)
...
@@ -81,7 +81,7 @@ function cm.initial_effect(c)
end
end
end
end
local
function
DifficultyFilter
(
c
,
e
,
tp
)
local
function
DifficultyFilter
(
c
,
e
,
tp
)
return
Kaguya
.
IsDifficulty
(
c
)
and
Senya
.
IsDFCTransformable
(
c
)
and
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
return
Kaguya
.
IsDifficulty
(
c
)
and
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c77765007.lua
View file @
963f0fa6
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
end
end
end
end
local
function
DifficultyFilter
(
c
,
e
,
tp
)
local
function
DifficultyFilter
(
c
,
e
,
tp
)
return
Kaguya
.
IsDifficulty
(
c
)
and
c
:
IsFaceup
()
and
Senya
.
IsDFCTransformable
(
c
)
and
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
return
Kaguya
.
IsDifficulty
(
c
)
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
end
end
local
target_list
=
{
local
target_list
=
{
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -98,6 +98,7 @@ function cm.initial_effect(c)
...
@@ -98,6 +98,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
Kaguya
.
IsDifficulty
(
c
)
and
c
:
IsFaceup
()
return
Kaguya
.
IsDifficulty
(
c
)
and
c
:
IsFaceup
()
...
...
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