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
3
Merge Requests
3
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
464ee150
Commit
464ee150
authored
Jul 12, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into master
parents
5ad5bc1a
920049bb
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
17 additions
and
14 deletions
+17
-14
c12607053.lua
c12607053.lua
+1
-0
c18486927.lua
c18486927.lua
+5
-4
c18973184.lua
c18973184.lua
+1
-0
c1980574.lua
c1980574.lua
+1
-1
c47679935.lua
c47679935.lua
+1
-0
c58753372.lua
c58753372.lua
+1
-4
c9069157.lua
c9069157.lua
+2
-1
c93717133.lua
c93717133.lua
+2
-1
c94821366.lua
c94821366.lua
+1
-1
procedure.lua
procedure.lua
+2
-2
No files found.
c12607053.lua
View file @
464ee150
...
...
@@ -4,6 +4,7 @@ function c12607053.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
aux
.
bpcon
)
e1
:
SetOperation
(
c12607053
.
activate
)
c
:
RegisterEffect
(
e1
)
end
...
...
c18486927.lua
View file @
464ee150
...
...
@@ -60,10 +60,11 @@ function c18486927.actcon(e)
end
function
c18486927
.
nametg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
code
=
e
:
GetHandler
():
GetCode
()
--c:IsSetCard(0x51) and not c:IsCode(code)
getmetatable
(
e
:
GetHandler
()).
announce_filter
=
{
0x51
,
OPCODE_ISSETCARD
,
code
,
OPCODE_ISCODE
,
OPCODE_NOT
,
OPCODE_AND
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
()).
announce_filter
))
local
c
=
e
:
GetHandler
()
local
code
=
c
:
GetCode
()
--c:IsSetCard(0x51) and c:IsType(TYPE_MONSTER) and not c:IsCode(code)
getmetatable
(
c
).
announce_filter
=
{
0x51
,
OPCODE_ISSETCARD
,
TYPE_MONSTER
,
OPCODE_ISTYPE
,
OPCODE_AND
,
code
,
OPCODE_ISCODE
,
OPCODE_NOT
,
OPCODE_AND
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
c
).
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
...
...
c18973184.lua
View file @
464ee150
...
...
@@ -47,6 +47,7 @@ function c18973184.efilter(e,ct)
end
function
c18973184
.
limfilter
(
c
,
tp
)
return
c
:
IsSummonPlayer
(
tp
)
and
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
c
:
GetSpecialSummonInfo
(
SUMMON_INFO_REASON_EFFECT
):
IsHasCategory
(
CATEGORY_FUSION_SUMMON
)
end
function
c18973184
.
limcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c18973184
.
limfilter
,
1
,
nil
,
tp
)
...
...
c1980574.lua
View file @
464ee150
...
...
@@ -38,7 +38,7 @@ function c1980574.synop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsFacedown
()
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsFacedown
()
or
not
tc
:
IsControler
(
tp
)
then
return
end
Duel
.
AdjustAll
()
local
mg
=
Group
.
FromCards
(
c
,
tc
)
if
mg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
<
2
then
return
end
...
...
c47679935.lua
View file @
464ee150
...
...
@@ -49,6 +49,7 @@ function c47679935.efilter(e,ct)
end
function
c47679935
.
limfilter
(
c
,
tp
)
return
c
:
IsSummonPlayer
(
tp
)
and
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
c
:
GetSpecialSummonInfo
(
SUMMON_INFO_REASON_EFFECT
):
IsHasCategory
(
CATEGORY_FUSION_SUMMON
)
end
function
c47679935
.
limcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c47679935
.
limfilter
,
1
,
nil
,
tp
)
...
...
c58753372.lua
View file @
464ee150
...
...
@@ -61,9 +61,6 @@ end
function
c58753372
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xdc
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c58753372
.
spfilter2
(
c
)
return
c
:
IsSetCard
(
0xdc
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c58753372
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
c58753372
.
spfilter1
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
...
...
@@ -72,7 +69,7 @@ function c58753372.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
function
c58753372
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c58753372
.
spfilter
2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c58753372
.
spfilter
1
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
if
g
:
GetClassCount
(
Card
.
GetCode
)
>=
3
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
cg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
3
,
3
)
...
...
c9069157.lua
View file @
464ee150
...
...
@@ -88,6 +88,7 @@ function c9069157.efilter(e,ct)
end
function
c9069157
.
limfilter
(
c
,
tp
)
return
c
:
IsSummonPlayer
(
tp
)
and
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
c
:
GetSpecialSummonInfo
(
SUMMON_INFO_REASON_EFFECT
):
IsHasCategory
(
CATEGORY_FUSION_SUMMON
)
end
function
c9069157
.
limcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c9069157
.
limfilter
,
1
,
nil
,
tp
)
...
...
@@ -134,4 +135,4 @@ function c9069157.rcop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
end
\ No newline at end of file
c93717133.lua
View file @
464ee150
...
...
@@ -56,7 +56,8 @@ function c93717133.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
false
end
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
if
chk
==
0
then
return
bc
and
bc
:
IsOnField
()
and
bc
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsAbleToRemove
()
and
bc
:
IsAbleToRemove
()
end
if
chk
==
0
then
return
bc
and
bc
:
IsRelateToBattle
()
and
bc
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsAbleToRemove
()
and
bc
:
IsAbleToRemove
()
end
Duel
.
SetTargetCard
(
bc
)
local
g
=
Group
.
FromCards
(
c
,
bc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
2
,
0
,
0
)
...
...
c94821366.lua
View file @
464ee150
...
...
@@ -56,7 +56,7 @@ function c94821366.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c94821366
.
eqfilter1
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsSummonPlayer
(
1
-
tp
)
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
Is
Controler
(
1
-
tp
)
and
c
:
Is
SummonPlayer
(
1
-
tp
)
and
Duel
.
IsExistingMatchingCard
(
c94821366
.
eqfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
c94821366
.
eqfilter2
(
c
)
...
...
procedure.lua
View file @
464ee150
...
...
@@ -945,7 +945,7 @@ function Auxiliary.FOperationMix(insf,sub,...)
local
notfusion
=
chkfnf
&
0x100
>
0
local
concat_fusion
=
chkfnf
&
0x200
>
0
local
sub2
=
(
sub
or
notfusion
)
and
not
concat_fusion
local
cancel
=
concat_fusion
local
cancel
=
concat_fusion
and
Duel
.
GetCurrentChain
()
==
0
local
mg
=
eg
:
Filter
(
Auxiliary
.
FConditionFilterMix
,
c
,
c
,
sub2
,
concat_fusion
,
table.unpack
(
funs
))
if
gc
then
Duel
.
SetSelectedCard
(
gc
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
...
...
@@ -1072,7 +1072,7 @@ function Auxiliary.FOperationMixRep(insf,sub,fun1,minc,maxc,...)
local
notfusion
=
chkfnf
&
0x100
>
0
local
concat_fusion
=
chkfnf
&
0x200
>
0
local
sub2
=
(
sub
or
notfusion
)
and
not
concat_fusion
local
cancel
=
concat_fusion
local
cancel
=
concat_fusion
and
Duel
.
GetCurrentChain
()
==
0
local
mg
=
eg
:
Filter
(
Auxiliary
.
FConditionFilterMix
,
c
,
c
,
sub2
,
concat_fusion
,
fun1
,
table.unpack
(
funs
))
local
sg
=
Group
.
CreateGroup
()
if
gc
then
sg
:
AddCard
(
gc
)
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