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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
44ae7789
Commit
44ae7789
authored
Nov 11, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hop
parent
a8ac7d7f
Pipeline
#31084
passed with stages
in 32 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
2 deletions
+42
-2
expansions/script/c60010238.lua
expansions/script/c60010238.lua
+21
-1
expansions/script/c60010239.lua
expansions/script/c60010239.lua
+21
-1
No files found.
expansions/script/c60010238.lua
View file @
44ae7789
--卡西米尔-荣光竞技场
--卡西米尔-荣光竞技场
Duel
.
LoadScript
(
"c60010000.lua"
)
--
Duel.LoadScript("c60010000.lua")
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
--Activate
...
@@ -27,6 +27,26 @@ function cm.initial_effect(c)
...
@@ -27,6 +27,26 @@ function cm.initial_effect(c)
local
e3
=
e2
:
Clone
()
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--space check
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_NO_TURN_RESET
)
e3
:
SetCode
(
EVENT_PREDRAW
)
e3
:
SetRange
(
0xff
)
e3
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_DUEL
)
e3
:
SetOperation
(
cm
.
checkop
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
SpaceCheck
then
SpaceCheck
=
{}
for
i
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
i
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
nil
)
if
#
g
==
g
:
GetClassCount
(
Card
.
GetCode
)
then
SpaceCheck
[
i
]
=
true
end
end
end
end
end
function
cm
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
SpaceCheck
[
tp
]
==
true
return
SpaceCheck
[
tp
]
==
true
...
...
expansions/script/c60010239.lua
View file @
44ae7789
--璞音 星转天歌
--璞音 星转天歌
Duel
.
LoadScript
(
"c60010000.lua"
)
--
Duel.LoadScript("c60010000.lua")
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
--Activate
...
@@ -25,6 +25,26 @@ function cm.initial_effect(c)
...
@@ -25,6 +25,26 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
sptg
)
e1
:
SetTarget
(
cm
.
sptg
)
e1
:
SetOperation
(
cm
.
spop
)
e1
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--space check
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_NO_TURN_RESET
)
e3
:
SetCode
(
EVENT_PREDRAW
)
e3
:
SetRange
(
0xff
)
e3
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_DUEL
)
e3
:
SetOperation
(
cm
.
checkop
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
SpaceCheck
then
SpaceCheck
=
{}
for
i
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
i
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
nil
)
if
#
g
==
g
:
GetClassCount
(
Card
.
GetCode
)
then
SpaceCheck
[
i
]
=
true
end
end
end
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
SpaceCheck
[
tp
]
==
true
return
SpaceCheck
[
tp
]
==
true
...
...
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