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
d9d525e2
Commit
d9d525e2
authored
Sep 16, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
4e0891c9
Pipeline
#29810
failed with stages
in 39 minutes and 49 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
38 deletions
+13
-38
expansions/script/c12835107.lua
expansions/script/c12835107.lua
+9
-18
expansions/script/c12835108.lua
expansions/script/c12835108.lua
+2
-10
expansions/script/c12835109.lua
expansions/script/c12835109.lua
+2
-10
No files found.
expansions/script/c12835107.lua
View file @
d9d525e2
...
...
@@ -145,14 +145,14 @@ function s.roll(min,max)
end
function
s
.
moveop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
movefilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
movefilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
GetFlagEffect
(
tp
,
12835100
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
RegisterFlagEffect
(
tp
,
12835100
,
0
,
0
,
1
)
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e
1
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e
1
:
SetOperation
(
function
(
e
,
tp
)
Duel
.
ResetFlagEffect
(
tp
,
12835100
)
e
:
Reset
()
end
)
Duel
.
RegisterEffect
(
e
1
,
tp
)
local
e
0
=
Effect
.
CreateEffect
(
c
)
e
0
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e
0
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e
0
:
SetOperation
(
function
(
e
,
tp
)
Duel
.
ResetFlagEffect
(
tp
,
12835100
)
e
:
Reset
()
end
)
Duel
.
RegisterEffect
(
e
0
,
tp
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
seq
=
tc
:
GetSequence
()
local
flag
=
0
...
...
@@ -169,20 +169,11 @@ function s.moveop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
)
e1
:
SetValue
(
s
.
efilter
)
tc
:
RegisterEffect
(
e1
,
true
)
local
re
=
Effect
.
CreateEffect
(
c
)
re
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
re
:
SetRange
(
LOCATION_MZONE
)
re
:
SetCode
(
EVENT_CHAIN_END
)
re
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
re
:
SetLabelObject
(
e1
)
re
:
SetOperation
(
function
(
e
)
e
:
GetLabelObject
():
Reset
()
e
:
Reset
()
end
)
tc
:
RegisterEffect
(
re
,
true
)
Duel
.
AdjustAll
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
expansions/script/c12835108.lua
View file @
d9d525e2
...
...
@@ -148,18 +148,10 @@ function s.moveop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
)
e1
:
SetValue
(
s
.
efilter
)
tc
:
RegisterEffect
(
e1
,
true
)
local
re
=
Effect
.
CreateEffect
(
c
)
re
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
re
:
SetRange
(
LOCATION_MZONE
)
re
:
SetCode
(
EVENT_CHAIN_END
)
re
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
re
:
SetLabelObject
(
e1
)
re
:
SetOperation
(
function
(
e
)
e
:
GetLabelObject
():
Reset
()
e
:
Reset
()
end
)
tc
:
RegisterEffect
(
re
,
true
)
Duel
.
AdjustAll
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
...
...
expansions/script/c12835109.lua
View file @
d9d525e2
...
...
@@ -148,18 +148,10 @@ function s.moveop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
)
e1
:
SetValue
(
s
.
efilter
)
tc
:
RegisterEffect
(
e1
,
true
)
local
re
=
Effect
.
CreateEffect
(
c
)
re
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
re
:
SetRange
(
LOCATION_MZONE
)
re
:
SetCode
(
EVENT_CHAIN_END
)
re
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
re
:
SetLabelObject
(
e1
)
re
:
SetOperation
(
function
(
e
)
e
:
GetLabelObject
():
Reset
()
e
:
Reset
()
end
)
tc
:
RegisterEffect
(
re
,
true
)
Duel
.
AdjustAll
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
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