Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
bf82da25
Commit
bf82da25
authored
Feb 17, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "fix"
This reverts commit
289f6808
.
parent
289f6808
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
expansions/script/c9910862.lua
expansions/script/c9910862.lua
+8
-7
No files found.
expansions/script/c9910862.lua
View file @
bf82da25
...
...
@@ -14,9 +14,10 @@ function c9910862.initial_effect(c)
--summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER
_O
)
e2
:
SetCode
(
EVENT_
PHASE
+
PHASE_STANDBY
)
e2
:
SetType
(
EFFECT_TYPE_
QUICK
_O
)
e2
:
SetCode
(
EVENT_
FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetHintTiming
(
0
,
TIMING_BATTLE_START
)
e2
:
SetCondition
(
c9910862
.
sumcon
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
c9910862
.
sumtg
)
...
...
@@ -31,12 +32,12 @@ function c9910862.setfilter(c)
end
function
c9910862
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
lab
=
Duel
.
GetFlagEffectLabel
(
tp
,
9910862
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c9910862
.
setfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c9910862
.
setfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
(
not
lab
or
bit
.
band
(
lab
,
1
)
==
0
)
local
b2
=
not
lab
or
bit
.
band
(
lab
,
2
)
==
0
local
b3
=
not
lab
or
bit
.
band
(
lab
,
4
)
==
0
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c9910862
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c9910862
.
filter
,
tp
,
LOCATIO
C
N_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c9910862
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
(
b1
or
b2
or
b3
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c9910862
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
...
...
@@ -53,7 +54,7 @@ function c9910862.activate(e,tp,eg,ep,ev,re,r,rp)
local
ct
=
1
if
Duel
.
GetFlagEffect
(
tp
,
9910859
)
~=
0
then
ct
=
2
end
local
lab
=
Duel
.
GetFlagEffectLabel
(
tp
,
9910862
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c9910862
.
setfilter
,
tp
,
LOATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c9910862
.
setfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
(
not
lab
or
bit
.
band
(
lab
,
1
)
==
0
)
local
b2
=
not
lab
or
bit
.
band
(
lab
,
2
)
==
0
local
b3
=
not
lab
or
bit
.
band
(
lab
,
4
)
==
0
...
...
@@ -95,7 +96,7 @@ function c9910862.activate(e,tp,eg,ep,ev,re,r,rp)
until
ct
==
0
or
off
<
3
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910862
,
3
))
if
bit
.
band
(
sel
,
1
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9910862
.
setfilter
,
tp
,
LOATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9910862
.
setfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
if
not
lab
then
...
...
@@ -154,7 +155,7 @@ function c9910862.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c9910862
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
end
function
c9910862
.
sumfilter
(
c
)
return
c
:
IsSetCard
(
0xa951
)
and
c
:
IsSummonable
(
true
,
nil
)
...
...
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