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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
36a8acb0
Commit
36a8acb0
authored
Mar 21, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
16bae0fb
Pipeline
#2715
passed with stages
in 26 minutes and 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
expansions/script/c12040060.lua
expansions/script/c12040060.lua
+1
-1
expansions/script/c33501203.lua
expansions/script/c33501203.lua
+2
-1
No files found.
expansions/script/c12040060.lua
View file @
36a8acb0
...
...
@@ -61,7 +61,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
bm_check_operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--to hand
local
c
=
e
:
GetHandler
(
)
local
c
=
Duel
.
GetFirstMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
m
)
if
c
:
IsLocation
(
LOCATION_DECK
)
then
Duel
.
SendtoHand
(
c
,
tp
,
REASON_EFFECT
)
end
...
...
expansions/script/c33501203.lua
View file @
36a8acb0
...
...
@@ -19,6 +19,7 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetCountLimit
(
1
,
m
+
1
)
e2
:
SetCost
(
cm
.
cost
)
...
...
@@ -59,7 +60,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
cm
.
gvfilter
(
chkc
)
end
if
chk
==
0
then
return
ft
>-
1
and
Duel
.
IsExistingTarget
(
cm
.
gvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
gvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
cm
.
gvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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