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
a66300c5
Commit
a66300c5
authored
Nov 02, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
54188
parent
e6b5fa5b
Pipeline
#30895
failed with stages
in 14 minutes and 48 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
43 additions
and
35 deletions
+43
-35
expansions/script/c9390007.lua
expansions/script/c9390007.lua
+6
-5
expansions/script/c9390008.lua
expansions/script/c9390008.lua
+6
-5
expansions/script/c9390013.lua
expansions/script/c9390013.lua
+6
-5
expansions/script/c9390014.lua
expansions/script/c9390014.lua
+6
-5
expansions/script/c9390017.lua
expansions/script/c9390017.lua
+6
-5
expansions/script/c9390018.lua
expansions/script/c9390018.lua
+6
-5
expansions/script/c9390020.lua
expansions/script/c9390020.lua
+1
-0
expansions/script/c9390023.lua
expansions/script/c9390023.lua
+6
-5
No files found.
expansions/script/c9390007.lua
View file @
a66300c5
...
...
@@ -46,12 +46,13 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
atk
*
2
)
tc
:
RegisterEffect
(
e1
)
Duel
.
BreakEffect
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
2400
,
1200
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
2400
,
1200
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsFaceup
()
...
...
expansions/script/c9390008.lua
View file @
a66300c5
...
...
@@ -46,12 +46,13 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
cm
.
efilter
)
e1
:
SetOwnerPlayer
(
tp
)
tc
:
RegisterEffect
(
e1
)
Duel
.
BreakEffect
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
1300
,
2400
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
1300
,
2400
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
cm
.
efilter
(
e
,
re
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
...
...
expansions/script/c9390013.lua
View file @
a66300c5
...
...
@@ -42,12 +42,13 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
sg
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
1400
,
2100
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
1400
,
2100
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
cm
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
(
c
:
GetOriginalType
()
&
(
TYPE_TRAP
+
TYPE_CONTINUOUS
))
==
TYPE_TRAP
+
TYPE_CONTINUOUS
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsControler
(
tp
)
...
...
expansions/script/c9390014.lua
View file @
a66300c5
...
...
@@ -37,12 +37,13 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
200
,
2800
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
200
,
2800
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
cm
.
atktg
(
e
,
c
)
return
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_TRAP
)
~=
0
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
expansions/script/c9390017.lua
View file @
a66300c5
...
...
@@ -54,12 +54,13 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
b
=
g
:
GetNext
()
if
a
:
IsRelateToEffect
(
e
)
and
b
:
IsRelateToEffect
(
e
)
then
Duel
.
SwapControl
(
a
,
b
)
Duel
.
BreakEffect
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
2500
,
0
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
2500
,
0
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
cm
.
costfilter
(
c
)
return
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsType
(
TYPE_TRAP
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
(
c
:
IsFaceup
()
and
c
:
IsStatus
(
STATUS_EFFECT_ENABLED
)))
and
c
:
IsAbleToGraveAsCost
()
...
...
expansions/script/c9390018.lua
View file @
a66300c5
...
...
@@ -52,12 +52,13 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
Duel
.
BreakEffect
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
1500
,
1900
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
1500
,
1900
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsAbleToGraveAsCost
()
and
c
:
IsStatus
(
STATUS_EFFECT_ENABLED
)
...
...
expansions/script/c9390020.lua
View file @
a66300c5
...
...
@@ -46,6 +46,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
Duel
.
Draw
(
p
,
ct
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
2000
,
1600
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
...
...
expansions/script/c9390023.lua
View file @
a66300c5
...
...
@@ -44,12 +44,13 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
eg
:
Filter
(
cm
.
filter
,
nil
,
tp
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
>
0
then
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
2000
,
1200
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
2000
,
1200
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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