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
3135b12a
Commit
3135b12a
authored
Sep 24, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mopemope
parent
b9272064
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
expansions/script/c113216.lua
expansions/script/c113216.lua
+3
-2
expansions/script/c113218.lua
expansions/script/c113218.lua
+1
-0
expansions/script/c17055000.lua
expansions/script/c17055000.lua
+1
-1
expansions/script/c81005014.lua
expansions/script/c81005014.lua
+1
-1
No files found.
expansions/script/c113216.lua
View file @
3135b12a
...
...
@@ -4,7 +4,7 @@ cm.name="灵感来袭!"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
113216
+
EFFECT_COUNT_CODE_OATH
)
...
...
@@ -23,8 +23,9 @@ function cm.filter2(c)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
0
,
tp
,
LOCATION_DECK
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
...
...
expansions/script/c113218.lua
View file @
3135b12a
...
...
@@ -35,6 +35,7 @@ function cm.initial_effect(c)
e5
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetCountLimit
(
1
,
m
)
e5
:
SetTarget
(
cm
.
srtg
)
e5
:
SetOperation
(
cm
.
srop
)
c
:
RegisterEffect
(
e5
)
...
...
expansions/script/c17055000.lua
View file @
3135b12a
...
...
@@ -59,7 +59,7 @@ function cm.spcon(e,c)
local
tp
=
c
:
GetControler
()
local
b1
=
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
17055010
,
0
,
0x21
,
4000
,
4000
,
10
,
RACE_DRAGON
,
ATTRIBUTE_LIGHT
)
local
b2
=
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
17055020
,
0
,
0x21
,
4000
,
4000
,
10
,
RACE_DRAGON
,
ATTRIBUTE_DARK
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
(
b1
or
b2
)
and
Duel
.
GetFlagEffect
(
tp
,
17055000
)
>=
0
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
(
b1
or
b2
)
and
Duel
.
GetFlagEffect
(
tp
,
17055000
)
>=
1
0
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
b1
=
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
17055010
,
0
,
0x21
,
4000
,
4000
,
10
,
RACE_DRAGON
,
ATTRIBUTE_LIGHT
)
...
...
expansions/script/c81005014.lua
View file @
3135b12a
...
...
@@ -52,7 +52,7 @@ end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsFaceup
()
and
chkc
~=
c
end
if
chk
==
0
then
return
c
:
IsAttackAbove
(
26
00
)
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
end
if
chk
==
0
then
return
c
:
IsAttackAbove
(
10
00
)
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
c
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
...
...
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