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
MyCard
pre-release-database-cdb
Commits
1313b652
Commit
1313b652
authored
Jul 03, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 燦幻封炉
parent
51858d12
Pipeline
#28102
passed with stages
in 54 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
11 deletions
+18
-11
script/c101206061.lua
script/c101206061.lua
+18
-11
No files found.
script/c101206061.lua
View file @
1313b652
...
@@ -11,7 +11,7 @@ function s.initial_effect(c)
...
@@ -11,7 +11,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROY
ING
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROY
ED
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetCondition
(
s
.
spcon
)
...
@@ -32,20 +32,27 @@ function s.initial_effect(c)
...
@@ -32,20 +32,27 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
setop
)
e2
:
SetOperation
(
s
.
setop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
spfilter
(
c
,
tp
,
e
)
if
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsPreviousControler
(
tp
)
then
return
true
end
local
rc
=
c
:
GetBattleTarget
()
return
rc
:
IsRace
(
RACE_DRAGON
)
and
rc
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
(
not
rc
:
IsLocation
(
LOCATION_MZONE
)
and
rc
:
IsPreviousControler
(
tp
)
or
rc
:
IsLocation
(
LOCATION_MZONE
)
and
rc
:
IsControler
(
tp
))
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
eg
:
GetFirst
()
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
s
.
spfilter
,
1
,
nil
,
tp
,
e
)
local
tc
=
rc
:
GetBattleTarget
()
end
return
rc
:
IsControler
(
tp
)
function
s
.
tgfilter
(
c
,
e
)
and
rc
:
IsRace
(
RACE_DRAGON
)
and
rc
:
IsAttribute
(
ATTRIBUTE_FIRE
)
return
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsFaceupEx
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
not
tc
:
IsType
(
TYPE_TOKEN
)
end
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
rc
=
eg
:
GetFirst
()
local
bc
=
rc
:
GetBattleTarget
()
if
chkc
then
return
false
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
local
g
=
eg
:
Filter
(
s
.
tgfilter
,
nil
,
e
)
and
bc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
if
chk
==
0
then
return
g
:
GetCount
()
>
0
end
and
bc
:
IsCanBeEffectTarget
(
e
)
end
local
bc
=
g
:
GetFirst
()
if
g
:
GetCount
()
>
1
then
bc
=
g
:
FilterSelect
(
tp
,
s
.
tgfilter
,
1
,
1
,
nil
,
e
):
GetFirst
()
end
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
bc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
bc
,
1
,
0
,
0
)
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