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
ad4cf9e6
Commit
ad4cf9e6
authored
May 04, 2016
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove setcode
parent
b4f2969f
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
0 additions
and
84 deletions
+0
-84
c21521304.lua
c21521304.lua
+0
-7
c23204029.lua
c23204029.lua
+0
-7
c34566435.lua
c34566435.lua
+0
-7
c36953371.lua
c36953371.lua
+0
-7
c40945356.lua
c40945356.lua
+0
-7
c42880485.lua
c42880485.lua
+0
-7
c45467446.lua
c45467446.lua
+0
-7
c45531624.lua
c45531624.lua
+0
-7
c494922.lua
c494922.lua
+0
-7
c75988594.lua
c75988594.lua
+0
-7
c78274190.lua
c78274190.lua
+0
-7
c85528209.lua
c85528209.lua
+0
-7
No files found.
c21521304.lua
View file @
ad4cf9e6
...
@@ -25,13 +25,6 @@ function c21521304.initial_effect(c)
...
@@ -25,13 +25,6 @@ function c21521304.initial_effect(c)
e2
:
SetTarget
(
c21521304
.
sptg
)
e2
:
SetTarget
(
c21521304
.
sptg
)
e2
:
SetOperation
(
c21521304
.
spop
)
e2
:
SetOperation
(
c21521304
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--add setcode
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_ADD_SETCODE
)
e3
:
SetValue
(
0x107f
)
c
:
RegisterEffect
(
e3
)
end
end
c21521304
.
xyz_number
=
39
c21521304
.
xyz_number
=
39
function
c21521304
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21521304
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c23204029.lua
View file @
ad4cf9e6
...
@@ -31,13 +31,6 @@ function c23204029.initial_effect(c)
...
@@ -31,13 +31,6 @@ function c23204029.initial_effect(c)
e3
:
SetTarget
(
c23204029
.
target
)
e3
:
SetTarget
(
c23204029
.
target
)
e3
:
SetOperation
(
c23204029
.
operation
)
e3
:
SetOperation
(
c23204029
.
operation
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--add setcode
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e4
:
SetCode
(
EFFECT_ADD_SETCODE
)
e4
:
SetValue
(
0x3008
)
c
:
RegisterEffect
(
e4
)
end
end
function
c23204029
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c23204029
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
aux
.
disfilter1
(
chkc
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
aux
.
disfilter1
(
chkc
)
end
...
...
c34566435.lua
View file @
ad4cf9e6
...
@@ -11,13 +11,6 @@ function c34566435.initial_effect(c)
...
@@ -11,13 +11,6 @@ function c34566435.initial_effect(c)
e1
:
SetTarget
(
c34566435
.
target
)
e1
:
SetTarget
(
c34566435
.
target
)
e1
:
SetOperation
(
c34566435
.
operation
)
e1
:
SetOperation
(
c34566435
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--add setcode
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetCode
(
EFFECT_ADD_SETCODE
)
e2
:
SetValue
(
0xad
)
c
:
RegisterEffect
(
e2
)
end
end
function
c34566435
.
filter
(
c
)
function
c34566435
.
filter
(
c
)
return
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0xad
)
return
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0xad
)
...
...
c36953371.lua
View file @
ad4cf9e6
...
@@ -18,13 +18,6 @@ function c36953371.initial_effect(c)
...
@@ -18,13 +18,6 @@ function c36953371.initial_effect(c)
e2
:
SetTarget
(
c36953371
.
destg
)
e2
:
SetTarget
(
c36953371
.
destg
)
e2
:
SetOperation
(
c36953371
.
desop
)
e2
:
SetOperation
(
c36953371
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--add setcode
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_ADD_SETCODE
)
e3
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e3
)
end
end
function
c36953371
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c36953371
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
...
...
c40945356.lua
View file @
ad4cf9e6
...
@@ -26,13 +26,6 @@ function c40945356.initial_effect(c)
...
@@ -26,13 +26,6 @@ function c40945356.initial_effect(c)
e2
:
SetTarget
(
c40945356
.
target2
)
e2
:
SetTarget
(
c40945356
.
target2
)
e2
:
SetOperation
(
c40945356
.
operation2
)
e2
:
SetOperation
(
c40945356
.
operation2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--add setcode
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_ADD_SETCODE
)
e3
:
SetValue
(
0x2b
)
c
:
RegisterEffect
(
e3
)
end
end
function
c40945356
.
cfilter
(
c
)
function
c40945356
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x2b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x2b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDiscardable
()
...
...
c42880485.lua
View file @
ad4cf9e6
...
@@ -52,13 +52,6 @@ function c42880485.initial_effect(c)
...
@@ -52,13 +52,6 @@ function c42880485.initial_effect(c)
e8
:
SetCode
(
EFFECT_DEFENCE_ATTACK
)
e8
:
SetCode
(
EFFECT_DEFENCE_ATTACK
)
e8
:
SetValue
(
1
)
e8
:
SetValue
(
1
)
c
:
RegisterEffect
(
e8
)
c
:
RegisterEffect
(
e8
)
--add setcode
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
SetCode
(
EFFECT_ADD_SETCODE
)
e9
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e9
)
end
end
function
c42880485
.
splimcon
(
e
)
function
c42880485
.
splimcon
(
e
)
return
not
e
:
GetHandler
():
IsForbidden
()
return
not
e
:
GetHandler
():
IsForbidden
()
...
...
c45467446.lua
View file @
ad4cf9e6
...
@@ -36,13 +36,6 @@ function c45467446.initial_effect(c)
...
@@ -36,13 +36,6 @@ function c45467446.initial_effect(c)
e5
:
SetTarget
(
c45467446
.
sptg
)
e5
:
SetTarget
(
c45467446
.
sptg
)
e5
:
SetOperation
(
c45467446
.
spop
)
e5
:
SetOperation
(
c45467446
.
spop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--add setcode
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e6
:
SetCode
(
EFFECT_ADD_SETCODE
)
e6
:
SetValue
(
0xdd
)
c
:
RegisterEffect
(
e6
)
end
end
function
c45467446
.
rmfilter
(
c
)
function
c45467446
.
rmfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToRemove
()
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToRemove
()
...
...
c45531624.lua
View file @
ad4cf9e6
...
@@ -27,13 +27,6 @@ function c45531624.initial_effect(c)
...
@@ -27,13 +27,6 @@ function c45531624.initial_effect(c)
e3
:
SetTarget
(
c45531624
.
drtg
)
e3
:
SetTarget
(
c45531624
.
drtg
)
e3
:
SetOperation
(
c45531624
.
drop
)
e3
:
SetOperation
(
c45531624
.
drop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--add setcode
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e4
:
SetCode
(
EFFECT_ADD_SETCODE
)
e4
:
SetValue
(
0xe4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c45531624
.
atcon
(
e
)
function
c45531624
.
atcon
(
e
)
return
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
LOCATION_HAND
,
0
)
>=
1
return
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
LOCATION_HAND
,
0
)
>=
1
...
...
c494922.lua
View file @
ad4cf9e6
...
@@ -21,13 +21,6 @@ function c494922.initial_effect(c)
...
@@ -21,13 +21,6 @@ function c494922.initial_effect(c)
e2
:
SetTarget
(
c494922
.
settg
)
e2
:
SetTarget
(
c494922
.
settg
)
e2
:
SetOperation
(
c494922
.
setop
)
e2
:
SetOperation
(
c494922
.
setop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--add setcode
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_ADD_SETCODE
)
e3
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e3
)
end
end
function
c494922
.
filter
(
c
)
function
c494922
.
filter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
c75988594.lua
View file @
ad4cf9e6
...
@@ -3,13 +3,6 @@ function c75988594.initial_effect(c)
...
@@ -3,13 +3,6 @@ function c75988594.initial_effect(c)
--synchro summon
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--add setcode
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_ADD_SETCODE
)
e1
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e1
)
--salvage
--salvage
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
75988594
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
75988594
,
0
))
...
...
c78274190.lua
View file @
ad4cf9e6
...
@@ -36,13 +36,6 @@ function c78274190.initial_effect(c)
...
@@ -36,13 +36,6 @@ function c78274190.initial_effect(c)
e5
:
SetTarget
(
c78274190
.
target
)
e5
:
SetTarget
(
c78274190
.
target
)
e5
:
SetOperation
(
c78274190
.
operation
)
e5
:
SetOperation
(
c78274190
.
operation
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--add setcode
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e6
:
SetCode
(
EFFECT_ADD_SETCODE
)
e6
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e6
)
end
end
function
c78274190
.
sccon
(
e
)
function
c78274190
.
sccon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
...
...
c85528209.lua
View file @
ad4cf9e6
...
@@ -3,13 +3,6 @@ function c85528209.initial_effect(c)
...
@@ -3,13 +3,6 @@ function c85528209.initial_effect(c)
--synchro summon
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x9a
),
1
)
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x9a
),
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--add setcode
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_ADD_SETCODE
)
e1
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e1
)
--defence attack
--defence attack
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
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