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
5aca5fe2
Commit
5aca5fe2
authored
Dec 13, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7
parent
7c0981d0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
26 deletions
+24
-26
expansions/script/c31710019.lua
expansions/script/c31710019.lua
+2
-2
expansions/script/c31710021.lua
expansions/script/c31710021.lua
+2
-5
expansions/script/c31710027.lua
expansions/script/c31710027.lua
+8
-10
expansions/script/c31710046.lua
expansions/script/c31710046.lua
+2
-3
expansions/script/c60000038.lua
expansions/script/c60000038.lua
+6
-2
expansions/script/c81902043.lua
expansions/script/c81902043.lua
+4
-4
No files found.
expansions/script/c31710019.lua
View file @
5aca5fe2
...
@@ -128,8 +128,8 @@ function s.mzfilter(c)
...
@@ -128,8 +128,8 @@ function s.mzfilter(c)
return
c
:
IsLinkSetCard
(
0x690
)
and
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsLinkSetCard
(
0x690
)
and
c
:
IsRace
(
RACE_MACHINE
)
end
end
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
RegisterFlagEffect
(
tp
,
10019
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
1
-
tp
,
10019
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
1
-
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
s
.
atkval
(
e
,
c
)
function
s
.
atkval
(
e
,
c
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
...
...
expansions/script/c31710021.lua
View file @
5aca5fe2
...
@@ -18,7 +18,7 @@ function s.initial_effect(c)
...
@@ -18,7 +18,7 @@ function s.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
--e4:SetDescription(aux.Stringid(44146295,1))
--e4:SetDescription(aux.Stringid(44146295,1))
e4
:
SetCategory
(
CATEGORY_
DESTROY
)
e4
:
SetCategory
(
CATEGORY_
TOHAND
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
@@ -27,10 +27,7 @@ function s.initial_effect(c)
...
@@ -27,10 +27,7 @@ function s.initial_effect(c)
e4
:
SetTarget
(
s
.
destg
)
e4
:
SetTarget
(
s
.
destg
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
nil
)
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
...
...
expansions/script/c31710027.lua
View file @
5aca5fe2
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
e0
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e0
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e0
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e0
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e0
:
SetCountLimit
(
1
,
id
+
10000
)
e0
:
SetCountLimit
(
1
,
id
+
10000
)
--
e0:SetTarget(s.sumtg)
e0
:
SetTarget
(
s
.
sumtg
)
e0
:
SetOperation
(
s
.
sumop
)
e0
:
SetOperation
(
s
.
sumop
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
local
e2
=
e0
:
Clone
()
local
e2
=
e0
:
Clone
()
...
@@ -73,14 +73,12 @@ end
...
@@ -73,14 +73,12 @@ end
function
s
.
filter
(
c
,
e
,
tp
)
function
s
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
c
:
IsSetCard
(
0x690
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
c
:
IsSetCard
(
0x690
)
end
end
function
s
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
function
s
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
...
@@ -102,7 +100,7 @@ function s.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -102,7 +100,7 @@ function s.spcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
ssCheck
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
ssCheck
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0x690
,
TYPE_MONSTER
+
TYPE_EFFECT
,
1
000
,
1000
,
3
,
RACE_WARRIOR
,
ATTRIBUTE_FIRE
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0x690
,
TYPE_MONSTER
+
TYPE_EFFECT
,
1
200
,
1200
,
4
,
RACE_WARRIOR
,
ATTRIBUTE_FIRE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
tp
,
LOCATION_SZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
tp
,
LOCATION_SZONE
)
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c31710046.lua
View file @
5aca5fe2
--暴风雨 99a
--暴风雨 99a
local
s
,
id
=
GetID
()
local
s
,
id
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkType
,
TYPE_MONSTER
),
2
,
99
,
s
.
lcheck
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkType
,
TYPE_MONSTER
),
2
,
99
,
s
.
lcheck
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -128,8 +127,8 @@ function s.mzfilter(c)
...
@@ -128,8 +127,8 @@ function s.mzfilter(c)
return
c
:
IsLinkSetCard
(
0x690
)
and
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsLinkSetCard
(
0x690
)
and
c
:
IsRace
(
RACE_MACHINE
)
end
end
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
RegisterFlagEffect
(
tp
,
10019
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
1
-
tp
,
10019
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
1
-
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
s
.
atkval
(
e
,
c
)
function
s
.
atkval
(
e
,
c
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
...
...
expansions/script/c60000038.lua
View file @
5aca5fe2
...
@@ -57,7 +57,9 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,9 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetFlagEffect
(
tp
,
m
+
20000000
)
~=
0
then
if
Duel
.
GetFlagEffect
(
tp
,
m
+
20000000
)
~=
0
then
b2
=
false
b2
=
false
local
g
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
1
)
local
g
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
1
)
if
#
g
==
1
then
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
if
#
g
==
1
then
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
if
Duel
.
GetFlagEffect
(
tp
,
m
+
30000000
)
~=
0
then
if
Duel
.
GetFlagEffect
(
tp
,
m
+
30000000
)
~=
0
then
b3
=
false
b3
=
false
...
@@ -100,7 +102,9 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -100,7 +102,9 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetFlagEffect
(
tp
,
m
+
20000000
)
~=
0
then
if
Duel
.
GetFlagEffect
(
tp
,
m
+
20000000
)
~=
0
then
--b2=false
--b2=false
local
g
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
1
)
local
g
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
1
)
if
#
g
==
1
then
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
if
#
g
==
1
then
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
if
Duel
.
GetFlagEffect
(
tp
,
m
+
30000000
)
~=
0
then
if
Duel
.
GetFlagEffect
(
tp
,
m
+
30000000
)
~=
0
then
--b3=false
--b3=false
...
...
expansions/script/c81902043.lua
View file @
5aca5fe2
...
@@ -14,7 +14,7 @@ function cm.initial_effect(c)
...
@@ -14,7 +14,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
--
e1:SetProperty(EFFECT_FLAG_DELAY)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetTarget
(
cm
.
sptg
)
e1
:
SetTarget
(
cm
.
sptg
)
...
@@ -37,7 +37,7 @@ function cm.initial_effect(c)
...
@@ -37,7 +37,7 @@ function cm.initial_effect(c)
end
end
--xyzsummon success
--xyzsummon success
function
cm
.
spfilter
(
c
,
e
,
tp
)
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
tp
,
LOCATION_MZONE
)
or
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
,
LOCATION_MZONE
))
and
c
:
IsType
(
TYPE_MONSTER
)
return
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
or
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
))
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
@@ -71,12 +71,12 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,12 +71,12 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_DISABLE
)
e3
:
SetCode
(
EFFECT_DISABLE
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e4
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e4
:
SetValue
(
RESET_TURN_SET
)
e4
:
SetValue
(
RESET_TURN_SET
)
...
...
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