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
Soulgamer
ygopro-222DIY-cards
Commits
da2a8eb6
Commit
da2a8eb6
authored
Oct 03, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
4dbad779
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
expansions/script/c85400100.lua
expansions/script/c85400100.lua
+4
-5
expansions/script/c9310037.lua
expansions/script/c9310037.lua
+1
-2
No files found.
expansions/script/c85400100.lua
View file @
da2a8eb6
...
@@ -23,8 +23,8 @@ function c85400100.initial_effect(c)
...
@@ -23,8 +23,8 @@ function c85400100.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
-----改变「宫子」的控制权
-----改变「宫子」的控制权
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_
REMOVE
+
CATEGORY_
TOKEN
)
e3
:
SetType
(
EFFECT_TYPE_
TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_
CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetCondition
(
c85400100
.
fdfdfd
)
e3
:
SetCondition
(
c85400100
.
fdfdfd
)
e3
:
SetTarget
(
c85400100
.
ff
)
e3
:
SetTarget
(
c85400100
.
ff
)
...
@@ -51,6 +51,7 @@ function c85400100.atlimit(e,c)
...
@@ -51,6 +51,7 @@ function c85400100.atlimit(e,c)
return
c
:
IsCode
(
85400000
)
return
c
:
IsCode
(
85400000
)
end
end
function
c85400100
.
fdfdfd
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c85400100
.
fdfdfd
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tp
=
e
:
GetHandler
():
GetPreviousControler
()
return
Duel
.
GetFlagEffect
(
tp
,
85400100
)
==
0
return
Duel
.
GetFlagEffect
(
tp
,
85400100
)
==
0
end
end
function
c85400100
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c85400100
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -109,9 +110,7 @@ function c85400100.ff(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -109,9 +110,7 @@ function c85400100.ff(e,tp,eg,ep,ev,re,r,rp,chk)
local
tp
=
c
:
GetPreviousControler
()
local
tp
=
c
:
GetPreviousControler
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
85400300
,
0
,
0x4011
,
300
,
100
,
1
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
85400300
,
0
,
0x4011
,
300
,
100
,
1
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
end
if
Duel
.
IsExistingMatchingCard
(
c85400100
.
bcbcbcb
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
end
...
...
expansions/script/c9310037.lua
View file @
da2a8eb6
...
@@ -3,8 +3,7 @@ function c9310037.initial_effect(c)
...
@@ -3,8 +3,7 @@ function c9310037.initial_effect(c)
--synchro summon
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x3f91
),
aux
.
NonTuner
(
nil
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x3f91
),
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddCodeList
(
c
,
20000000
)
aux
.
AddCodeList
(
c
,
20000000
,
20000100
)
aux
.
AddCodeList
(
c
,
20000100
)
--change code
--change code
aux
.
EnableChangeCode
(
c
,
20000000
,
LOCATION_MZONE
)
aux
.
EnableChangeCode
(
c
,
20000000
,
LOCATION_MZONE
)
--change code
--change code
...
...
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