Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
nanahira
ygopro-scripts
Commits
3df7c3f5
You need to sign in or sign up before continuing.
Commit
3df7c3f5
authored
Nov 28, 2024
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use aux.EffectPropertyFilter
parent
3e032628
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
c11819473.lua
c11819473.lua
+1
-1
c47292920.lua
c47292920.lua
+2
-2
c76728962.lua
c76728962.lua
+1
-1
c93078761.lua
c93078761.lua
+1
-1
No files found.
c11819473.lua
View file @
3df7c3f5
...
...
@@ -25,7 +25,7 @@ function c11819473.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c11819473
.
thfilter1
(
c
)
return
not
c
:
IsCode
(
11819473
)
and
c
:
IsEffectProperty
(
aux
.
Effect
CategoryFilter
(
CATEGORY
_COIN
))
and
c
:
IsAbleToHand
()
return
not
c
:
IsCode
(
11819473
)
and
c
:
IsEffectProperty
(
aux
.
Effect
PropertyFilter
(
EFFECT_FLAG
_COIN
))
and
c
:
IsAbleToHand
()
end
function
c11819473
.
thfilter2
(
c
,
p
)
return
c
:
IsAbleToHand
(
p
)
...
...
c47292920.lua
View file @
3df7c3f5
...
...
@@ -13,7 +13,7 @@ function c47292920.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c47292920
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsEffectProperty
(
aux
.
Effect
CategoryFilter
(
CATEGORY
_DICE
))
return
c
:
IsFaceup
()
and
c
:
IsEffectProperty
(
aux
.
Effect
PropertyFilter
(
EFFECT_FLAG
_DICE
))
end
function
c47292920
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c47292920
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
...
...
@@ -28,7 +28,7 @@ function c47292920.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c47292920
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsEffectProperty
(
aux
.
MonsterEffect
CategoryFilter
(
CATEGORY
_DICE
))
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsEffectProperty
(
aux
.
MonsterEffect
PropertyFilter
(
EFFECT_FLAG
_DICE
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c47292920
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c76728962.lua
View file @
3df7c3f5
...
...
@@ -88,7 +88,7 @@ function c76728962.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c76728962
.
thfilter
(
c
)
return
c
:
IsEffectProperty
(
aux
.
Effect
CategoryFilter
(
CATEGORY
_COIN
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelBelow
(
7
)
and
c
:
IsAbleToHand
()
return
c
:
IsEffectProperty
(
aux
.
Effect
PropertyFilter
(
EFFECT_FLAG
_COIN
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelBelow
(
7
)
and
c
:
IsAbleToHand
()
end
function
c76728962
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c76728962
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c93078761.lua
View file @
3df7c3f5
...
...
@@ -12,7 +12,7 @@ function c93078761.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c93078761
.
filter
(
c
)
return
c
:
IsEffectProperty
(
aux
.
Effect
CategoryFilter
(
CATEGORY
_DICE
))
and
c
:
IsAbleToHand
()
return
c
:
IsEffectProperty
(
aux
.
Effect
PropertyFilter
(
EFFECT_FLAG
_DICE
))
and
c
:
IsAbleToHand
()
end
function
c93078761
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c93078761
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
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