Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
ce41abfa
Commit
ce41abfa
authored
Mar 10, 2021
by
salix5
Committed by
GitHub
Mar 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 変導機咎 クロックアーク (#1585)
* fix 変導機咎 クロックアーク * fix * fix
parent
725d5432
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
c87468732.lua
c87468732.lua
+16
-7
No files found.
c87468732.lua
View file @
ce41abfa
...
...
@@ -2,24 +2,30 @@
function
c87468732
.
initial_effect
(
c
)
--pendulum proc
aux
.
EnablePendulumAttribute
(
c
)
--
right scal
e
--
left zon
e
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LSCALE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCondition
(
c87468732
.
sccon
)
e1
:
SetCondition
(
c87468732
.
sccon
1
)
e1
:
SetValue
(
-
3
)
c
:
RegisterEffect
(
e1
)
--left scale
local
e8
=
e1
:
Clone
()
e8
:
SetCode
(
EFFECT_UPDATE_RSCALE
)
c
:
RegisterEffect
(
e8
)
--right zone
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_
R
SCALE
)
e2
:
SetCode
(
EFFECT_UPDATE_
L
SCALE
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCondition
(
c87468732
.
sccon
)
e2
:
SetCondition
(
c87468732
.
sccon
2
)
e2
:
SetValue
(
4
)
c
:
RegisterEffect
(
e2
)
local
e9
=
e2
:
Clone
()
e9
:
SetCode
(
EFFECT_UPDATE_RSCALE
)
c
:
RegisterEffect
(
e9
)
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
87468732
,
0
))
...
...
@@ -64,8 +70,11 @@ end
function
c87468732
.
cfilter
(
c
)
return
c
:
IsFacedown
()
or
not
c
:
IsType
(
TYPE_PENDULUM
)
end
function
c87468732
.
sccon
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c87468732
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
function
c87468732
.
sccon1
(
e
)
return
e
:
GetHandler
()
==
Duel
.
GetFieldCard
(
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
)
and
not
Duel
.
IsExistingMatchingCard
(
c87468732
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c87468732
.
sccon2
(
e
)
return
e
:
GetHandler
()
==
Duel
.
GetFieldCard
(
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
1
)
and
not
Duel
.
IsExistingMatchingCard
(
c87468732
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c87468732
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
...
...
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