Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
e3ce81f4
Commit
e3ce81f4
authored
Dec 05, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
catchup
parent
da69aa1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
c31531170.lua
c31531170.lua
+2
-2
No files found.
c31531170.lua
View file @
e3ce81f4
...
@@ -11,7 +11,7 @@ function c31531170.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c31531170.initial_effect(c)
end
end
function
c31531170
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c31531170
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
0
,
LOCATION_PZONE
,
2
,
nil
)
end
if
chk
==
0
then
return
PENDULUM_CHECKLIST
&
(
0x1
<<
tp
)
~=
0
and
Duel
.
IsExistingTarget
(
nil
,
tp
,
0
,
LOCATION_PZONE
,
2
,
nil
)
end
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_PZONE
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_PZONE
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetTargetCard
(
g
)
end
end
...
@@ -25,7 +25,6 @@ function c31531170.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -25,7 +25,6 @@ function c31531170.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_BOTH_SIDE
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_BOTH_SIDE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCountLimit
(
1
,
10000000
)
e1
:
SetCondition
(
c31531170
.
pendcon
)
e1
:
SetCondition
(
c31531170
.
pendcon
)
e1
:
SetOperation
(
c31531170
.
pendop
)
e1
:
SetOperation
(
c31531170
.
pendop
)
e1
:
SetValue
(
SUMMON_TYPE_PENDULUM
)
e1
:
SetValue
(
SUMMON_TYPE_PENDULUM
)
...
@@ -70,6 +69,7 @@ function c31531170.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
...
@@ -70,6 +69,7 @@ function c31531170.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
PConditionFilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
ft
,
nil
,
e
,
tp
,
lscale
,
rscale
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
PConditionFilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
ft
,
nil
,
e
,
tp
,
lscale
,
rscale
)
sg
:
Merge
(
g
)
sg
:
Merge
(
g
)
end
end
PENDULUM_CHECKLIST
=
PENDULUM_CHECKLIST
|
(
0x1
<<
tp
)
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
rpz
))
Duel
.
HintSelection
(
Group
.
FromCards
(
rpz
))
end
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