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
36b87553
Commit
36b87553
authored
Nov 17, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
22ca0690
Pipeline
#6890
passed with stages
in 20 minutes and 38 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
expansions/script/c12086000.lua
expansions/script/c12086000.lua
+12
-3
expansions/script/c12086002.lua
expansions/script/c12086002.lua
+1
-1
expansions/script/c12086005.lua
expansions/script/c12086005.lua
+2
-2
No files found.
expansions/script/c12086000.lua
View file @
36b87553
...
...
@@ -97,9 +97,18 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
cm
.
h
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
ALSTYE_fpl
then
if
ALSTYE_fpl
==
0
then
ALSTYE_fpl
=
1
end
if
ALSTYE_fpl
==
1
then
ALSTYE_fpl
=
0
end
if
ALSTYE_fpl
==
0
then
ALSTYE_fpl
=
1
elseif
ALSTYE_fpl
==
1
then
ALSTYE_fpl
=
0
end
local
res1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
res1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
res1
:
SetCode
(
EVENT_PHASE_START
+
PHASE_DRAW
)
res1
:
SetOperation
(
cm
.
reset
)
Duel
.
RegisterEffect
(
res1
,
0
)
end
end
function
cm
.
reset
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
ALSTYE_fpl
=
0
end
\ No newline at end of file
expansions/script/c12086002.lua
View file @
36b87553
...
...
@@ -74,7 +74,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
local
tt
=
Duel
.
GetOperatedGroup
():
GetCount
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISABLE
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NegateAnyFilterr
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
tt
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NegateAnyFilterr
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
tt
,
nil
)
local
tc
=
tg
:
GetFirst
()
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c12086005.lua
View file @
36b87553
...
...
@@ -132,14 +132,14 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_RULE
)
end
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
Duel
.
SendtoGrave
(
sg
,
POS_FACEUP
,
REASON_RULE
)
end
end
end
...
...
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