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
4e2481a0
Commit
4e2481a0
authored
Nov 23, 2022
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 闇属性以外
parent
0bcf70a6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
c31456110.lua
c31456110.lua
+1
-1
c46173679.lua
c46173679.lua
+1
-1
c55557574.lua
c55557574.lua
+1
-1
c89732524.lua
c89732524.lua
+1
-1
No files found.
c31456110.lua
View file @
4e2481a0
...
...
@@ -13,7 +13,7 @@ function c31456110.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c31456110
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
0x5f
)
and
c
:
IsLevelAbove
(
5
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_DARK
)
and
c
:
IsLevelAbove
(
5
)
end
function
c31456110
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c31456110
.
filter
(
chkc
)
end
...
...
c46173679.lua
View file @
4e2481a0
...
...
@@ -63,5 +63,5 @@ function c46173679.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c46173679
.
recon
(
e
,
c
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_DARK
)
end
c55557574.lua
View file @
4e2481a0
...
...
@@ -24,7 +24,7 @@ function c55557574.sumfilter(c)
return
c
:
IsSummonable
(
true
,
nil
)
and
c
:
IsLevel
(
10
)
end
function
c55557574
.
thfilter
(
c
)
return
c
:
GetTextAttack
()
==-
2
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevel
(
10
)
and
not
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
GetTextAttack
()
==-
2
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevel
(
10
)
and
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_DARK
)
end
function
c55557574
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
c55557574
.
checkfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
...
c89732524.lua
View file @
4e2481a0
...
...
@@ -14,7 +14,7 @@ function c89732524.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c89732524
.
filter
(
c
)
return
c
:
IsRace
(
RACE_FIEND
)
and
not
c
:
IsAttribute
(
ATTRIBUTE_DARK
+
ATTRIBUTE_LIGHT
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_DARK
-
ATTRIBUTE_LIGHT
)
and
c
:
IsAbleToHand
()
end
function
c89732524
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
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