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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
240073a3
Commit
240073a3
authored
Aug 21, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
edf2cbee
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c17243529.lua
expansions/script/c17243529.lua
+5
-3
expansions/script/c30901010.lua
expansions/script/c30901010.lua
+2
-1
expansions/script/c67200750.lua
expansions/script/c67200750.lua
+1
-0
No files found.
expansions/FiNALE.cdb
View file @
240073a3
No preview for this file type
expansions/script/c17243529.lua
View file @
240073a3
...
...
@@ -19,6 +19,7 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetCategory
(
CATEGORY_POSITION
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -51,16 +52,17 @@ end
--------------------------------------------------------------------
function
cm
.
tscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
local
rc
=
re
:
GetHandler
()
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
:
IsRelateToEffect
(
re
)
and
rc
:
IsOnField
()
and
rc
:
IsFaceup
()
and
rc
:
IsCanTurnSet
()
end
function
cm
.
tstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rc
=
re
:
GetHandler
()
if
chk
==
0
then
return
rc
:
IsRelateToEffect
(
re
)
and
rc
:
IsFaceup
()
and
rc
:
IsCanTurnSet
()
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
rc
,
1
,
0
,
0
)
end
function
cm
.
tsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
if
rc
:
Is
RelateToEffect
(
re
)
and
rc
:
IsFaceup
(
)
then
if
rc
:
Is
Faceup
()
and
rc
:
IsLocation
(
LOCATION_MZONE
)
then
Duel
.
ChangePosition
(
rc
,
POS_FACEDOWN_DEFENSE
)
end
end
...
...
expansions/script/c30901010.lua
View file @
240073a3
...
...
@@ -20,7 +20,8 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCountLimit
(
1
)
...
...
expansions/script/c67200750.lua
View file @
240073a3
...
...
@@ -56,6 +56,7 @@ function c67200750.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g1
,
2
,
0
,
0
)
end
function
c67200750
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
e5
=
Effect
.
CreateEffect
(
c
)
...
...
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