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
12eae6e3
Commit
12eae6e3
authored
Jul 20, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
50b9fe9f
Pipeline
#14663
passed with stages
in 33 minutes and 12 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
expansions/script/c12300653.lua
expansions/script/c12300653.lua
+1
-1
expansions/script/c13254034.lua
expansions/script/c13254034.lua
+1
-1
expansions/script/c13254072.lua
expansions/script/c13254072.lua
+6
-3
No files found.
expansions/script/c12300653.lua
View file @
12eae6e3
...
@@ -20,7 +20,7 @@ function s.initial_effect(c)
...
@@ -20,7 +20,7 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCondition
(
s
.
adcon
)
e3
:
SetCondition
(
s
.
adcon
)
e3
:
SetTarget
(
s
.
adtg
)
e3
:
SetTarget
(
s
.
adtg
)
...
...
expansions/script/c13254034.lua
View file @
12eae6e3
...
@@ -48,7 +48,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -48,7 +48,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
tp
,
600
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
600
,
REASON_EFFECT
)
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c13254072.lua
View file @
12eae6e3
...
@@ -26,6 +26,9 @@ function cm.initial_effect(c)
...
@@ -26,6 +26,9 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
spop
)
e2
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
elements
=
{{
"tama_elements"
,{{
TAMA_ELEMENT_WATER
,
1
},{
TAMA_ELEMENT_LIFE
,
2
}}}}
cm
[
c
]
=
elements
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
aux
.
NegateEffectMonsterFilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
aux
.
NegateEffectMonsterFilter
(
chkc
)
end
...
@@ -42,11 +45,11 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,11 +45,11 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
else
else
local
hb
=
true
local
hb
=
true
local
tc1
=
nil
local
tc1
=
nil
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
m
,
1
))
then
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
and
not
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
DiscardHand
(
1
-
tp
,
aux
.
TRUE
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
1
-
tp
,
aux
.
TRUE
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
tc1
=
e
:
GetOperatedGroup
()
tc1
=
Duel
.
GetOperatedGroup
()
hb
=
false
hb
=
false
if
not
hb
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>
0
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
m
,
2
))
then
if
not
hb
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
Duel
.
DiscardHand
(
tp
,
aux
.
TRUE
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
aux
.
TRUE
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
hb
=
true
hb
=
true
end
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