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
ca0f5232
Commit
ca0f5232
authored
Dec 02, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a204149a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
expansions/script/c12033014.lua
expansions/script/c12033014.lua
+1
-1
expansions/script/c12042013.lua
expansions/script/c12042013.lua
+1
-1
expansions/script/c12042030.lua
expansions/script/c12042030.lua
+4
-0
expansions/script/c65010072.lua
expansions/script/c65010072.lua
+1
-1
No files found.
expansions/script/c12033014.lua
View file @
ca0f5232
...
...
@@ -47,7 +47,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
end
function
cm
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
IsActiveType
(
TYPE_QUICKPLAY
)
and
rp
==
tp
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
return
re
and
re
:
IsActiveType
(
TYPE_QUICKPLAY
)
and
r
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
r
p
==
tp
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
function
cm
.
recop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_EFFECT
)
...
...
expansions/script/c12042013.lua
View file @
ca0f5232
...
...
@@ -58,7 +58,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsChainNegatable
(
ev
)
return
Duel
.
IsChainNegatable
(
ev
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
12042000
)
end
function
cm
.
fselect
(
g
,
mc
)
return
g
:
IsContains
(
mc
)
...
...
expansions/script/c12042030.lua
View file @
ca0f5232
...
...
@@ -25,10 +25,14 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCountLimit
(
1
,
m
+
100
)
e2
:
SetCondition
(
cm
.
tdcon
)
e2
:
SetTarget
(
cm
.
tdtg
)
e2
:
SetOperation
(
cm
.
tdop
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
12042000
)
end
function
cm
.
mfilter
(
c
)
return
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
and
c
:
IsRace
(
RACE_INSECT
)
end
...
...
expansions/script/c65010072.lua
View file @
ca0f5232
...
...
@@ -92,7 +92,7 @@ end
function
c65010072
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c65010072
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c65010072
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
:
GetFirst
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
then
c
:
RegisterFlagEffect
(
65010072
,
0
,
0
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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