Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
fde96cfd
Commit
fde96cfd
authored
Jan 01, 2024
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 集いし光
parent
0aafe8ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
c69802283.lua
c69802283.lua
+16
-7
No files found.
c69802283.lua
View file @
fde96cfd
...
@@ -11,6 +11,7 @@ function s.initial_effect(c)
...
@@ -11,6 +11,7 @@ function s.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCost
(
s
.
descost
)
e2
:
SetCost
(
s
.
descost
)
e2
:
SetTarget
(
s
.
destg
)
e2
:
SetTarget
(
s
.
destg
)
...
@@ -38,13 +39,18 @@ function s.initial_effect(c)
...
@@ -38,13 +39,18 @@ function s.initial_effect(c)
end
end
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
(
c
:
IsSetCard
(
0xc2
)
or
c
:
IsLevel
(
7
,
8
)
and
c
:
IsRace
(
RACE_DRAGON
))
return
(
c
:
IsSetCard
(
0xc2
)
or
c
:
IsLevel
(
7
,
8
)
and
c
:
IsRace
(
RACE_DRAGON
))
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToRemoveAsCost
()
end
end
function
s
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemoveAsCost
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemoveAsCost
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Group
.
__add
(
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
),
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemoveAsCost
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
))
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemoveAsCost
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
Duel
.
Remove
(
g1
,
POS_FACEUP
,
REASON_COST
)
end
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
1
-
tp
)
end
...
@@ -60,13 +66,16 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,13 +66,16 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
filter
(
c
)
function
s
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsLevelAbove
(
7
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
LevelAbove
(
7
)
end
end
function
s
.
val
(
e
,
c
)
function
s
.
val
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
s
.
filter
,
c
:
GetControler
(),
LOCATION_REMOVED
,
0
,
nil
)
*
400
return
Duel
.
GetMatchingGroupCount
(
s
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_REMOVED
,
0
,
nil
)
*
400
end
function
s
.
negfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
Get
Attacker
():
IsControler
(
1
-
tp
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
,
TYPE_SYNCHRO
)
return
Duel
.
Get
TurnPlayer
()
~=
tp
and
Duel
.
IsExistingMatchingCard
(
s
.
negfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
end
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateAttack
()
Duel
.
NegateAttack
()
...
...
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