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
2554025f
Commit
2554025f
authored
Jul 22, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
f63e51e1
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
27 additions
and
13 deletions
+27
-13
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c12044002.lua
expansions/script/c12044002.lua
+2
-2
expansions/script/c12044052.lua
expansions/script/c12044052.lua
+3
-2
expansions/script/c16400155.lua
expansions/script/c16400155.lua
+1
-1
expansions/script/c33201366.lua
expansions/script/c33201366.lua
+3
-0
expansions/script/c75642007.lua
expansions/script/c75642007.lua
+4
-5
expansions/script/c75642010.lua
expansions/script/c75642010.lua
+1
-1
expansions/script/c75642012.lua
expansions/script/c75642012.lua
+1
-1
expansions/script/c75642014.lua
expansions/script/c75642014.lua
+12
-1
No files found.
expansions/FiNALE.cdb
View file @
2554025f
No preview for this file type
expansions/script/c12044002.lua
View file @
2554025f
...
...
@@ -48,11 +48,11 @@ function cm.hspcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
return
ft
>-
1
and
Duel
.
CheckReleaseGroup
(
tp
,
cm
.
hspfilter
,
1
,
nil
,
ft
,
tp
)
end
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
cm
.
thfilter
(
c
)
...
...
expansions/script/c12044052.lua
View file @
2554025f
...
...
@@ -52,11 +52,12 @@ function cm.adval(e,c)
return
math.min
(
4500
,
math.abs
(
lp1
-
lp2
))
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLP
(
1
-
tp
)
>=
1000
end
if
chk
==
0
then
return
true
end
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lp
=
Duel
.
GetLP
(
1
-
tp
)
Duel
.
SetLP
(
1
-
tp
,
lp
-
1000
)
local
set
=
math.max
(
lp
-
1000
,
0
)
Duel
.
SetLP
(
1
-
tp
,
set
)
end
function
cm
.
retreg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c16400155.lua
View file @
2554025f
...
...
@@ -44,5 +44,5 @@ function c16400155.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c16400155
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0xce
5
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
return
not
c
:
IsSetCard
(
0xce
4
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
expansions/script/c33201366.lua
View file @
2554025f
...
...
@@ -33,6 +33,9 @@ function cm.initial_effect(c)
end
cm
.
VHisc_CNTreasure
=
true
function
cm
.
matfilter
(
c
)
return
VHisc_CNTdb
.
nck
(
c
)
and
not
c
:
IsLinkCode
(
m
)
end
--e2
function
cm
.
thfilter
(
c
)
return
VHisc_CNTdb
.
nck
(
c
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c75642007.lua
View file @
2554025f
...
...
@@ -36,18 +36,17 @@ end
function
s
.
hdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
id
)
>
0
end
function
s
.
filter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x62c4
)
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,{
c
,
e
:
GetHandler
()}
)
function
s
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x62c4
)
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
c
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
()
,
e
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
()
,
e
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
g
:
AddCard
(
e
:
GetHandler
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
ag
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
2
,
g
)
g
:
Remove
(
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
+
ag
,
3
,
0
,
0
)
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c75642010.lua
View file @
2554025f
...
...
@@ -4,7 +4,7 @@ function s.initial_effect(c)
c
:
EnableReviveLimit
()
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
s
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
expansions/script/c75642012.lua
View file @
2554025f
...
...
@@ -19,7 +19,7 @@ function s.initial_effect(c)
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_
S
ZONE
)
e2
:
SetRange
(
LOCATION_
M
ZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetTarget
(
s
.
eftg
)
e2
:
SetCode
(
EFFECT_DISABLE
)
...
...
expansions/script/c75642014.lua
View file @
2554025f
...
...
@@ -32,7 +32,9 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
tkop
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
s
.
tkcon
)
c
:
RegisterEffect
(
e4
)
--Remove
...
...
@@ -147,6 +149,15 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
sg
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
end
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
e
:
GetLabel
()
*
1000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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