Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
NemoCards
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
Nemo Ma
NemoCards
Commits
c662c829
Commit
c662c829
authored
Mar 04, 2018
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GearGal Bugfix
parent
9cbf42c5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
expansions/script/c33700303.lua
expansions/script/c33700303.lua
+1
-2
expansions/script/c33700313.lua
expansions/script/c33700313.lua
+4
-4
No files found.
expansions/script/c33700303.lua
View file @
c662c829
...
@@ -10,7 +10,6 @@ function cm.initial_effect(c)
...
@@ -10,7 +10,6 @@ function cm.initial_effect(c)
e1
:
SetCondition
(
cm
.
actcon
)
e1
:
SetCondition
(
cm
.
actcon
)
e1
:
SetRange
(
LOCATION_ONFIELD
)
e1
:
SetRange
(
LOCATION_ONFIELD
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetCondition
(
cm
.
con
)
e1
:
SetValue
(
cm
.
aclimit
)
e1
:
SetValue
(
cm
.
aclimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Destroy
--Destroy
...
@@ -36,7 +35,7 @@ function cm.con(e)
...
@@ -36,7 +35,7 @@ function cm.con(e)
end
end
function
cm
.
actcon
(
e
)
function
cm
.
actcon
(
e
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
cm
.
con
(
e
)
end
end
function
cm
.
cfilter
(
c
)
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x1449
)
or
c
:
IsSetCard
(
0x3449
))
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x1449
)
or
c
:
IsSetCard
(
0x3449
))
...
...
expansions/script/c33700313.lua
View file @
c662c829
...
@@ -62,14 +62,14 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,14 +62,14 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
and
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
and
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
e
:
GetHandler
()
)
end
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_
MZONE
,
0
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_
ONFIELD
,
0
,
e
:
GetHandler
()
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
tp
,
LOCATION_
MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
tp
,
LOCATION_
ONFIELD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
0
,
0
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
0
,
0
,
tp
,
LOCATION_GRAVE
)
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_
MZONE
,
0
,
c
)
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_
ONFIELD
,
0
,
c
)
local
zone
=
{}
local
zone
=
{}
zone
[
0
]
=
c
:
GetLinkedZone
(
0
)
zone
[
0
]
=
c
:
GetLinkedZone
(
0
)
zone
[
1
]
=
c
:
GetLinkedZone
(
1
)
zone
[
1
]
=
c
:
GetLinkedZone
(
1
)
...
...
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