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
3371898e
Commit
3371898e
authored
May 07, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
e3981e67
Pipeline
#12524
passed with stages
in 28 minutes and 6 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
expansions/script/c17030990.lua
expansions/script/c17030990.lua
+0
-1
expansions/script/c17060810.lua
expansions/script/c17060810.lua
+3
-3
expansions/script/c17061010.lua
expansions/script/c17061010.lua
+3
-3
No files found.
expansions/script/c17030990.lua
View file @
3371898e
...
...
@@ -40,7 +40,6 @@ function c17030990.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e4
:
SetRange
(
LOCATION_REMOVED
)
e4
:
SetCountLimit
(
1
,
17030990
)
e4
:
SetCondition
(
c17030990
.
thcon2
)
e4
:
SetTarget
(
c17030990
.
thtg2
)
e4
:
SetOperation
(
c17030990
.
thop2
)
...
...
expansions/script/c17060810.lua
View file @
3371898e
...
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
cm
.
p
splimit
)
e1
:
SetTarget
(
cm
.
splimit
)
c
:
RegisterEffect
(
e1
)
--special summon rule
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -62,8 +62,8 @@ function cm.initial_effect(c)
e6
:
SetOperation
(
cm
.
ctop
)
c
:
RegisterEffect
(
e6
)
end
function
cm
.
psplimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
not
c
:
IsSetCard
(
0x
37f6
)
and
bit
.
band
(
sumtp
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
function
cm
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x
aa
)
end
function
cm
.
sprfilter
(
c
)
return
c
:
IsSetCard
(
0x37f6
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsReleasable
()
...
...
expansions/script/c17061010.lua
View file @
3371898e
...
...
@@ -65,7 +65,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
local
b3
=
(
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
))
if
chk
==
0
then
return
b1
or
b2
or
b3
end
...
...
@@ -92,7 +92,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
sel
)
if
sel
==
1
then
e
:
SetCategory
(
CATEGORY_DESTROY
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
elseif
sel
==
2
then
e
:
SetCategory
(
CATEGORY_REMOVE
)
...
...
@@ -104,7 +104,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
sel
=
e
:
GetLabel
()
if
sel
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
...
...
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