Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-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
八宫一月
ygopro-THC-cards
Commits
4f048a15
Commit
4f048a15
authored
Jun 24, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
74563666 qol
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
8ac5a3b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
script/c74563666.lua
script/c74563666.lua
+8
-1
No files found.
script/c74563666.lua
View file @
4f048a15
...
@@ -24,6 +24,7 @@ function c74563666.initial_effect(c)
...
@@ -24,6 +24,7 @@ function c74563666.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetRange
(
LOCATION_REMOVED
)
e5
:
SetRange
(
LOCATION_REMOVED
)
e5
:
SetLabelObject
(
e1
)
e5
:
SetCondition
(
c74563666
.
con
)
e5
:
SetCondition
(
c74563666
.
con
)
e5
:
SetOperation
(
c74563666
.
sprop1
)
e5
:
SetOperation
(
c74563666
.
sprop1
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
...
@@ -47,13 +48,16 @@ function c74563666.sprcon(e,c)
...
@@ -47,13 +48,16 @@ function c74563666.sprcon(e,c)
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c74563666
.
sprfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c74563666
.
sprfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
nil
)
and
(
c74563666
.
special
or
not
c
:
IsLocation
(
LOCATION_REMOVED
))
end
end
function
c74563666
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c74563666
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c74563666
.
sprfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
3
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c74563666
.
sprfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
3
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
c74563666
.
special
=
false
end
end
function
c74563666
.
sprop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c74563666
.
sprop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
c74563666
.
special
=
true
Duel
.
SpecialSummonRule
(
e
:
GetHandler
():
GetControler
(),
e
:
GetHandler
())
Duel
.
SpecialSummonRule
(
e
:
GetHandler
():
GetControler
(),
e
:
GetHandler
())
end
end
function
c74563666
.
cpfilter
(
c
)
function
c74563666
.
cpfilter
(
c
)
...
@@ -61,7 +65,10 @@ function c74563666.cpfilter(c)
...
@@ -61,7 +65,10 @@ function c74563666.cpfilter(c)
and
c
:
CheckActivateEffect
(
true
,
true
,
false
)
~=
nil
and
c
:
CheckActivateEffect
(
true
,
true
,
false
)
~=
nil
end
end
function
c74563666
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74563666
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentChain
()
==
0
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c74563666
.
sprfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
nil
)
c74563666
.
special
=
true
local
cansp
=
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
:
GetLabelObject
(),
0
,
tp
,
false
,
true
)
c74563666
.
special
=
false
return
Duel
.
GetCurrentChain
()
==
0
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c74563666
.
sprfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
nil
)
and
cansp
end
end
function
c74563666
.
cpcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c74563666
.
cpcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
...
...
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