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
337a4846
Commit
337a4846
authored
Jul 03, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 燦幻封炉
parent
1313b652
Pipeline
#28103
passed with stages
in 1 minute and 4 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
script/c101206061.lua
script/c101206061.lua
+5
-8
No files found.
script/c101206061.lua
View file @
337a4846
...
@@ -32,15 +32,12 @@ function s.initial_effect(c)
...
@@ -32,15 +32,12 @@ 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
)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
s
.
spfilter
,
1
,
nil
,
tp
,
e
)
local
a
=
Duel
.
GetBattleMonster
(
tp
)
return
a
and
(
a
:
IsLocation
(
LOCATION_MZONE
)
and
a
:
IsRace
(
RACE_DRAGON
)
and
a
:
IsAttribute
(
ATTRIBUTE_FIRE
)
or
not
a
:
IsLocation
(
LOCATION_MZONE
)
and
a
:
IsPreviousControler
(
tp
)
and
a
:
GetPreviousRaceOnField
()
&
RACE_DRAGON
~=
0
and
a
:
GetPreviousAttributeOnField
()
&
ATTRIBUTE_FIRE
~=
0
)
end
end
function
s
.
tgfilter
(
c
,
e
)
function
s
.
tgfilter
(
c
,
e
)
return
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsFaceupEx
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsFaceupEx
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeEffectTarget
(
e
)
...
...
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