Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Soulgamer
ygopro-222DIY-cards
Commits
4030b8b0
Commit
4030b8b0
authored
Mar 01, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
888
parent
cbc8aa11
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
12 deletions
+16
-12
expansions/script/c15000620.lua
expansions/script/c15000620.lua
+1
-1
expansions/script/c15000621.lua
expansions/script/c15000621.lua
+1
-1
expansions/script/c15000622.lua
expansions/script/c15000622.lua
+1
-1
expansions/script/c15000623.lua
expansions/script/c15000623.lua
+1
-1
expansions/script/c15000625.lua
expansions/script/c15000625.lua
+6
-2
expansions/script/c15000661.lua
expansions/script/c15000661.lua
+6
-6
No files found.
expansions/script/c15000620.lua
View file @
4030b8b0
...
...
@@ -27,7 +27,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetLP
(
e
:
GetHandlerPlayer
())
<=
2000
return
Duel
.
GetL
ocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetL
P
(
e
:
GetHandlerPlayer
())
<=
2000
end
function
cm
.
atcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c15000621.lua
View file @
4030b8b0
...
...
@@ -27,7 +27,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetLP
(
e
:
GetHandlerPlayer
())
<=
2000
return
Duel
.
GetL
ocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetL
P
(
e
:
GetHandlerPlayer
())
<=
2000
end
function
cm
.
atcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c15000622.lua
View file @
4030b8b0
...
...
@@ -26,7 +26,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetLP
(
e
:
GetHandlerPlayer
())
<=
2000
return
Duel
.
GetL
ocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetL
P
(
e
:
GetHandlerPlayer
())
<=
2000
end
function
cm
.
atcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c15000623.lua
View file @
4030b8b0
...
...
@@ -26,7 +26,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetLP
(
e
:
GetHandlerPlayer
())
<=
2000
return
Duel
.
GetL
ocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetL
P
(
e
:
GetHandlerPlayer
())
<=
2000
end
function
cm
.
tkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c15000625.lua
View file @
4030b8b0
...
...
@@ -103,9 +103,9 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
-- if loc==LOCATION_MZONE then x=0x10000 end
-- if loc==LOCATION_SZONE then x=0x1000000 end
-- if loc==LOCATION_FZONE then
--
Debug.Message("成功了,目标卡在场地区域!")
--
Debug.Message("成功了,目标卡在场地区域!")
-- else
--
Debug.Message("成功了,在"..(2^tc:GetSequence())*x.."处抓到了卡!")
--
Debug.Message("成功了,在"..(2^tc:GetSequence())*x.."处抓到了卡!")
-- end
--end
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -341,6 +341,10 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
not
(
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
))
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
og
=
tc
:
GetOverlayGroup
()
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
end
Duel
.
Overlay
(
c
,
Group
.
FromCards
(
tc
))
end
end
\ No newline at end of file
expansions/script/c15000661.lua
View file @
4030b8b0
...
...
@@ -72,9 +72,9 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ReleaseRitualMaterial
(
mat
)
Duel
.
SendtoGrave
(
mat2
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_RITUAL
)
Duel
.
BreakEffect
()
if
tc
:
IsCode
(
15000666
)
then
Debug
.
Message
(
"A shadow floating in the mist, a singing grim reaper with a blank smile."
)
end
if
tc
:
IsCode
(
15000667
)
then
Debug
.
Message
(
"Let the pain…ghosts feel pain?"
)
end
if
tc
:
IsCode
(
15000668
)
then
Debug
.
Message
(
"Today's cry, sounds a bit melancholy."
)
end
--
if tc:IsCode(15000666) then Debug.Message("A shadow floating in the mist, a singing grim reaper with a blank smile.") end
--
if tc:IsCode(15000667) then Debug.Message("Let the pain…ghosts feel pain?") end
--
if tc:IsCode(15000668) then Debug.Message("Today's cry, sounds a bit melancholy.") end
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
end
...
...
@@ -175,9 +175,9 @@ function cm.operation2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ReleaseRitualMaterial
(
mat
)
Duel
.
SendtoGrave
(
mat2
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_RITUAL
)
Duel
.
BreakEffect
()
if
tc
:
IsCode
(
15000666
)
then
Debug
.
Message
(
"A shadow floating in the mist, a singing grim reaper with a blank smile."
)
end
if
tc
:
IsCode
(
15000667
)
then
Debug
.
Message
(
"Let the pain…ghosts feel pain?"
)
end
if
tc
:
IsCode
(
15000668
)
then
Debug
.
Message
(
"Today's cry, sounds a bit melancholy."
)
end
--
if tc:IsCode(15000666) then Debug.Message("A shadow floating in the mist, a singing grim reaper with a blank smile.") end
--
if tc:IsCode(15000667) then Debug.Message("Let the pain…ghosts feel pain?") end
--
if tc:IsCode(15000668) then Debug.Message("Today's cry, sounds a bit melancholy.") end
if
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
...
...
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