Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Nanahira-Cards
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
nanahira
Nanahira-Cards
Commits
60c7f562
Commit
60c7f562
authored
May 18, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2f0cfc2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
expansions/script/c37564841.lua
expansions/script/c37564841.lua
+1
-24
No files found.
expansions/script/c37564841.lua
View file @
60c7f562
...
...
@@ -23,30 +23,7 @@ function cm.effect_operation_3L(c,ctlm)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetTargetRange
(
0
,
LOCATION_ONFIELD
)
e1
:
SetTarget
(
function
(
e
,
c
)
if
c
:
IsImmuneToEffect
(
e
)
then
return
false
end
local
s1
=
e
:
GetHandler
():
GetSequence
()
local
s2
=
c
:
GetSequence
()
if
c
:
IsLocation
(
LOCATION_SZONE
)
then
if
s2
>=
5
then
return
false
end
if
s1
<
5
then
return
s1
+
s2
==
4
else
return
(
s1
==
5
and
s2
==
3
)
or
(
s1
==
6
and
s2
==
1
)
end
end
if
s1
<
5
then
if
s2
<
5
then
return
s1
+
s2
==
4
else
return
(
s2
==
5
and
s1
==
3
)
or
(
s2
==
6
and
s1
==
1
)
end
else
if
s2
<
5
then
return
(
s1
==
5
and
s2
==
3
)
or
(
s1
==
6
and
s2
==
1
)
else
return
false
end
end
return
not
c
:
IsImmuneToEffect
(
e
)
and
e
:
GetHandler
():
GetColumnGroup
():
IsContains
(
c
)
end
)
e1
:
SetValue
(
aux
.
TRUE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
...
...
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