Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-rush-duel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
5
Issues
5
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
MyCard
ygopro-rush-duel
Commits
e1a25f95
Commit
e1a25f95
authored
Dec 01, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/12/1 效果修改
parent
c0cf03b2
Pipeline
#24219
passed with stages
in 24 minutes and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
script/c120254077.lua
script/c120254077.lua
+2
-2
script/c120254083.lua
script/c120254083.lua
+2
-2
No files found.
script/c120254077.lua
View file @
e1a25f95
local
m
=
120254077
local
m
=
120254077
local
list
=
{
120252007
}
local
list
=
{
12025
4077
,
12025
2007
}
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"灵魂骑士"
cm
.
name
=
"灵魂骑士"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
end
end
--Special Summon
--Special Summon
function
cm
.
spfilter
(
c
,
e
,
tp
)
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
m
,
list
[
1
])
and
RD
.
IsCanBeSpecialSummoned
(
c
,
e
,
tp
,
POS_FACEUP_DEFENSE
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
])
and
RD
.
IsCanBeSpecialSummoned
(
c
,
e
,
tp
,
POS_FACEUP_DEFENSE
)
end
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
RD
.
IsSummonTurn
(
e
:
GetHandler
())
return
RD
.
IsSummonTurn
(
e
:
GetHandler
())
...
...
script/c120254083.lua
View file @
e1a25f95
...
@@ -20,8 +20,8 @@ function cm.costfilter2(c)
...
@@ -20,8 +20,8 @@ function cm.costfilter2(c)
return
c
:
IsLevelAbove
(
7
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAbleToDeckOrExtraAsCost
()
return
c
:
IsLevelAbove
(
7
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
end
function
cm
.
costcheck
(
g
)
function
cm
.
costcheck
(
g
)
return
(
g
:
GetCount
()
==
1
and
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
==
1
)
return
RD
.
GroupAllCount
(
g
,
Card
.
IsLocation
,
1
,
LOCATION_HAND
)
or
(
g
:
GetCount
()
==
3
and
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
)
==
3
)
or
RD
.
GroupAllCount
(
g
,
Card
.
IsLocation
,
3
,
LOCATION_GRAVE
)
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_FIEND
)
and
RD
.
IsCanChangePosition
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_FIEND
)
and
RD
.
IsCanChangePosition
(
c
)
...
...
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