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
8761ef67
Commit
8761ef67
authored
Nov 02, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
54188
parent
dd88ae12
Pipeline
#30907
failed with stages
in 1 minute and 36 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
31 deletions
+37
-31
expansions/script/c81021001.lua
expansions/script/c81021001.lua
+12
-9
expansions/script/c81021003.lua
expansions/script/c81021003.lua
+23
-20
expansions/script/c81021016.lua
expansions/script/c81021016.lua
+1
-1
expansions/script/c81021032.lua
expansions/script/c81021032.lua
+1
-1
No files found.
expansions/script/c81021001.lua
View file @
8761ef67
--佐城雪美的眼神
function
c81021001
.
initial_effect
(
c
)
aux
.
AddRitualProcGreater2
(
c
,
c81021001
.
ritual_filter
)
local
m
=
81021001
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
aux
.
AddRitualProcGreater2
(
c
,
cm
.
ritual_filter
)
--lpcost replace
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
81021001
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EFFECT_LPCOST_REPLACE
)
e3
:
SetCondition
(
c
81021001
.
lrcon
)
e3
:
SetOperation
(
c
81021001
.
lrop
)
e3
:
SetCondition
(
c
m
.
lrcon
)
e3
:
SetOperation
(
c
m
.
lrop
)
c
:
RegisterEffect
(
e3
)
end
function
c
81021001
.
ritual_filter
(
c
)
function
c
m
.
ritual_filter
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsLevel
(
1
)
end
function
c
81021001
.
lrcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
lrcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
ep
then
return
false
end
local
lp
=
Duel
.
GetLP
(
ep
)
if
lp
<
ev
then
return
false
end
if
not
re
or
not
re
:
Is
HasType
(
0x7f0
)
or
not
e
:
GetHandler
():
IsAbleToRemove
()
then
return
false
end
if
not
re
or
not
re
:
Is
Activated
(
)
or
not
e
:
GetHandler
():
IsAbleToRemove
()
then
return
false
end
local
rc
=
re
:
GetHandler
()
return
rc
:
IsSetCard
(
0x818
)
end
function
c
81021001
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_EFFECT
)
end
expansions/script/c81021003.lua
View file @
8761ef67
--佐城雪美的蓝色时间
function
c81021003
.
initial_effect
(
c
)
local
m
=
81021003
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x818
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -11,71 +14,71 @@ function c81021003.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCode
(
EVENT_PAY_LPCOST
)
e2
:
SetCondition
(
c
81021003
.
ctcon
)
e2
:
SetOperation
(
c
81021003
.
ctop
)
e2
:
SetCondition
(
c
m
.
ctcon
)
e2
:
SetOperation
(
c
m
.
ctop
)
c
:
RegisterEffect
(
e2
)
--lpcost replace
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
81021003
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetCode
(
EFFECT_LPCOST_REPLACE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c
81021003
.
lrcon
)
e3
:
SetOperation
(
c
81021003
.
lrop
)
e3
:
SetCondition
(
c
m
.
lrcon
)
e3
:
SetOperation
(
c
m
.
lrop
)
c
:
RegisterEffect
(
e3
)
--recover
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD_P
)
e4
:
SetOperation
(
c
81021003
.
recp
)
e4
:
SetOperation
(
c
m
.
recp
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetCategory
(
CATEGORY_RECOVER
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetCountLimit
(
1
,
81021003
)
e5
:
SetCondition
(
c
81021003
.
reccon
)
e5
:
SetTarget
(
c
81021003
.
rectg
)
e5
:
SetOperation
(
c
81021003
.
recop
)
e5
:
SetCountLimit
(
1
,
m
)
e5
:
SetCondition
(
c
m
.
reccon
)
e5
:
SetTarget
(
c
m
.
rectg
)
e5
:
SetOperation
(
c
m
.
recop
)
e5
:
SetLabelObject
(
e4
)
c
:
RegisterEffect
(
e5
)
end
function
c
81021003
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
tp
end
function
c
81021003
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
AddCounter
(
0x818
,
1
)
end
function
c
81021003
.
lrcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
lrcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
ep
then
return
false
end
local
lp
=
Duel
.
GetLP
(
ep
)
if
lp
<
ev
then
return
false
end
if
not
re
or
not
re
:
Is
HasType
(
0x7f0
)
then
return
false
end
if
not
re
or
not
re
:
Is
Activated
(
)
then
return
false
end
local
rc
=
re
:
GetHandler
()
return
rc
:
IsSetCard
(
0x818
)
and
e
:
GetHandler
():
GetCounter
(
0x818
)
>
0
end
function
c
81021003
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RemoveCounter
(
ep
,
0x818
,
1
,
REASON_EFFECT
)
end
function
c
81021003
.
recp
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
recp
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ct
=
c
:
GetCounter
(
0x818
)
e
:
SetLabel
(
ct
)
end
function
c
81021003
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_FZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
end
function
c
81021003
.
rectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
m
.
rectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabelObject
():
GetLabel
()
if
chk
==
0
then
return
ct
>
0
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
ct
*
800
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
ct
*
800
)
end
function
c
81021003
.
recop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
recop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Recover
(
p
,
d
,
REASON_EFFECT
)
end
expansions/script/c81021016.lua
View file @
8761ef67
...
...
@@ -68,7 +68,7 @@ function cm.lrcon(e,tp,eg,ep,ev,re,r,rp)
if
tp
~=
ep
then
return
false
end
local
lp
=
Duel
.
GetLP
(
ep
)
if
lp
<
ev
then
return
false
end
if
not
re
or
not
re
:
Is
HasType
(
0x7f0
)
then
return
false
end
if
not
re
or
not
re
:
Is
Activated
(
)
then
return
false
end
local
rc
=
re
:
GetHandler
()
return
rc
:
IsSetCard
(
0x818
)
and
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_EFFECT
)
end
...
...
expansions/script/c81021032.lua
View file @
8761ef67
...
...
@@ -95,7 +95,7 @@ function cm.lrcon(e,tp,eg,ep,ev,re,r,rp)
if
tp
~=
ep
then
return
false
end
local
lp
=
Duel
.
GetLP
(
ep
)
if
lp
<
ev
then
return
false
end
if
not
re
or
not
re
:
Is
HasType
(
0x7f0
)
or
not
e
:
GetHandler
():
IsAbleToRemove
()
then
return
false
end
if
not
re
or
not
re
:
Is
Activated
(
)
or
not
e
:
GetHandler
():
IsAbleToRemove
()
then
return
false
end
local
rc
=
re
:
GetHandler
()
return
rc
:
IsSetCard
(
0x818
)
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