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
5184cfc1
Commit
5184cfc1
authored
Feb 23, 2018
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Translation of GearGals also effect fix
parent
3e4e23d9
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
43 additions
and
10 deletions
+43
-10
newcards/expansions/GearGal.cdb
newcards/expansions/GearGal.cdb
+0
-0
newcards/expansions/GearGal_en.cdb
newcards/expansions/GearGal_en.cdb
+0
-0
newcards/expansions/pics/33700318.jpg
newcards/expansions/pics/33700318.jpg
+0
-0
newcards/expansions/script/c33700300.lua
newcards/expansions/script/c33700300.lua
+5
-1
newcards/expansions/script/c33700301.lua
newcards/expansions/script/c33700301.lua
+6
-2
newcards/expansions/script/c33700302.lua
newcards/expansions/script/c33700302.lua
+5
-1
newcards/expansions/script/c33700303.lua
newcards/expansions/script/c33700303.lua
+5
-1
newcards/expansions/script/c33700304.lua
newcards/expansions/script/c33700304.lua
+6
-2
newcards/expansions/script/c33700305.lua
newcards/expansions/script/c33700305.lua
+5
-1
newcards/expansions/script/c33700306.lua
newcards/expansions/script/c33700306.lua
+5
-1
newcards/expansions/script/c33700309.lua
newcards/expansions/script/c33700309.lua
+5
-1
newcards/expansions/script/c33700312.lua
newcards/expansions/script/c33700312.lua
+1
-0
No files found.
newcards/expansions/GearGal.cdb
View file @
5184cfc1
No preview for this file type
newcards/expansions/GearGal_en.cdb
0 → 100644
View file @
5184cfc1
File added
newcards/expansions/pics/33700318.jpg
View replaced file @
3e4e23d9
View file @
5184cfc1
56.3 KB
|
W:
|
H:
57 KB
|
W:
|
H:
2-up
Swipe
Onion skin
newcards/expansions/script/c33700300.lua
View file @
5184cfc1
...
@@ -5,10 +5,11 @@ function cm.initial_effect(c)
...
@@ -5,10 +5,11 @@ function cm.initial_effect(c)
--ad up
--ad up
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_
ONFIELD
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetValue
(
500
)
e1
:
SetValue
(
500
)
e1
:
SetCondition
(
cm
.
con
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
...
@@ -31,6 +32,9 @@ function cm.initial_effect(c)
...
@@ -31,6 +32,9 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
repop
)
e4
:
SetOperation
(
cm
.
repop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
con
(
e
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
or
e
:
GetHandler
():
IsType
(
TYPE_CONTINUOUS
)
end
function
cm
.
repcon
(
e
)
function
cm
.
repcon
(
e
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_DESTROY
)
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_DESTROY
)
...
...
newcards/expansions/script/c33700301.lua
View file @
5184cfc1
...
@@ -8,8 +8,9 @@ function cm.initial_effect(c)
...
@@ -8,8 +8,9 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_ONFIELD
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCondition
(
cm
.
con
)
e1
:
SetTarget
(
cm
.
destg
)
e1
:
SetTarget
(
cm
.
destg
)
e1
:
SetOperation
(
cm
.
desop
)
e1
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -31,6 +32,9 @@ function cm.initial_effect(c)
...
@@ -31,6 +32,9 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
repop
)
e4
:
SetOperation
(
cm
.
repop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
con
(
e
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
or
e
:
GetHandler
():
IsType
(
TYPE_CONTINUOUS
)
end
function
cm
.
repcon
(
e
)
function
cm
.
repcon
(
e
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_DESTROY
)
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_DESTROY
)
...
...
newcards/expansions/script/c33700302.lua
View file @
5184cfc1
...
@@ -5,10 +5,11 @@ function cm.initial_effect(c)
...
@@ -5,10 +5,11 @@ function cm.initial_effect(c)
--ad up
--ad up
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_
ONFIELD
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e1
:
SetValue
(
-
500
)
e1
:
SetValue
(
-
500
)
e1
:
SetCondition
(
cm
.
con
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
...
@@ -31,6 +32,9 @@ function cm.initial_effect(c)
...
@@ -31,6 +32,9 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
repop
)
e4
:
SetOperation
(
cm
.
repop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
con
(
e
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
or
e
:
GetHandler
():
IsType
(
TYPE_CONTINUOUS
)
end
function
cm
.
repcon
(
e
)
function
cm
.
repcon
(
e
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_DESTROY
)
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_DESTROY
)
...
...
newcards/expansions/script/c33700303.lua
View file @
5184cfc1
...
@@ -8,8 +8,9 @@ function cm.initial_effect(c)
...
@@ -8,8 +8,9 @@ function cm.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
:
SetCondition
(
cm
.
actcon
)
e1
:
SetCondition
(
cm
.
actcon
)
e1
:
SetRange
(
LOCATION_
MZONE
)
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
...
@@ -30,6 +31,9 @@ function cm.initial_effect(c)
...
@@ -30,6 +31,9 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
repop
)
e4
:
SetOperation
(
cm
.
repop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
con
(
e
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
or
e
:
GetHandler
():
IsType
(
TYPE_CONTINUOUS
)
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
)
...
...
newcards/expansions/script/c33700304.lua
View file @
5184cfc1
...
@@ -7,8 +7,9 @@ function cm.initial_effect(c)
...
@@ -7,8 +7,9 @@ function cm.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_ONFIELD
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCondition
(
cm
.
con
)
e1
:
SetTarget
(
cm
.
thtg
)
e1
:
SetTarget
(
cm
.
thtg
)
e1
:
SetOperation
(
cm
.
thop
)
e1
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -30,6 +31,9 @@ function cm.initial_effect(c)
...
@@ -30,6 +31,9 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
repop
)
e4
:
SetOperation
(
cm
.
repop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
con
(
e
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
or
e
:
GetHandler
():
IsType
(
TYPE_CONTINUOUS
)
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x1449
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1449
)
and
c
:
IsAbleToHand
()
end
end
...
...
newcards/expansions/script/c33700305.lua
View file @
5184cfc1
...
@@ -6,9 +6,10 @@ function cm.initial_effect(c)
...
@@ -6,9 +6,10 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetRange
(
LOCATION_
MZONE
)
e1
:
SetRange
(
LOCATION_
ONFIELD
)
e1
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x1449
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x1449
))
e1
:
SetCondition
(
cm
.
con
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_EXTRA_SET_COUNT
)
e2
:
SetCode
(
EFFECT_EXTRA_SET_COUNT
)
...
@@ -31,6 +32,9 @@ function cm.initial_effect(c)
...
@@ -31,6 +32,9 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
repop
)
e4
:
SetOperation
(
cm
.
repop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
con
(
e
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
or
e
:
GetHandler
():
IsType
(
TYPE_CONTINUOUS
)
end
function
cm
.
repcon
(
e
)
function
cm
.
repcon
(
e
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_DESTROY
)
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_DESTROY
)
...
...
newcards/expansions/script/c33700306.lua
View file @
5184cfc1
...
@@ -6,9 +6,10 @@ function cm.initial_effect(c)
...
@@ -6,9 +6,10 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetRange
(
LOCATION_
MZONE
)
e1
:
SetRange
(
LOCATION_
ONFIELD
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTarget
(
cm
.
indtg
)
e1
:
SetTarget
(
cm
.
indtg
)
e1
:
SetCondition
(
cm
.
con
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--double damage
--double damage
...
@@ -37,6 +38,9 @@ function cm.initial_effect(c)
...
@@ -37,6 +38,9 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
repop
)
e4
:
SetOperation
(
cm
.
repop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
con
(
e
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
or
e
:
GetHandler
():
IsType
(
TYPE_CONTINUOUS
)
end
function
cm
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
return
ep
~=
tp
and
(
tc
:
IsSetCard
(
0x1449
)
or
tc
:
IsSetCard
(
0x3449
))
return
ep
~=
tp
and
(
tc
:
IsSetCard
(
0x1449
)
or
tc
:
IsSetCard
(
0x3449
))
...
...
newcards/expansions/script/c33700309.lua
View file @
5184cfc1
...
@@ -6,8 +6,9 @@ function cm.initial_effect(c)
...
@@ -6,8 +6,9 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e1
:
SetRange
(
LOCATION_
MZONE
)
e1
:
SetRange
(
LOCATION_
ONFIELD
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
con
)
e1
:
SetTarget
(
cm
.
etg
)
e1
:
SetTarget
(
cm
.
etg
)
e1
:
SetValue
(
aux
.
indoval
)
e1
:
SetValue
(
aux
.
indoval
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -29,6 +30,9 @@ function cm.initial_effect(c)
...
@@ -29,6 +30,9 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
repop
)
e4
:
SetOperation
(
cm
.
repop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
con
(
e
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
or
e
:
GetHandler
():
IsType
(
TYPE_CONTINUOUS
)
end
function
cm
.
etg
(
e
,
c
)
function
cm
.
etg
(
e
,
c
)
return
c
:
IsSetCard
(
0x1449
)
or
c
:
IsSetCard
(
0x3449
)
return
c
:
IsSetCard
(
0x1449
)
or
c
:
IsSetCard
(
0x3449
)
end
end
...
...
newcards/expansions/script/c33700312.lua
View file @
5184cfc1
...
@@ -22,6 +22,7 @@ function cm.initial_effect(c)
...
@@ -22,6 +22,7 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e2
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetTarget
(
cm
.
at
)
e2
:
SetTarget
(
cm
.
at
)
e2
:
SetOperation
(
cm
.
ao
)
e2
:
SetOperation
(
cm
.
ao
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
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