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
12ffddbd
Commit
12ffddbd
authored
Feb 07, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
54b01911
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
40 deletions
+8
-40
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12899013.lua
expansions/script/c12899013.lua
+1
-1
expansions/script/c33200436.lua
expansions/script/c33200436.lua
+7
-39
No files found.
expansions/222DIY.cdb
View file @
12ffddbd
No preview for this file type
expansions/script/c12899013.lua
View file @
12ffddbd
...
...
@@ -78,7 +78,7 @@ function cm.con2(e)
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
filter2
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
cm
.
rmtarget
(
e
,
c
)
return
not
c
:
IsLocation
(
0x80
)
and
not
c
:
IsSetCard
(
0x
5
a71
)
return
not
c
:
IsLocation
(
0x80
)
and
not
c
:
IsSetCard
(
0x
6
a71
)
end
function
cm
.
checktg
(
e
,
c
)
return
not
c
:
IsPublic
()
...
...
expansions/script/c33200436.lua
View file @
12ffddbd
...
...
@@ -24,23 +24,14 @@ function c33200436.initial_effect(c)
e2
:
SetOperation
(
c33200436
.
atkop
)
c
:
RegisterEffect
(
e2
)
--immune spell
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
c33200436
.
efilter
)
c
:
RegisterEffect
(
e2
)
--to grave
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_TOHAND
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
33200438
)
e3
:
SetTarget
(
c33200436
.
tgtg
)
e3
:
SetOperation
(
c33200436
.
tgop
)
-- c:RegisterEffect(e3)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetValue
(
c33200436
.
efilter
)
c
:
RegisterEffect
(
e3
)
end
--e1
...
...
@@ -91,26 +82,3 @@ function c33200436.atkval(e,c)
return
0
-
500
*
g
:
GetCount
()
end
--e3
function
c33200436
.
tgfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToGrave
()
end
function
c33200436
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToHand
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
1
-
tp
,
LOCATION_DECK
)
end
function
c33200436
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetMatchingGroupCount
(
c33200433
.
tgfilter
,
1
-
tp
,
LOCATION_DECK
,
0
,
nil
,
TYPE_SPELL
)
>=
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
c33200433
.
tgfilter
,
1
-
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
~=
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
else
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsAbleToHand
()
then
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
end
end
end
\ No newline at end of file
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