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
99c45ffc
Commit
99c45ffc
authored
Nov 06, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
54188
parent
c30ed4f4
Pipeline
#31000
passed with stages
in 45 minutes and 57 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
44 deletions
+40
-44
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c81024031.lua
expansions/script/c81024031.lua
+20
-22
expansions/script/c81024045.lua
expansions/script/c81024045.lua
+20
-22
No files found.
expansions/FiNALE.cdb
View file @
99c45ffc
No preview for this file type
expansions/script/c81024031.lua
View file @
99c45ffc
...
...
@@ -43,34 +43,32 @@ end
function
cm
.
bacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
end
function
cm
.
filter1
(
c
,
tp
)
return
c
:
IsAttackable
()
and
c
:
IsAttack
(
1550
)
and
c
:
IsDefense
(
1050
)
and
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
Duel
.
IsExistingTarget
(
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
c
,
c
)
function
cm
.
bafilter
(
c
)
return
c
:
IsAttackable
()
and
c
:
IsAttack
(
1550
)
and
c
:
IsDefense
(
1050
)
end
function
cm
.
filter2
(
c
,
t
c
)
return
c
:
Is
CanBeBattleTarget
(
tc
)
and
c
:
Is
Faceup
()
function
cm
.
bbfilter
(
c
)
return
c
:
IsFaceup
()
end
function
cm
.
batg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
IsExistingTarget
(
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SELF
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
(),
tp
)
local
ac
=
g1
:
GetFirst
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPPO
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
ac
,
ac
)
e
:
SetLabelObject
(
ac
)
end
function
cm
.
cf
(
c
,
e
)
return
not
c
:
IsRelateToEffect
(
e
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
bafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
cm
.
bbfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
cm
.
bafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
cm
.
bbfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
e
:
SetLabelObject
(
g2
:
GetFirst
())
end
function
cm
.
baop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
if
#
g
>
1
and
not
g
:
IsExists
(
cm
.
cf
,
1
,
nil
,
e
)
then
local
tc
=
g
:
GetFirst
()
local
sc
=
g
:
GetNext
()
local
ac
=
e
:
GetLabelObject
()
if
tc
==
ac
then
tc
=
sc
end
if
ac
:
IsAttackable
()
then
Duel
.
CalculateDamage
(
ac
,
tc
)
end
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
==
2
then
local
c1
=
g
:
GetFirst
()
local
c2
=
g
:
GetNext
()
if
c1
~=
e
:
GetLabelObject
()
then
c1
,
c2
=
c2
,
c1
end
if
c2
:
IsControler
(
tp
)
and
c2
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c2
:
IsImmuneToEffect
(
e
)
and
c1
:
IsControler
(
1
-
tp
)
then
Duel
.
CalculateDamage
(
c2
,
c1
,
true
)
end
end
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c81024045.lua
View file @
99c45ffc
...
...
@@ -50,33 +50,31 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummonComplete
()
end
end
function
cm
.
filter1
(
c
,
tp
)
return
c
:
IsAttackable
()
and
c
:
IsAttack
(
1550
)
and
c
:
IsDefense
(
1050
)
and
Duel
.
IsExistingTarget
(
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
c
,
c
)
function
cm
.
bafilter
(
c
)
return
c
:
IsAttackable
()
and
c
:
IsAttack
(
1550
)
and
c
:
IsDefense
(
1050
)
end
function
cm
.
filter2
(
c
,
t
c
)
return
c
:
Is
CanBeBattleTarget
(
tc
)
and
c
:
Is
Position
(
POS_FACEUP_ATTACK
)
and
c
:
IsAttackBelow
(
1500
)
function
cm
.
bbfilter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsAttackBelow
(
1500
)
end
function
cm
.
batg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
IsExistingTarget
(
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SELF
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
(),
tp
)
local
ac
=
g1
:
GetFirst
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPPO
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
ac
,
ac
)
e
:
SetLabelObject
(
ac
)
end
function
cm
.
cf
(
c
,
e
)
return
not
c
:
IsRelateToEffect
(
e
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
bafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
cm
.
bbfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
cm
.
bafilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
cm
.
bbfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
e
:
SetLabelObject
(
g2
:
GetFirst
())
end
function
cm
.
baop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
if
#
g
>
1
and
not
g
:
IsExists
(
cm
.
cf
,
1
,
nil
,
e
)
then
local
tc
=
g
:
GetFirst
()
local
sc
=
g
:
GetNext
()
local
ac
=
e
:
GetLabelObject
()
if
tc
==
ac
then
tc
=
sc
end
if
ac
:
IsAttackable
()
then
Duel
.
CalculateDamage
(
ac
,
tc
)
end
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
==
2
then
local
c1
=
g
:
GetFirst
()
local
c2
=
g
:
GetNext
()
if
c1
~=
e
:
GetLabelObject
()
then
c1
,
c2
=
c2
,
c1
end
if
c2
:
IsControler
(
tp
)
and
c2
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c2
:
IsImmuneToEffect
(
e
)
and
c1
:
IsControler
(
1
-
tp
)
then
Duel
.
CalculateDamage
(
c2
,
c1
,
true
)
end
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