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
f8b1b22d
Commit
f8b1b22d
authored
Dec 04, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/SUDA' into master
parents
de9ac315
f15bb7f7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
c12686296.lua
c12686296.lua
+1
-1
c39761418.lua
c39761418.lua
+2
-2
c50915474.lua
c50915474.lua
+1
-2
c76302448.lua
c76302448.lua
+2
-3
No files found.
c12686296.lua
View file @
f8b1b22d
...
@@ -47,7 +47,7 @@ function s.spfilter(c,e,tp)
...
@@ -47,7 +47,7 @@ function s.spfilter(c,e,tp)
return
c
:
IsSetCard
(
0x5
)
and
c
:
IsLevel
(
10
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
return
c
:
IsSetCard
(
0x5
)
and
c
:
IsLevel
(
10
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
end
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
return
c
:
IsEffectProperty
(
aux
.
Effect
CategoryFilter
(
CATEGORY
_COIN
))
and
c
:
IsAbleToHand
()
return
c
:
IsEffectProperty
(
aux
.
Effect
PropertyFilter
(
EFFECT_FLAG
_COIN
))
and
c
:
IsAbleToHand
()
end
end
function
s
.
coinop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
coinop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c39761418.lua
View file @
f8b1b22d
...
@@ -31,7 +31,7 @@ function s.initial_effect(c)
...
@@ -31,7 +31,7 @@ function s.initial_effect(c)
end
end
s
.
toss_coin
=
true
s
.
toss_coin
=
true
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsEffectProperty
(
aux
.
Effect
CategoryFilter
(
CATEGORY
_COIN
))
return
c
:
IsFaceup
()
and
c
:
IsEffectProperty
(
aux
.
Effect
PropertyFilter
(
EFFECT_FLAG
_COIN
))
end
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
...
@@ -52,7 +52,7 @@ function s.cointg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -52,7 +52,7 @@ function s.cointg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COIN
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COIN
,
nil
,
0
,
tp
,
1
)
end
end
function
s
.
setfilter
(
c
)
function
s
.
setfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSSetable
()
and
c
:
IsEffectProperty
(
aux
.
Effect
CategoryFilter
(
CATEGORY
_COIN
))
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSSetable
()
and
c
:
IsEffectProperty
(
aux
.
Effect
PropertyFilter
(
EFFECT_FLAG
_COIN
))
end
end
function
s
.
desfilter
(
c
)
function
s
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
GetSequence
()
<
5
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
GetSequence
()
<
5
...
...
c50915474.lua
View file @
f8b1b22d
...
@@ -26,9 +26,8 @@ function s.initial_effect(c)
...
@@ -26,9 +26,8 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
atkop
)
e3
:
SetOperation
(
s
.
atkop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
s
.
toss_coin
=
true
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
return
not
c
:
IsCode
(
id
)
and
c
:
IsEffectProperty
(
aux
.
Effect
CategoryFilter
(
CATEGORY
_COIN
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
not
c
:
IsCode
(
id
)
and
c
:
IsEffectProperty
(
aux
.
Effect
PropertyFilter
(
EFFECT_FLAG
_COIN
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c76302448.lua
View file @
f8b1b22d
...
@@ -24,12 +24,11 @@ function s.initial_effect(c)
...
@@ -24,12 +24,11 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
thop
)
e2
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
s
.
toss_coin
=
true
function
s
.
spfilter1
(
c
,
e
,
tp
)
function
s
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x5
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x5
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
spfilter2
(
c
,
e
,
tp
)
function
s
.
spfilter2
(
c
,
e
,
tp
)
return
c
.
toss_coin
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsEffectProperty
(
aux
.
EffectPropertyFilter
(
EFFECT_FLAG_COIN
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
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
...
@@ -76,7 +75,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,7 +75,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
return
c
.
toss_coin
and
c
:
IsAbleToHand
()
return
c
:
IsEffectProperty
(
aux
.
EffectPropertyFilter
(
EFFECT_FLAG_COIN
))
and
c
:
IsAbleToHand
()
end
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
())
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