Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
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
MyCard
ygopro-scripts-888
Commits
5d667bfc
Commit
5d667bfc
authored
May 25, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into mc_master
parents
41bf9cd3
2bf900bb
Pipeline
#37593
failed with stages
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
30 deletions
+31
-30
c58570206.lua
c58570206.lua
+30
-29
c61944066.lua
c61944066.lua
+1
-1
No files found.
c58570206.lua
View file @
5d667bfc
...
@@ -85,37 +85,38 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,37 +85,38 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
if
not
tc
then
return
end
if
tc
then
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
ce
and
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
ce
and
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
aux
.
FCheckAdditional
=
s
.
fcheck1
(
ct
)
aux
.
FCheckAdditional
=
s
.
fcheck1
(
ct
)
aux
.
FGoalCheckAdditional
=
s
.
fcheck2
aux
.
FGoalCheckAdditional
=
s
.
fcheck2
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg1
,
nil
,
chkf
)
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg1
,
nil
,
chkf
)
aux
.
FCheckAdditional
=
nil
aux
.
FCheckAdditional
=
nil
aux
.
FGoalCheckAdditional
=
nil
aux
.
FGoalCheckAdditional
=
nil
tc
:
SetMaterial
(
mat1
)
tc
:
SetMaterial
(
mat1
)
local
rg
=
mat1
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
local
rg
=
mat1
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
mat1
:
Sub
(
rg
)
mat1
:
Sub
(
rg
)
Duel
.
SendtoGrave
(
mat1
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
Duel
.
SendtoGrave
(
mat1
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
elseif
ce
then
elseif
ce
then
local
mat2
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg2
,
nil
,
chkf
)
local
mat2
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg2
,
nil
,
chkf
)
local
fop
=
ce
:
GetOperation
()
local
fop
=
ce
:
GetOperation
()
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
end
local
exmat
=
tc
:
GetMaterial
():
Filter
(
Card
.
IsPreviousLocation
,
nil
,
LOCATION_EXTRA
)
local
exmat
=
tc
:
GetMaterial
():
Filter
(
Card
.
IsPreviousLocation
,
nil
,
LOCATION_EXTRA
)
if
#
exmat
>
0
then
if
#
exmat
>
0
then
local
dam
=
exmat
:
GetSum
(
Card
.
GetAttack
)
local
dam
=
exmat
:
GetSum
(
Card
.
GetAttack
)
local
lp
=
Duel
.
GetLP
(
tp
)
local
lp
=
Duel
.
GetLP
(
tp
)
if
lp
>=
dam
then
if
lp
>=
dam
then
Duel
.
SetLP
(
tp
,
lp
-
dam
)
Duel
.
SetLP
(
tp
,
lp
-
dam
)
else
else
Duel
.
SetLP
(
tp
,
0
)
Duel
.
SetLP
(
tp
,
0
)
end
end
end
Duel
.
SpecialSummonComplete
()
tc
:
CompleteProcedure
()
end
end
Duel
.
SpecialSummonComplete
()
tc
:
CompleteProcedure
()
aux
.
FCheckAdditional
=
nil
aux
.
FCheckAdditional
=
nil
aux
.
FGoalCheckAdditional
=
nil
aux
.
FGoalCheckAdditional
=
nil
end
end
c61944066.lua
View file @
5d667bfc
...
@@ -54,7 +54,7 @@ function s.cfilter2(c)
...
@@ -54,7 +54,7 @@ function s.cfilter2(c)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReason
(
REASON_EFFECT
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReason
(
REASON_EFFECT
)
end
end
function
s
.
lpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
lpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
():
IsAllTypes
(
TYPE_RITUAL
+
TYPE_MONSTER
)
return
re
and
re
:
GetHandler
():
IsAllTypes
(
TYPE_RITUAL
+
TYPE_MONSTER
)
and
eg
:
IsExists
(
s
.
cfilter2
,
1
,
nil
)
and
eg
:
IsExists
(
s
.
cfilter2
,
1
,
nil
)
end
end
function
s
.
lpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
lpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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