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
5c665dfe
Commit
5c665dfe
authored
May 12, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
micro
parent
f3def031
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
expansions/script/c10200855.lua
expansions/script/c10200855.lua
+5
-5
expansions/script/c33310210.lua
expansions/script/c33310210.lua
+2
-2
expansions/script/c33310214.lua
expansions/script/c33310214.lua
+1
-1
No files found.
expansions/script/c10200855.lua
View file @
5c665dfe
...
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
c
:
SetSPSummonOnce
(
10200855
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProc
FunFunRep
(
c
,
cm
.
filter1
,
cm
.
filter2
,
1
,
63
,
true
,
true
)
aux
.
AddFusionProc
CodeFunRep
(
c
,
10200655
,
cm
.
filter
,
1
,
63
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsReleasable
,
LOCATION_HAND
,
0
,
Duel
.
Release
,
REASON_COST
+
REASON_MATERIAL
)
--spsummon condition
local
e0
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -23,12 +23,12 @@ function cm.initial_effect(c)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
filter1
(
c
)
return
c
:
IsCode
(
10200655
)
and
c
:
IsLocation
(
LOCATION_HAND
)
end
function
cm
.
filter2
(
c
)
function
cm
.
filter
(
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsLocation
(
LOCATION_HAND
)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
cm
.
chainlm
(
e
,
rp
,
tp
)
return
tp
==
rp
...
...
expansions/script/c33310210.lua
View file @
5c665dfe
...
...
@@ -49,8 +49,8 @@ function c33310210.thfilter(c)
return
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c33310210
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c33310210
.
thfilter
(
chkc
)
and
e
:
GetHandler
():
GetFlagEffect
(
33310210
)
==
0
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c33310210
.
thfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c33310210
.
thfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c33310210
.
thfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
and
e
:
GetHandler
():
GetFlagEffect
(
33310210
)
==
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33310210
.
thfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
...
...
expansions/script/c33310214.lua
View file @
5c665dfe
...
...
@@ -36,7 +36,7 @@ function c33310214.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
)
or
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
>
0
end
end
function
c33310214
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
>
0
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
b1
=
Duel
.
IsPlayerCanDraw
(
tp
)
local
b2
=
g
:
GetCount
()
>
0
local
off
=
1
...
...
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