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
4
Merge Requests
4
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
e6637ac6
Commit
e6637ac6
authored
Jan 23, 2024
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor format
parent
7c9180d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
c66431519.lua
c66431519.lua
+4
-2
c90681088.lua
c90681088.lua
+3
-2
No files found.
c66431519.lua
View file @
e6637ac6
...
...
@@ -32,8 +32,10 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
s
.
cfilter
(
c
,
tp
,
se
)
return
c
:
IsPreviousControler
(
tp
)
and
not
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
c
:
GetOriginalAttribute
()
==
ATTRIBUTE_FIRE
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
(
se
==
nil
or
c
:
GetReasonEffect
()
~=
se
)
and
(
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
or
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
)
return
c
:
IsPreviousControler
(
tp
)
and
not
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
(
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
or
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
)
and
c
:
GetOriginalAttribute
()
==
ATTRIBUTE_FIRE
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
(
se
==
nil
or
c
:
GetReasonEffect
()
~=
se
)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c90681088.lua
View file @
e6637ac6
...
...
@@ -49,8 +49,9 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
s
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousControler
(
tp
)
and
not
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
c
:
GetOriginalAttribute
()
==
ATTRIBUTE_FIRE
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
(
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
or
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
)
return
c
:
IsPreviousControler
(
tp
)
and
not
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
(
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
or
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
)
and
c
:
GetOriginalAttribute
()
==
ATTRIBUTE_FIRE
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
...
...
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