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
4a07f3ea
Commit
4a07f3ea
authored
Nov 08, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
54188
parent
cde6cc98
Pipeline
#31030
failed with stages
in 19 minutes and 48 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
39 deletions
+37
-39
expansions/script/c81901037.lua
expansions/script/c81901037.lua
+37
-39
No files found.
expansions/script/c81901037.lua
View file @
4a07f3ea
...
@@ -22,17 +22,17 @@ function cm.initial_effect(c)
...
@@ -22,17 +22,17 @@ function cm.initial_effect(c)
e2
:
SetCondition
(
cm
.
handcon
)
e2
:
SetCondition
(
cm
.
handcon
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--Remove
--Remove
local
e
2
=
Effect
.
CreateEffect
(
c
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e
3
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e
2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DRAW
+
CATEGORY_GRAVE_SPSUMMON
)
e
3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DRAW
+
CATEGORY_GRAVE_SPSUMMON
)
e
2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e
3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e
2
:
SetRange
(
LOCATION_GRAVE
)
e
3
:
SetRange
(
LOCATION_GRAVE
)
e
2
:
SetCode
(
EVENT_FREE_CHAIN
)
e
3
:
SetCode
(
EVENT_FREE_CHAIN
)
e
2
:
SetCondition
(
aux
.
exccon
)
e
3
:
SetCondition
(
aux
.
exccon
)
e
2
:
SetCost
(
aux
.
bfgcost
)
e
3
:
SetCost
(
aux
.
bfgcost
)
e
2
:
SetTarget
(
cm
.
sptg
)
e
3
:
SetTarget
(
cm
.
sptg
)
e
2
:
SetOperation
(
cm
.
spop
)
e
3
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e
2
)
c
:
RegisterEffect
(
e
3
)
end
end
--Activate
--Activate
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -53,7 +53,6 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,6 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
ct
>
0
then
Duel
.
Draw
(
1
-
p
,
ct
,
REASON_EFFECT
)
Duel
.
Draw
(
1
-
p
,
ct
,
REASON_EFFECT
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
@@ -93,9 +92,8 @@ function cm.spfilter(c,e,tp)
...
@@ -93,9 +92,8 @@ function cm.spfilter(c,e,tp)
return
c
:
GetBaseAttack
()
==
0
and
c
:
IsLevel
(
8
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetBaseAttack
()
==
0
and
c
:
IsLevel
(
8
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
2
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
g
:
GetCount
(
)
>
0
and
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
2
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
end
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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