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
REIKAI
ygopro-222DIY-cards
Commits
c4b90a2b
Commit
c4b90a2b
authored
Feb 11, 2025
by
花桃白音
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #124s
parent
19f14918
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
15 deletions
+16
-15
expansions/pics/12400034.jpg
expansions/pics/12400034.jpg
+0
-0
expansions/script/c12400025.lua
expansions/script/c12400025.lua
+2
-1
expansions/script/c12400027.lua
expansions/script/c12400027.lua
+2
-2
expansions/script/c12400035.lua
expansions/script/c12400035.lua
+3
-3
expansions/script/c12400036.lua
expansions/script/c12400036.lua
+2
-2
expansions/script/c12400042.lua
expansions/script/c12400042.lua
+2
-2
expansions/script/c12400102.lua
expansions/script/c12400102.lua
+5
-5
No files found.
expansions/pics/12400034.jpg
0 → 100644
View file @
c4b90a2b
544 KB
expansions/script/c12400025.lua
View file @
c4b90a2b
...
...
@@ -14,6 +14,7 @@ function s.initial_effect(c)
e1
:
SetCountLimit
(
1
,
id
+
10000
)
e1
:
SetTarget
(
s
.
tg
)
e1
:
SetOperation
(
s
.
regop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
...
...
@@ -64,7 +65,7 @@ end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
if
tg
:
GetCount
()
>
0
and
Duel
.
Overlay
(
c
,
tg
)
~=
0
then
if
tg
:
GetCount
()
>
0
and
Duel
.
Overlay
(
c
,
tg
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
expansions/script/c12400027.lua
View file @
c4b90a2b
...
...
@@ -135,7 +135,7 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
tdfilter
(
c
)
return
c
:
IsSetCard
(
0x32a1
)
and
not
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x32a1
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
end
function
s
.
spcon3
(
e
,
c
)
...
...
@@ -144,7 +144,7 @@ function s.spcon3(e,c)
return
Duel
.
IsExistingMatchingCard
(
s
.
tdfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
function
s
.
spop3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
tdfilter
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
tdfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
c
:
SetMaterial
(
g
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
...
...
expansions/script/c12400035.lua
View file @
c4b90a2b
...
...
@@ -29,10 +29,10 @@ function s.initial_effect(c)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
id
)
e3
:
SetTarget
(
s
.
e
3
tg
)
e3
:
SetOperation
(
s
.
e
3
op
)
e3
:
SetTarget
(
s
.
e
1
tg
)
e3
:
SetOperation
(
s
.
e
1
op
)
c
:
RegisterEffect
(
e3
)
local
e
3
1
=
e3
:
Clone
()
local
e
1
1
=
e3
:
Clone
()
e11
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e11
)
end
...
...
expansions/script/c12400036.lua
View file @
c4b90a2b
...
...
@@ -32,8 +32,8 @@ function s.initial_effect(c)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
id
+
20000
)
e3
:
SetCondition
(
s
.
condition
)
e3
:
SetTarget
(
s
.
tg2
)
e3
:
SetOperation
(
s
.
op2
)
e3
:
SetTarget
(
s
.
sptg
)
e3
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
cfilter
(
c
)
...
...
expansions/script/c12400042.lua
View file @
c4b90a2b
...
...
@@ -61,10 +61,10 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e9
)
end
function
s
.
lcheck
(
g
)
return
g
:
IsExists
(
s
.
mfilter
,
1
,
nil
)
return
g
:
IsExists
(
s
.
mfilter
,
3
,
nil
)
end
function
s
.
mfilter
(
c
)
return
c
:
Is
Attribute
(
ATTRIBUTE_WATER
)
return
c
:
Is
Race
(
RACE_MACHINE
)
and
c
:
IsType
(
TYPE_LINK
)
end
--
function
s
.
efilter2
(
e
,
te
)
...
...
expansions/script/c12400102.lua
View file @
c4b90a2b
...
...
@@ -20,7 +20,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
s
.
con4
)
...
...
@@ -102,7 +102,7 @@ function s.operation1(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
end
end
end
if
e
:
GetLabel
()
==
2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
...
...
@@ -114,12 +114,12 @@ function s.operation1(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_TOGRAVE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_BATTLE_START
)
e3
:
SetCode
(
EVENT_BATTLE_START
)
e3
:
SetCondition
(
s
.
atkcon
)
e3
:
SetOperation
(
s
.
atkop
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e3
)
end
end
end
end
function
s
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -153,7 +153,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
end
--
function
s
.
con4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
():
Is
Type
(
TYPE_SPELL
)
and
rp
==
tp
return
re
:
IsActive
Type
(
TYPE_SPELL
)
and
rp
==
tp
end
function
s
.
op4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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