Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
xiaoye
ygopro-222DIY-cards
Commits
b1ab032a
Commit
b1ab032a
authored
Aug 01, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7ecaa160
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c12038011.lua
expansions/script/c12038011.lua
+4
-4
expansions/script/c65060062.lua
expansions/script/c65060062.lua
+2
-2
No files found.
expansions/script/c12038011.lua
View file @
b1ab032a
...
@@ -4,7 +4,7 @@ local m=12038011
...
@@ -4,7 +4,7 @@ local m=12038011
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
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
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
@@ -48,7 +48,7 @@ function cm.stfilter1(c,tc)
...
@@ -48,7 +48,7 @@ function cm.stfilter1(c,tc)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
and
c
:
IsPosition
(
POS_FACEUP
)
and
c
:
IsCanBeSynchroMaterial
(
tc
)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
and
c
:
IsPosition
(
POS_FACEUP
)
and
c
:
IsCanBeSynchroMaterial
(
tc
)
end
end
function
cm
.
stfilter2
(
c
,
tc
)
function
cm
.
stfilter2
(
c
,
tc
)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
and
not
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsPosition
(
POS_FACEUP
)
and
c
:
IsCanBeSynchroMaterial
(
tc
)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
and
c
:
IsPosition
(
POS_FACEUP
)
and
c
:
IsCanBeSynchroMaterial
(
tc
)
end
end
function
cm
.
stfilterg
(
g
,
tp
,
tc
,
lv
,
smat
)
function
cm
.
stfilterg
(
g
,
tp
,
tc
,
lv
,
smat
)
if
smat
then
if
smat
then
...
@@ -64,7 +64,7 @@ function cm.sycon(e,c,smat,mg)
...
@@ -64,7 +64,7 @@ function cm.sycon(e,c,smat,mg)
local
lv
=
e
:
GetLabel
()
local
lv
=
e
:
GetLabel
()
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
if
not
mg
then
if
not
mg
then
mg
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
mg
=
Duel
.
GetMatchingGroup
(
Card
.
IsLevelAbove
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
1
)
end
end
if
smat
then
if
smat
then
mg
:
RemoveCard
(
smat
)
mg
:
RemoveCard
(
smat
)
...
@@ -129,4 +129,4 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -129,4 +129,4 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
srprzm
.
retop
)
e1
:
SetOperation
(
srprzm
.
retop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
end
\ No newline at end of file
expansions/script/c65060062.lua
View file @
b1ab032a
...
@@ -73,14 +73,14 @@ function c65060062.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,14 +73,14 @@ function c65060062.op(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c65060062
.
eqlimit
)
e1
:
SetValue
(
c65060062
.
eqlimit
)
t
c
:
RegisterEffect
(
e1
)
r
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_ADD_SETCODE
)
e2
:
SetCode
(
EFFECT_ADD_SETCODE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetValue
(
0x5daa
)
e2
:
SetValue
(
0x5daa
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
t
c
:
RegisterEffect
(
e2
)
r
c
:
RegisterEffect
(
e2
)
end
end
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