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
18d2fe0d
Commit
18d2fe0d
authored
Nov 24, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foo foo
parent
44dbd714
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
9 deletions
+13
-9
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12035008.lua
expansions/script/c12035008.lua
+2
-2
expansions/script/c12040015.lua
expansions/script/c12040015.lua
+4
-2
expansions/script/c12041003.lua
expansions/script/c12041003.lua
+1
-1
expansions/script/c12045040.lua
expansions/script/c12045040.lua
+1
-1
expansions/script/c12059010.lua
expansions/script/c12059010.lua
+1
-2
expansions/script/c12081010.lua
expansions/script/c12081010.lua
+4
-1
No files found.
expansions/222DIY.cdb
View file @
18d2fe0d
No preview for this file type
expansions/script/c12035008.lua
View file @
18d2fe0d
...
...
@@ -8,7 +8,7 @@ function cm.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_ADD_EXTRA_TRIBUTE
)
e1
:
SetTargetRange
(
LOCATION_SZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
Is
SetCard
,
0xfa4
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
Is
Type
,
TYPE_CONTINUOUS
))
e1
:
SetValue
(
POS_FACEUP_ATTACK
)
c
:
RegisterEffect
(
e1
)
--Release
...
...
@@ -148,4 +148,4 @@ function cm.atkfilter(c)
end
function
cm
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
atkfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
*
200
end
end
\ No newline at end of file
expansions/script/c12040015.lua
View file @
18d2fe0d
...
...
@@ -35,8 +35,9 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_
SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAINING
)
ge1
:
SetRange
(
LOCATION_MZONE
)
ge1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
ge1
:
SetOperation
(
cm
.
checkop
)
c
:
RegisterEffect
(
ge1
)
...
...
@@ -52,8 +53,9 @@ function cm.initial_effect(c)
end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
then
if
re
:
GetHandler
()
==
c
and
c
:
IsFaceup
()
then
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
Debug
.
Message
(
e
:
GetHandler
():
GetFlagEffect
(
m
))
end
end
function
cm
.
mfiter
(
c
)
...
...
expansions/script/c12041003.lua
View file @
18d2fe0d
...
...
@@ -73,7 +73,7 @@ function c12041003.operation(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
end
function
c12041003
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x3faa
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
return
c
:
IsSetCard
(
0x3faa
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
function
c12041003
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c12041003
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
end
...
...
expansions/script/c12045040.lua
View file @
18d2fe0d
...
...
@@ -75,7 +75,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetOperatedGroup
()
if
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_DECK
)
then
Duel
.
ShuffleDeck
(
tp
)
end
local
ct
=
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
+
LOCATION_EXTRA
)
if
ct
==
2
then
if
ct
==
3
then
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
...
...
expansions/script/c12059010.lua
View file @
18d2fe0d
...
...
@@ -22,7 +22,6 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCost
(
cm
.
cost1
)
e3
:
SetTarget
(
cm
.
tg1
)
e3
:
SetOperation
(
cm
.
op1
)
...
...
@@ -123,7 +122,7 @@ function cm.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg
=
og
:
Filter
(
cm
.
cfilter3
,
nil
)
local
lg
=
mg
:
Select
(
tp
,
1
,
63
,
nil
)
Duel
.
SendtoGrave
(
lg
,
REASON_COST
)
local
tt
=
Duel
.
GetOperatedGroup
()
local
tt
=
Duel
.
GetOperatedGroup
()
:
GetCount
()
e
:
SetLabel
(
tt
)
Duel
.
RaiseSingleEvent
(
c
,
EVENT_DETACH_MATERIAL
,
e
,
0
,
0
,
0
,
0
)
end
...
...
expansions/script/c12081010.lua
View file @
18d2fe0d
...
...
@@ -12,7 +12,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCondition
(
cm
.
sp
con
)
e1
:
SetCondition
(
cm
.
th
con
)
e1
:
SetCost
(
cm
.
spcost
)
e1
:
SetTarget
(
cm
.
sptg
)
e1
:
SetOperation
(
cm
.
spop
)
...
...
@@ -21,6 +21,9 @@ end
function
cm
.
mfilter
(
c
)
return
c
:
IsType
(
TYPE_XYZ
+
TYPE_SYNCHRO
)
end
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
...
...
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