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
acb1c040
Commit
acb1c040
authored
Nov 26, 2019
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua fix
parent
c669afb2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
98 additions
and
98 deletions
+98
-98
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33700424.lua
expansions/script/c33700424.lua
+98
-98
No files found.
expansions/222DIY.cdb
View file @
acb1c040
No preview for this file type
expansions/script/c33700424.lua
View file @
acb1c040
...
...
@@ -85,7 +85,7 @@ function s.countop(e, tp, eg, ep, ev, re, r, rp)
end
function
s
.
drcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
id
)
==
0
return
e
:
GetHandler
():
GetFlagEffect
(
id
)
==
0
and
(
tp
==
Duel
.
GetTurnPlayer
())
end
function
s
.
drtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -96,7 +96,7 @@ function s.drtg2(e, tp, eg, ep, ev, re, r, rp, chk)
Duel
.
SetTargetParam
(
3
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
3
)
end
function
s
.
setfilter
(
c
,
tp
)
function
s
.
setfilter
(
c
,
e
,
tp
)
if
c
:
IsType
(
TYPE_MONSTER
)
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
...
...
@@ -108,7 +108,7 @@ end
function
s
.
drop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
s
.
setfilter
,
nil
,
tp
)
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
s
.
setfilter
,
nil
,
e
,
tp
)
local
c
=
e
:
GetHandler
()
if
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
c
)
and
og
then
local
cg
=
Group
.
CreateGroup
()
...
...
@@ -122,7 +122,7 @@ function s.drop2(e, tp, eg, ep, ev, re, r, rp)
end
cg
:
AddCard
(
tc
)
og
:
RemoveCard
(
tc
)
og
=
og
:
Filter
(
s
.
setfilter
,
nil
,
tp
)
og
=
og
:
Filter
(
s
.
setfilter
,
nil
,
e
,
tp
)
end
Duel
.
SpecialSummonComplete
()
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
...
...
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