Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
REIKAI
ygopro
Commits
2e666e8e
Commit
2e666e8e
authored
Jun 16, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1407 from Tianchenglipu/patch-4
Update Many Synchro Cards
parents
1bfb702e
25c3f3f5
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
1 deletion
+28
-1
script/c17377751.lua
script/c17377751.lua
+4
-0
script/c26268488.lua
script/c26268488.lua
+4
-0
script/c35952884.lua
script/c35952884.lua
+4
-0
script/c39402797.lua
script/c39402797.lua
+4
-0
script/c41517789.lua
script/c41517789.lua
+4
-0
script/c89474727.lua
script/c89474727.lua
+4
-0
script/c97836203.lua
script/c97836203.lua
+4
-1
No files found.
script/c17377751.lua
View file @
2e666e8e
...
@@ -9,6 +9,7 @@ function c17377751.initial_effect(c)
...
@@ -9,6 +9,7 @@ function c17377751.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c17377751
.
sumlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Special Summon
--Special Summon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -21,6 +22,9 @@ function c17377751.initial_effect(c)
...
@@ -21,6 +22,9 @@ function c17377751.initial_effect(c)
e2
:
SetOperation
(
c17377751
.
spop
)
e2
:
SetOperation
(
c17377751
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c17377751
.
sumlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
function
c17377751
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c17377751
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
end
end
...
...
script/c26268488.lua
View file @
2e666e8e
...
@@ -8,6 +8,7 @@ function c26268488.initial_effect(c)
...
@@ -8,6 +8,7 @@ function c26268488.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c26268488
.
sumlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--indes
--indes
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -44,6 +45,9 @@ function c26268488.initial_effect(c)
...
@@ -44,6 +45,9 @@ function c26268488.initial_effect(c)
e4
:
SetOperation
(
c26268488
.
spop
)
e4
:
SetOperation
(
c26268488
.
spop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c26268488
.
sumlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
function
c26268488
.
repfilter
(
c
,
tp
)
function
c26268488
.
repfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsOnField
()
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
GetFlagEffect
(
26268488
)
==
0
return
c
:
IsControler
(
tp
)
and
c
:
IsOnField
()
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
GetFlagEffect
(
26268488
)
==
0
end
end
...
...
script/c35952884.lua
View file @
2e666e8e
...
@@ -8,6 +8,7 @@ function c35952884.initial_effect(c)
...
@@ -8,6 +8,7 @@ function c35952884.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c35952884
.
sumlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--multi attack
--multi attack
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -53,6 +54,9 @@ function c35952884.initial_effect(c)
...
@@ -53,6 +54,9 @@ function c35952884.initial_effect(c)
e6
:
SetCode
(
EVENT_TO_DECK
)
e6
:
SetCode
(
EVENT_TO_DECK
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
function
c35952884
.
sumlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
function
c35952884
.
mfilter
(
c
)
function
c35952884
.
mfilter
(
c
)
return
not
c
:
IsType
(
TYPE_TUNER
)
return
not
c
:
IsType
(
TYPE_TUNER
)
end
end
...
...
script/c39402797.lua
View file @
2e666e8e
...
@@ -8,6 +8,7 @@ function c39402797.initial_effect(c)
...
@@ -8,6 +8,7 @@ function c39402797.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c39402797
.
sumlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroy
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -21,6 +22,9 @@ function c39402797.initial_effect(c)
...
@@ -21,6 +22,9 @@ function c39402797.initial_effect(c)
e2
:
SetOperation
(
c39402797
.
desop
)
e2
:
SetOperation
(
c39402797
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c39402797
.
sumlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
function
c39402797
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c39402797
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
end
end
...
...
script/c41517789.lua
View file @
2e666e8e
...
@@ -8,6 +8,7 @@ function c41517789.initial_effect(c)
...
@@ -8,6 +8,7 @@ function c41517789.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c41517789
.
sumlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -27,6 +28,9 @@ function c41517789.initial_effect(c)
...
@@ -27,6 +28,9 @@ function c41517789.initial_effect(c)
e4
:
SetOperation
(
c41517789
.
atkop
)
e4
:
SetOperation
(
c41517789
.
atkop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c17377751
.
sumlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
function
c41517789
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c41517789
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
GetSummonType
()
~=
SUMMON_TYPE_SYNCHRO
then
return
end
if
e
:
GetHandler
():
GetSummonType
()
~=
SUMMON_TYPE_SYNCHRO
then
return
end
Duel
.
SetChainLimitTillChainEnd
(
aux
.
FALSE
)
Duel
.
SetChainLimitTillChainEnd
(
aux
.
FALSE
)
...
...
script/c89474727.lua
View file @
2e666e8e
...
@@ -8,6 +8,7 @@ function c89474727.initial_effect(c)
...
@@ -8,6 +8,7 @@ function c89474727.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetValue
(
c89474727
.
sumlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--immune
--immune
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -31,6 +32,9 @@ function c89474727.initial_effect(c)
...
@@ -31,6 +32,9 @@ function c89474727.initial_effect(c)
e3
:
SetOperation
(
c89474727
.
spop
)
e3
:
SetOperation
(
c89474727
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c89474727
.
sumlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
function
c89474727
.
cfilter
(
c
)
function
c89474727
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
...
...
script/c97836203.lua
View file @
2e666e8e
...
@@ -8,7 +8,7 @@ function c97836203.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c97836203.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
FALSE
)
e1
:
SetValue
(
c97836203
.
sumlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Negate summon
--Negate summon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -42,6 +42,9 @@ function c97836203.initial_effect(c)
...
@@ -42,6 +42,9 @@ function c97836203.initial_effect(c)
e5
:
SetOperation
(
c97836203
.
spop
)
e5
:
SetOperation
(
c97836203
.
spop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c97836203
.
sumlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
function
c97836203
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c97836203
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentChain
()
==
0
return
Duel
.
GetCurrentChain
()
==
0
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