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
250013e6
Commit
250013e6
authored
Aug 23, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
9c11de53
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
expansions/script/c12070050.lua
expansions/script/c12070050.lua
+1
-1
expansions/script/c12084000.lua
expansions/script/c12084000.lua
+3
-3
expansions/script/c12084004.lua
expansions/script/c12084004.lua
+4
-1
No files found.
expansions/script/c12070050.lua
View file @
250013e6
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
--special summon other monsters
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_S
PECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_S
EARCH
+
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c12084000.lua
View file @
250013e6
...
...
@@ -23,10 +23,10 @@ function cm.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_CANNOT_REMOVE
)
e4
:
SetRange
(
LOCATION_FZONE
)
e4
:
SetTargetRange
(
LOCATION_
GRAVE
,
0
)
e4
:
SetTargetRange
(
LOCATION_
DECK
,
0
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
e5
:
SetTargetRange
(
0
,
LOCATION_
GRAVE
)
e5
:
SetTargetRange
(
0
,
LOCATION_
DECK
)
c
:
RegisterEffect
(
e5
)
--CANNOT_DISCARD_DECK
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -46,7 +46,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetCode
(
EVENT_LEAVE_FIELD
)
...
...
expansions/script/c12084004.lua
View file @
250013e6
...
...
@@ -13,6 +13,9 @@ end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9fa8
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
end
function
cm
.
filter
(
c
)
return
c
:
IsAbleToRemove
()
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
@@ -24,7 +27,7 @@ end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
5
,
nil
)
Duel
.
Remove
(
g
,
POS_FACE
UP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACE
DOWN
,
REASON_EFFECT
)
end
function
cm
.
actop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
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