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
2b3a9e59
Commit
2b3a9e59
authored
Apr 14, 2024
by
Tachibana
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pic
parent
5e4a8db1
Pipeline
#26447
passed with stages
in 22 minutes and 56 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
13 deletions
+19
-13
expansions/script/c30683085.lua
expansions/script/c30683085.lua
+6
-0
expansions/script/c30684015.lua
expansions/script/c30684015.lua
+4
-4
expansions/script/c67200263.lua
expansions/script/c67200263.lua
+9
-9
No files found.
expansions/script/c30683085.lua
View file @
2b3a9e59
...
...
@@ -188,11 +188,17 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp)
if
not
Auxiliary
.
HackIsAbleToGrave
then
Auxiliary
.
HackIsAbleToGrave
=
true
HackIsAbleToGrave
=
Card
.
IsAbleToGrave
HackIsAbleToGraveAsCost
=
Card
.
IsAbleToGraveAsCost
function
Card
.
IsAbleToGrave
(
c
)
if
rc
:
IsFaceup
()
then
return
false
end
end
function
Card
.
IsAbleToGraveAsCost
(
c
)
if
rc
:
IsFaceup
()
then
return
false
end
end
end
if
not
rc
:
IsType
(
TYPE_EFFECT
)
then
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c30684015.lua
View file @
2b3a9e59
...
...
@@ -67,13 +67,13 @@ function cm.counterfilter(c)
return
c
:
IsSetCard
(
0xc19
)
end
function
cm
.
spfilter
(
c
)
return
c
:
IsAbleTo
Hand
AsCost
()
return
c
:
IsAbleTo
Grave
AsCost
()
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
RELEAS
E
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
TOGRAV
E
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
99
,
nil
)
if
g
then
g
:
KeepAlive
()
...
...
@@ -174,13 +174,13 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp)
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
1
))
end
function
cm
.
efilter
(
e
,
te
)
return
not
te
:
GetOwner
():
IsSetCard
(
0xc19
)
and
return
not
(
te
:
GetOwner
():
IsSetCard
(
0xc19
)
and
(
te
:
GetCode
()
&
EFFECT_SET_ATTACK
~=
0
or
te
:
GetCode
()
&
EFFECT_SET_ATTACK_FINAL
~=
0
or
te
:
GetCode
()
&
EFFECT_SET_BASE_ATTACK
~=
0
or
te
:
GetCode
()
&
EFFECT_SET_BASE_ATTACK_FINAL
~=
0
or
te
:
GetCode
()
&
EFFECT_SET_BATTLE_ATTACK
~=
0
or
te
:
GetCode
()
&
EFFECT_UPDATE_ATTACK
~=
0
)
or
te
:
GetCode
()
&
EFFECT_UPDATE_ATTACK
~=
0
)
)
end
...
...
expansions/script/c67200263.lua
View file @
2b3a9e59
...
...
@@ -36,8 +36,8 @@ function c67200263.spfilter1(c,tp)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x674
)
and
c
:
IsReleasable
()
end
function
c67200263
.
tgcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
c67200263
.
spfilter1
,
1
,
nil
)
end
local
sg
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
c67200263
.
spfilter1
,
1
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c67200263
.
spfilter1
,
1
,
nil
)
end
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c67200263
.
spfilter1
,
1
,
1
,
nil
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
function
c67200263
.
tgfilter
(
c
)
...
...
@@ -56,15 +56,15 @@ function c67200263.tgop(e,tp,eg,ep,ev,re,r,rp)
end
--
function
c67200263
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
function
c67200263
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
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