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
Ai
ygopro-222DIY-cards
Commits
2f701ce3
Commit
2f701ce3
authored
Jul 18, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fnmdp
parent
a994af61
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c37564529.lua
expansions/script/c37564529.lua
+1
-1
expansions/script/c37564553.lua
expansions/script/c37564553.lua
+2
-2
No files found.
expansions/222DIY.cdb
View file @
2f701ce3
No preview for this file type
expansions/script/c37564529.lua
View file @
2f701ce3
...
...
@@ -58,7 +58,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
return
rp
==
tp
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
rc
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
and
rc
.
Senya_desc_with_nanahira
and
rc
:
IsCanTurnSet
()
and
rc
:
IsRelateToEffect
(
re
)
and
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
return
rp
==
tp
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
rc
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
and
rc
.
Senya_desc_with_nanahira
and
rc
:
IsCanTurnSet
()
and
rc
:
IsRelateToEffect
(
re
)
and
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
and
not
rc
:
IsType
(
TYPE_CONTINUOUS
)
end
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
SelectYesNo
(
tp
,
m
*
16
+
1
)
then
return
end
...
...
expansions/script/c37564553.lua
View file @
2f701ce3
...
...
@@ -47,7 +47,7 @@ function cm.cnegcon(e,tp,eg,ep,ev,re,r,rp)
local
te
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
m
)
if
not
te
or
te
:
GetHandler
()
~=
e
:
GetHandler
()
then
return
false
end
local
rc
=
re
:
GetHandler
()
return
rp
==
tp
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
rc
.
Senya_desc_with_nanahira
and
rc
:
IsRelateToEffect
(
re
)
return
rp
==
tp
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
rc
.
Senya_desc_with_nanahira
and
rc
:
IsRelateToEffect
(
re
)
and
not
rc
:
IsType
(
TYPE_CONTINUOUS
)
end
function
cm
.
cnegop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
e
:
GetHandler
():
GetOriginalCode
())
...
...
@@ -57,7 +57,7 @@ function cm.sfilter(c,tp)
return
c
:
GetSummonPlayer
()
==
1
-
tp
end
function
cm
.
ssfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_TRAP
)
and
c
.
Senya_desc_with_nanahira
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetOriginalCode
(),
0
,
0x21
,
7
,
2850
,
2100
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
)
return
c
:
IsType
(
TYPE_TRAP
)
and
c
.
Senya_desc_with_nanahira
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetOriginalCode
(),
0
,
0x21
,
7
,
2850
,
2100
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
)
and
not
c
:
IsType
(
TYPE_CONTINUOUS
)
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
)
>
0
and
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
cm
.
ssfilter
,
1
,
nil
,
e
,
tp
)
and
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
end
...
...
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