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
0bcf70a6
Commit
0bcf70a6
authored
Nov 23, 2022
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 光属性以外
parent
8327dfa6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
c32281491.lua
c32281491.lua
+1
-1
c5908650.lua
c5908650.lua
+1
-1
c70797118.lua
c70797118.lua
+1
-1
c73422829.lua
c73422829.lua
+1
-1
c85876417.lua
c85876417.lua
+1
-1
No files found.
c32281491.lua
View file @
0bcf70a6
...
...
@@ -21,7 +21,7 @@ function c32281491.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c32281491
.
spfilter
(
c
,
e
,
tp
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsSetCard
(
0x48
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_LIGHT
)
and
c
:
IsSetCard
(
0x48
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c32281491
.
eqfilter
(
c
)
return
c
:
IsSetCard
(
0x107f
)
and
c
:
IsFaceup
()
...
...
c5908650.lua
View file @
0bcf70a6
...
...
@@ -16,7 +16,7 @@ function c5908650.initial_effect(c)
end
function
c5908650
.
chainfilter
(
re
,
tp
,
cid
)
local
attr
=
Duel
.
GetChainInfo
(
cid
,
CHAININFO_TRIGGERING_ATTRIBUTE
)
return
not
(
re
:
IsActiveType
(
TYPE_MONSTER
)
and
attr
&
ATTRIBUTE_LIGHT
=
=
0
)
return
not
(
re
:
IsActiveType
(
TYPE_MONSTER
)
and
attr
&
(
ATTRIBUTE_ALL
-
ATTRIBUTE_LIGHT
)
~
=
0
)
end
function
c5908650
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
5908650
,
tp
,
ACTIVITY_CHAIN
)
==
0
end
...
...
c70797118.lua
View file @
0bcf70a6
...
...
@@ -10,7 +10,7 @@ function c70797118.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c70797118
.
sdfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetAttribute
()
~=
ATTRIBUTE_LIGHT
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_LIGHT
)
end
function
c70797118
.
sdcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c70797118
.
sdfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
c73422829.lua
View file @
0bcf70a6
...
...
@@ -38,7 +38,7 @@ function c73422829.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c73422829
.
cfilter
(
c
,
tp
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xdc
)
return
c
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_LIGHT
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xdc
)
and
c
:
IsAbleToGraveAsCost
()
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
function
c73422829
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c85876417.lua
View file @
0bcf70a6
...
...
@@ -24,7 +24,7 @@ function c85876417.destg(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
local
a
=
Duel
.
GetAttacker
()
if
a
==
c
then
a
=
Duel
.
GetAttackTarget
()
end
return
a
and
a
:
IsAttribute
(
0x6f
)
return
a
and
a
:
IsAttribute
(
ATTRIBUTE_ALL
-
ATTRIBUTE_LIGHT
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
e
:
GetHandler
(),
1
,
0
,
0
)
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