Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Mr.Tan
pre-release-database-cdb
Commits
3378e60e
Commit
3378e60e
authored
Sep 24, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
72ce144c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
20 deletions
+14
-20
script/c101206092.lua
script/c101206092.lua
+1
-8
script/c101206093.lua
script/c101206093.lua
+11
-11
script/c101206094.lua
script/c101206094.lua
+2
-1
No files found.
script/c101206092.lua
View file @
3378e60e
...
@@ -27,16 +27,13 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -27,16 +27,13 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
1
-
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
1
-
tp
,
LOCATION_DECK
)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
,
1
-
tp
)
end
function
s
.
spfilter
(
c
,
e
,
tp
)
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x1b7
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1b7
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
then
if
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
then
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
0
,
LOCATION_DECK
,
1
,
nil
,
e
,
1
-
tp
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
0
,
LOCATION_DECK
,
1
,
nil
,
e
,
1
-
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
s
.
spfilter
,
tp
,
0
,
LOCATION_DECK
,
1
,
1
,
nil
,
e
,
1
-
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
s
.
spfilter
,
tp
,
0
,
LOCATION_DECK
,
1
,
1
,
nil
,
e
,
1
-
tp
)
...
@@ -51,10 +48,6 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,10 +48,6 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
s
.
aclimit
(
e
,
re
,
tp
)
local
rc
=
re
:
GetHandler
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
rc
:
IsLocation
(
LOCATION_MZONE
)
and
rc
:
IsSummonLocation
(
LOCATION_HAND
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
<
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
<
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
...
...
script/c101206093.lua
View file @
3378e60e
...
@@ -26,17 +26,17 @@ function s.initial_effect(c)
...
@@ -26,17 +26,17 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
thop
)
e2
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--destroy
--destroy
local
e
2
=
Effect
.
CreateEffect
(
c
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e
3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e
2
:
SetCategory
(
CATEGORY_DESTROY
)
e
3
:
SetCategory
(
CATEGORY_DESTROY
)
e
2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
2
:
SetRange
(
LOCATION_MZONE
)
e
3
:
SetRange
(
LOCATION_MZONE
)
e
2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
2
:
SetCountLimit
(
1
,
id
+
o
)
e
3
:
SetCountLimit
(
1
,
id
+
o
)
e
2
:
SetCost
(
s
.
descost
)
e
3
:
SetCost
(
s
.
descost
)
e
2
:
SetTarget
(
s
.
destg
)
e
3
:
SetTarget
(
s
.
destg
)
e
2
:
SetOperation
(
s
.
desop
)
e
3
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e
2
)
c
:
RegisterEffect
(
e
3
)
end
end
function
s
.
dircon
(
e
)
function
s
.
dircon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsPosition
,
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
,
1
,
nil
,
POS_FACEDOWN_DEFENSE
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsPosition
,
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
,
1
,
nil
,
POS_FACEDOWN_DEFENSE
)
...
...
script/c101206094.lua
View file @
3378e60e
--Mimighoul Throne
--Mimighoul Throne
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
55537983
)
--xyz summon
--xyz summon
aux
.
AddXyzProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x1b7
),
1
,
2
)
aux
.
AddXyzProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x1b7
),
1
,
2
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
@@ -89,7 +90,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,7 +90,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
if
ct
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
if
ct
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_R
EMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_R
TOHAND
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
if
#
sg
>
0
then
if
#
sg
>
0
then
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
...
...
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