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
Reinen
ygopro-scripts
Commits
05740422
Commit
05740422
authored
Aug 03, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
22f7d05e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
46 additions
and
60 deletions
+46
-60
c14469229.lua
c14469229.lua
+7
-11
c20409757.lua
c20409757.lua
+7
-14
c25231813.lua
c25231813.lua
+7
-7
c62476815.lua
c62476815.lua
+8
-8
c77087109.lua
c77087109.lua
+8
-7
c80335817.lua
c80335817.lua
+8
-12
c81994591.lua
c81994591.lua
+1
-1
No files found.
c14469229.lua
View file @
05740422
...
...
@@ -4,9 +4,10 @@ function c14469229.initial_effect(c)
aux
.
EnablePendulumAttribute
(
c
)
--replace
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EFFECT_
DESTROY_REPLACE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_
INDESTRUCTABLE_COUNT
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetCountLimit
(
1
)
e2
:
SetTarget
(
c14469229
.
indtg
)
e2
:
SetValue
(
c14469229
.
indval
)
...
...
@@ -22,16 +23,11 @@ function c14469229.initial_effect(c)
e3
:
SetOperation
(
c14469229
.
operation
)
c
:
RegisterEffect
(
e3
)
end
function
c14469229
.
indfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsOnField
()
and
c
:
IsReason
(
REASON_EFFECT
)
and
(
c
:
IsSetCard
(
0x1034
)
or
(
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsSetCard
(
0x2034
)))
function
c14469229
.
indtg
(
e
,
c
)
return
c
:
IsSetCard
(
0x1034
)
or
(
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsSetCard
(
0x2034
))
end
function
c14469229
.
indtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c14469229
.
indfilter
,
1
,
nil
,
tp
)
end
return
true
end
function
c14469229
.
indval
(
e
,
c
)
return
c14469229
.
indfilter
(
c
,
e
:
GetHandlerPlayer
())
function
c14469229
.
indval
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
end
function
c14469229
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
...
...
c20409757.lua
View file @
05740422
...
...
@@ -33,13 +33,14 @@ function c20409757.initial_effect(c)
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EFFECT_CHANGE_RSCALE
)
c
:
RegisterEffect
(
e5
)
--
--
indes
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
EFFECT_
DESTROY_REPLACE
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
)
e6
:
SetCode
(
EFFECT_
INDESTRUCTABLE_COUNT
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetTargetRange
(
LOCATION_PZONE
,
0
)
e6
:
SetCountLimit
(
1
)
e6
:
SetTarget
(
c20409757
.
indtg
)
e6
:
SetTarget
(
aux
.
TRUE
)
e6
:
SetValue
(
c20409757
.
indval
)
c
:
RegisterEffect
(
e6
)
end
...
...
@@ -70,14 +71,6 @@ end
function
c20409757
.
slcon
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c20409757
.
slfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
function
c20409757
.
filter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_PZONE
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
==
1
-
tp
end
function
c20409757
.
indtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c20409757
.
filter
,
1
,
nil
,
tp
)
end
return
true
end
function
c20409757
.
indval
(
e
,
c
)
return
c20409757
.
filter
(
c
,
e
:
GetHandlerPlayer
())
function
c20409757
.
indval
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
rp
==
1
-
e
:
GetHandlerPlayer
()
end
c25231813.lua
View file @
05740422
...
...
@@ -16,13 +16,14 @@ function c25231813.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetValue
(
c25231813
.
eqlimit
)
c
:
RegisterEffect
(
e2
)
--
--
indes
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_
CONTINUOUS
+
EFFECT_TYPE_
EQUIP
)
e3
:
SetCode
(
EFFECT_
DESTROY_REPLACE
)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetCode
(
EFFECT_
INDESTRUCTABLE_COUNT
)
e3
:
SetCountLimit
(
2
)
e3
:
Set
Target
(
c25231813
.
reptg1
)
e3
:
Set
Value
(
c25231813
.
indval
)
c
:
RegisterEffect
(
e3
)
--replace
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_EQUIP
)
e4
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
...
...
@@ -50,9 +51,8 @@ function c25231813.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
function
c25231813
.
reptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetEquipTarget
():
IsReason
(
REASON_BATTLE
)
end
return
true
function
c25231813
.
indval
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
end
function
c25231813
.
reptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetEquipTarget
():
IsReason
(
REASON_EFFECT
)
...
...
c62476815.lua
View file @
05740422
--ゴゴゴゴーレム
function
c62476815
.
initial_effect
(
c
)
--battle
des rep
--battle
indes
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_COUNT
)
e1
:
SetCountLimit
(
1
)
e1
:
Set
Target
(
c62476815
.
reptg
)
e1
:
Set
Value
(
c62476815
.
valcon
)
c
:
RegisterEffect
(
e1
)
end
function
c62476815
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDefensePos
()
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
return
true
function
c62476815
.
valcon
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
and
e
:
GetHandler
():
IsDefensePos
()
end
c77087109.lua
View file @
05740422
--クロック・リゾネーター
function
c77087109
.
initial_effect
(
c
)
--
battle des rep
--
indes
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_COUNT
)
e1
:
SetCountLimit
(
1
)
e1
:
Set
Target
(
c77087109
.
reptg
)
e1
:
Set
Value
(
c77087109
.
valcon
)
c
:
RegisterEffect
(
e1
)
end
function
c77087109
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsPosition
(
POS_FACEUP_DEFENSE
)
end
return
true
function
c77087109
.
valcon
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
and
e
:
GetHandler
():
IsDefensePos
()
end
c80335817.lua
View file @
05740422
...
...
@@ -2,11 +2,12 @@
function
c80335817
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
--
--
indes
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EFFECT_
DESTROY_REPLACE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_
INDESTRUCTABLE_COUNT
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetCountLimit
(
1
)
e2
:
SetTarget
(
c80335817
.
indtg
)
e2
:
SetValue
(
c80335817
.
indval
)
...
...
@@ -31,16 +32,11 @@ function c80335817.initial_effect(c)
e4
:
SetOperation
(
c80335817
.
rmop
)
c
:
RegisterEffect
(
e4
)
end
function
c80335817
.
filter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
==
1
-
tp
function
c80335817
.
indtg
(
e
,
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
end
function
c80335817
.
indtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c80335817
.
filter
,
1
,
nil
,
tp
)
end
return
true
end
function
c80335817
.
indval
(
e
,
c
)
return
c80335817
.
filter
(
c
,
e
:
GetHandlerPlayer
())
function
c80335817
.
indval
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
rp
==
1
-
e
:
GetHandlerPlayer
()
end
function
c80335817
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c81994591.lua
View file @
05740422
...
...
@@ -36,7 +36,7 @@ end
function
c81994591
.
indop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_
DESTROY_SUBSTITUT
E
)
e1
:
SetCode
(
EFFECT_
INDESTRUCTABL
E
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x1d
))
e1
:
SetReset
(
RESET_PHASE
+
PHASE_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