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
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
Clara Grace Paulsen
ygopro-rush-duel
Commits
39de9e6f
Commit
39de9e6f
authored
Oct 08, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/10/8 新增:撒塔尼乌斯的宝珠,bug修复
parent
fecbe39f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
1 deletion
+36
-1
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120228000.lua
script/c120228000.lua
+1
-1
script/c120228034.lua
script/c120228034.lua
+1
-0
script/c120231064.lua
script/c120231064.lua
+34
-0
No files found.
RD Patch.cdb
View file @
39de9e6f
No preview for this file type
script/c120228000.lua
View file @
39de9e6f
...
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
end
--Summon
function
cm
.
matfilter
(
c
,
tp
)
return
c
:
Is
Faceup
()
and
c
:
Is
Attribute
(
ATTRIBUTE_DARK
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
end
function
cm
.
sumcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
...
...
script/c120228034.lua
View file @
39de9e6f
...
...
@@ -32,6 +32,7 @@ function cm.indval(e,re,rp)
if
e
==
nil
then
return
true
,
0
,
0
end
local
tp
=
e
:
GetHandlerPlayer
()
local
tc
=
re
:
GetHandler
()
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
tc
:
IsLevelBelow
(
8
)
end
\ No newline at end of file
script/c120231064.lua
0 → 100644
View file @
39de9e6f
local
m
=
120231064
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"撒塔尼乌斯的宝珠"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
confilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevel
(
6
)
end
function
cm
.
costfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
cm
.
cost
=
RD
.
CostSendHandToGrave
(
cm
.
costfilter
,
1
,
1
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
end
RD
.
TargetDraw
(
tp
,
2
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
Draw
()
end
\ No newline at end of file
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