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
0fbcb11b
Commit
0fbcb11b
authored
Mar 31, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into master
parents
8b4c2a50
843f035f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
10 deletions
+14
-10
c11458071.lua
c11458071.lua
+1
-1
c22056710.lua
c22056710.lua
+1
-1
c48453776.lua
c48453776.lua
+1
-1
c7165085.lua
c7165085.lua
+6
-2
c96914272.lua
c96914272.lua
+3
-3
procedure.lua
procedure.lua
+2
-2
No files found.
c11458071.lua
View file @
0fbcb11b
...
...
@@ -30,13 +30,13 @@ function c11458071.initial_effect(c)
e3
:
SetOperation
(
c11458071
.
rmop
)
c
:
RegisterEffect
(
e3
)
end
c11458071
.
spchecks
=
{
c11458071
.
spfilter1
,
c11458071
.
spfilter1
,
c11458071
.
spfilter1
,
c11458071
.
spfilter2
}
function
c11458071
.
spfilter1
(
c
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
function
c11458071
.
spfilter2
(
c
)
return
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
end
c11458071
.
spchecks
=
{
c11458071
.
spfilter1
,
c11458071
.
spfilter1
,
c11458071
.
spfilter1
,
c11458071
.
spfilter2
}
function
c11458071
.
spfilter
(
c
)
return
((
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
))
or
(
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)))
and
c
:
IsAbleToRemoveAsCost
()
...
...
c22056710.lua
View file @
0fbcb11b
...
...
@@ -38,7 +38,7 @@ function c22056710.hspcon(e,c)
return
Duel
.
IsExistingMatchingCard
(
c22056710
.
hspfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
function
c22056710
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
c22056710
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c22056710
.
h
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
tc
=
g
:
SelectUnselect
(
nil
,
tp
,
false
,
true
,
1
,
1
)
if
tc
then
...
...
c48453776.lua
View file @
0fbcb11b
...
...
@@ -29,13 +29,13 @@ function c48453776.initial_effect(c)
e3
:
SetOperation
(
c48453776
.
sgop
)
c
:
RegisterEffect
(
e3
)
end
c48453776
.
spchecks
=
{
c48453776
.
spfilter1
,
c48453776
.
spfilter2
,
c48453776
.
spfilter2
,
c48453776
.
spfilter2
}
function
c48453776
.
spfilter1
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_FAIRY
)
end
function
c48453776
.
spfilter2
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsRace
(
RACE_FIEND
)
end
c48453776
.
spchecks
=
{
c48453776
.
spfilter1
,
c48453776
.
spfilter2
,
c48453776
.
spfilter2
,
c48453776
.
spfilter2
}
function
c48453776
.
spfilter
(
c
)
return
((
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
))
or
(
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)))
and
c
:
IsAbleToRemoveAsCost
()
...
...
c7165085.lua
View file @
0fbcb11b
...
...
@@ -34,7 +34,9 @@ function c7165085.activate(e,tp,eg,ep,ev,re,r,rp)
local
tep
=
tc
:
GetControler
()
if
not
te
then
Duel
.
ChangePosition
(
tc
,
POS_FACEUP
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
==
0
then
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
end
else
local
condition
=
te
:
GetCondition
()
local
cost
=
te
:
GetCost
()
...
...
@@ -68,7 +70,9 @@ function c7165085.activate(e,tp,eg,ep,ev,re,r,rp)
tg
=
g
:
GetNext
()
end
else
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
==
0
then
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
end
end
end
end
...
...
c96914272.lua
View file @
0fbcb11b
...
...
@@ -41,9 +41,9 @@ function c96914272.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
else
return
false
end
end
function
c96914272
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
SendtoGrave
(
g
,
REASON_SPSUMMON
)
e
:
SetLabel
(
g
:
GetFirst
()
:
GetLevel
())
local
tc
=
e
:
GetLabelObject
()
Duel
.
SendtoGrave
(
tc
,
REASON_SPSUMMON
)
e
:
SetLabel
(
tc
:
GetLevel
())
end
function
c96914272
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
...
...
procedure.lua
View file @
0fbcb11b
...
...
@@ -180,7 +180,7 @@ function Auxiliary.SynMixCondition(f1,f2,f3,f4,minct,maxct,gc)
local
mg
local
mgchk
=
false
if
mg1
then
mg
=
mg1
mg
=
mg1
:
Filter
(
Card
.
IsCanBeSynchroMaterial
,
nil
,
c
)
mgchk
=
true
else
mg
=
Auxiliary
.
GetSynMaterials
(
tp
,
c
)
...
...
@@ -206,7 +206,7 @@ function Auxiliary.SynMixTarget(f1,f2,f3,f4,minct,maxct,gc)
local
mg
local
mgchk
=
false
if
mg1
then
mg
=
mg1
mg
=
mg1
:
Filter
(
Card
.
IsCanBeSynchroMaterial
,
nil
,
c
)
mgchk
=
true
else
mg
=
Auxiliary
.
GetSynMaterials
(
tp
,
c
)
...
...
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