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
0ca633b1
Commit
0ca633b1
authored
Nov 03, 2024
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use Card.IsEffectProperty
parent
aa9fc5e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
c11819473.lua
c11819473.lua
+1
-1
c76728962.lua
c76728962.lua
+1
-1
No files found.
c11819473.lua
View file @
0ca633b1
...
@@ -26,7 +26,7 @@ function c11819473.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c11819473.initial_effect(c)
end
end
c11819473
.
toss_coin
=
true
c11819473
.
toss_coin
=
true
function
c11819473
.
thfilter1
(
c
)
function
c11819473
.
thfilter1
(
c
)
return
not
c
:
IsCode
(
11819473
)
and
c
.
toss_coin
and
c
:
IsAbleToHand
()
return
not
c
:
IsCode
(
11819473
)
and
c
:
IsEffectProperty
(
aux
.
EffectCategoryFilter
(
CATEGORY_COIN
))
and
c
:
IsAbleToHand
()
end
end
function
c11819473
.
thfilter2
(
c
,
p
)
function
c11819473
.
thfilter2
(
c
,
p
)
return
c
:
IsAbleToHand
(
p
)
return
c
:
IsAbleToHand
(
p
)
...
...
c76728962.lua
View file @
0ca633b1
...
@@ -89,7 +89,7 @@ function c76728962.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,7 +89,7 @@ function c76728962.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c76728962
.
thfilter
(
c
)
function
c76728962
.
thfilter
(
c
)
return
c
.
toss_coin
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelBelow
(
7
)
and
c
:
IsAbleToHand
()
return
c
:
IsEffectProperty
(
aux
.
EffectCategoryFilter
(
CATEGORY_COIN
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelBelow
(
7
)
and
c
:
IsAbleToHand
()
end
end
function
c76728962
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c76728962
.
thfilter
,
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