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
aafa53f2
Commit
aafa53f2
authored
May 18, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eratta
parent
60c7f562
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
expansions/7cgl.cdb
expansions/7cgl.cdb
+0
-0
expansions/script/c37564841.lua
expansions/script/c37564841.lua
+15
-7
No files found.
expansions/7cgl.cdb
View file @
aafa53f2
No preview for this file type
expansions/script/c37564841.lua
View file @
aafa53f2
...
@@ -19,13 +19,9 @@ function cm.effect_operation_3L(c,ctlm)
...
@@ -19,13 +19,9 @@ function cm.effect_operation_3L(c,ctlm)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_SELF_DESTROY
)
e1
:
SetCode
(
EFFECT_DISABLE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetCondition
(
cm
.
discon
)
e1
:
SetTargetRange
(
0
,
LOCATION_ONFIELD
)
e1
:
SetOperation
(
cm
.
disop
)
e1
:
SetTarget
(
function
(
e
,
c
)
return
not
c
:
IsImmuneToEffect
(
e
)
and
e
:
GetHandler
():
GetColumnGroup
():
IsContains
(
c
)
end
)
e1
:
SetValue
(
aux
.
TRUE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
Readjust
()
Duel
.
Readjust
()
...
@@ -48,4 +44,16 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,4 +44,16 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
end
end
end
function
cm
.
discon
(
e
)
e
:
SetValue
(
0
)
return
true
end
function
cm
.
disop
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
flag1
=
bit
.
band
(
c
:
GetColumnZone
(
LOCATION_MZONE
),
0xffffff00
)
local
flag2
=
bit
.
band
(
bit
.
lshift
(
c
:
GetColumnZone
(
LOCATION_SZONE
),
8
),
0xffff00ff
)
local
flag3
=
bit
.
band
(
c
:
GetColumnZone
(
LOCATION_MZONE
),
0xff00ffff
)
local
flag4
=
bit
.
band
(
bit
.
lshift
(
c
:
GetColumnZone
(
LOCATION_SZONE
),
8
),
0xffff
)
return
(
flag1
+
flag2
+
flag3
+
flag4
)
|
0xffff0000
end
end
\ No newline at end of file
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