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
e5dd7afb
Commit
e5dd7afb
authored
Dec 31, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
3608a7c1
Pipeline
#8433
failed with stages
in 12 minutes and 54 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
15 deletions
+20
-15
expansions/script/c12300710.lua
expansions/script/c12300710.lua
+12
-6
expansions/script/c12892099.lua
expansions/script/c12892099.lua
+8
-9
No files found.
expansions/script/c12300710.lua
View file @
e5dd7afb
...
...
@@ -62,6 +62,12 @@ function cm.initial_effect(c)
e8
:
SetTargetRange
(
0xff
,
0xff
)
e8
:
SetValue
(
LOCATION_HAND
)
c
:
RegisterEffect
(
e8
)
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e9
:
SetRange
(
LOCATION_MZONE
)
e9
:
SetCode
(
EVENT_TO_HAND
)
e9
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
chklsn
(
c
)
return
c
:
IsHasEffect
(
12300706
)
or
c
:
IsLinkSetCard
(
0x2d7
)
...
...
@@ -128,12 +134,12 @@ function cm.macon(e)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
>
0
end
function
cm
.
fildes
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSetCard
(
0x2d7
)
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSetCard
(
0x2d7
)
and
c
:
IsReason
(
REASON_DESTROY
)
end
function
cm
.
thtg
(
e
,
c
)
if
cm
.
fildes
(
c
)
then
if
c
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
0
,
c
)
end
return
true
else
return
false
end
return
cm
.
fildes
(
c
)
and
c
:
IsAbleToHand
()
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
mg
=
eg
:
Filter
(
cm
.
fildes
,
nil
)
if
mg
then
Duel
.
ConfirmCards
(
1
-
tp
,
mg
)
end
end
\ No newline at end of file
expansions/script/c12892099.lua
View file @
e5dd7afb
...
...
@@ -6,14 +6,14 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetRange
(
LOCATION_
S
ZONE
)
e2
:
SetRange
(
LOCATION_
F
ZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
cm
.
chfilter
))
e2
:
SetValue
(
300
)
...
...
@@ -23,17 +23,16 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetRange
(
LOCATION_
S
ZONE
)
e4
:
SetRange
(
LOCATION_
F
ZONE
)
e4
:
SetCode
(
EVENT_DESTROY
)
e4
:
Set
Target
(
cm
.
ovtg
)
e4
:
Set
Condition
(
cm
.
ovcon
)
e4
:
SetOperation
(
cm
.
ovop
)
e4
:
SetCountLimit
(
2
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e5
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e5
:
SetRange
(
LOCATION_
S
ZONE
)
e5
:
SetRange
(
LOCATION_
F
ZONE
)
e5
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e5
:
SetTarget
(
cm
.
target1
)
e5
:
SetValue
(
1
)
...
...
@@ -64,14 +63,14 @@ function cm.target1(e,c)
return
c
:
IsSetCard
(
0x8a72
)
or
c
:
IsSetCard
(
0x7a72
)
end
function
cm
.
mfilter
(
c
,
e
,
tp
)
return
Duel
.
GetFlagEffect
(
tp
,
m
)
<
2
and
Duel
.
IsExistingMatchingCard
(
function
(
c
,
mc
)
return
Duel
.
IsExistingMatchingCard
(
function
(
c
,
mc
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
c
:
IsSetCard
(
0x8a72
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
((
mc
:
IsReason
(
REASON_BATTLE
)
and
mc
:
GetReasonPlayer
()
==
tp
and
mc
:
GetReasonCard
():
IsSetCard
(
0x8a72
,
0x7a72
))
or
(
mc
:
IsReason
(
REASON_EFFECT
)
and
mc
:
GetReasonEffect
():
GetHandlerPlayer
()
==
tp
and
mc
:
GetReasonEffect
():
GetHandler
():
IsSetCard
(
0x8a72
,
0x7a72
)))
end
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
c
)
end
function
cm
.
ov
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
cm
.
mfilter
,
1
,
nil
,
e
,
tp
)
end
function
cm
.
ov
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
mfilter
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
m
)
<
2
end
function
cm
.
ovop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
...
...
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