Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
befede35
Commit
befede35
authored
Jul 02, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8530d84b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
18 deletions
+18
-18
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c100413009.lua
script/c100413009.lua
+4
-4
script/c101010033.lua
script/c101010033.lua
+1
-1
script/c101010040.lua
script/c101010040.lua
+2
-2
script/c101010064.lua
script/c101010064.lua
+11
-11
No files found.
expansions/pre-release.cdb
View file @
befede35
No preview for this file type
script/c100413009.lua
View file @
befede35
...
@@ -34,9 +34,9 @@ end
...
@@ -34,9 +34,9 @@ end
function
c100413009
.
ctcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100413009
.
ctcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rt
=
3
local
rt
=
3
if
not
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
)
then
rt
=
rt
-
1
end
if
not
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
then
rt
=
rt
-
1
end
if
not
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
then
rt
=
rt
-
1
end
if
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
then
rt
=
rt
-
1
end
if
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
then
rt
=
rt
-
1
end
if
not
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
)
then
rt
=
rt
-
1
end
if
chk
==
0
then
return
c
:
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
c
:
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
c
:
RemoveOverlayCard
(
tp
,
1
,
rt
,
REASON_COST
)
c
:
RemoveOverlayCard
(
tp
,
1
,
rt
,
REASON_COST
)
local
ct
=
Duel
.
GetOperatedGroup
():
GetCount
()
local
ct
=
Duel
.
GetOperatedGroup
():
GetCount
()
...
@@ -44,8 +44,8 @@ function c100413009.ctcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -44,8 +44,8 @@ function c100413009.ctcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c100413009
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100413009
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
local
b3
=
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_SZONE
,
1
,
nil
)
local
b3
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
if
chk
==
0
then
return
b1
or
b2
or
b3
end
if
chk
==
0
then
return
b1
or
b2
or
b3
end
local
ct
=
e
:
GetLabel
()
local
ct
=
e
:
GetLabel
()
local
sel
=
0
local
sel
=
0
...
@@ -81,7 +81,7 @@ function c100413009.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -81,7 +81,7 @@ function c100413009.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
b3
=
false
b3
=
false
end
end
ct
=
ct
-
1
ct
=
ct
-
1
until
ct
==
0
or
off
<
3
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100413009
,
3
))
until
ct
==
0
or
off
<
3
e
:
SetLabel
(
sel
)
e
:
SetLabel
(
sel
)
if
bit
.
band
(
sel
,
1
)
~=
0
then
if
bit
.
band
(
sel
,
1
)
~=
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
1
-
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
1
-
tp
,
LOCATION_HAND
)
...
...
script/c101010033.lua
View file @
befede35
...
@@ -54,7 +54,7 @@ function c101010033.cfilter(c)
...
@@ -54,7 +54,7 @@ function c101010033.cfilter(c)
return
(
c
:
IsFusionCode
(
101010013
)
or
c
:
IsFusionSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsAbleToDeckOrExtraAsCost
()
return
(
c
:
IsFusionCode
(
101010013
)
or
c
:
IsFusionSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
end
function
c101010033
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101010033
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
end
end
function
c101010033
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101010033
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
script/c101010040.lua
View file @
befede35
...
@@ -49,8 +49,8 @@ end
...
@@ -49,8 +49,8 @@ end
function
c101010040
.
immtg2
(
e
,
c
)
function
c101010040
.
immtg2
(
e
,
c
)
return
c
==
e
:
GetHandler
():
GetBattleTarget
()
return
c
==
e
:
GetHandler
():
GetBattleTarget
()
end
end
function
c101010040
.
efilter2
(
e
,
te
)
function
c101010040
.
efilter2
(
e
,
te
,
c
)
return
e
:
GetHandler
()
~=
te
:
GetOwner
()
return
c
~=
te
:
GetOwner
()
end
end
function
c101010040
.
indcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101010040
.
indcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
at
=
Duel
.
GetAttackTarget
()
local
at
=
Duel
.
GetAttackTarget
()
...
...
script/c101010064.lua
View file @
befede35
...
@@ -15,7 +15,7 @@ function c101010064.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c101010064.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
101010064
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
101010064
,
0
))
e2
:
SetCategory
(
CATEGORY_COUNTER
)
e2
:
SetCategory
(
CATEGORY_COUNTER
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_
O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_
F
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
...
@@ -24,16 +24,16 @@ function c101010064.initial_effect(c)
...
@@ -24,16 +24,16 @@ function c101010064.initial_effect(c)
e2
:
SetOperation
(
c101010064
.
activate
)
e2
:
SetOperation
(
c101010064
.
activate
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--recover
--recover
local
e
4
=
Effect
.
CreateEffect
(
c
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
4
:
SetDescription
(
aux
.
Stringid
(
101010064
,
1
))
e
3
:
SetDescription
(
aux
.
Stringid
(
101010064
,
1
))
e
4
:
SetCategory
(
CATEGORY_RECOVER
)
e
3
:
SetCategory
(
CATEGORY_RECOVER
)
e
4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
4
:
SetRange
(
LOCATION_SZONE
)
e
3
:
SetRange
(
LOCATION_SZONE
)
e
4
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e
3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e
4
:
SetTarget
(
c101010064
.
rectg
)
e
3
:
SetTarget
(
c101010064
.
rectg
)
e
4
:
SetOperation
(
c101010064
.
recop
)
e
3
:
SetOperation
(
c101010064
.
recop
)
c
:
RegisterEffect
(
e
4
)
c
:
RegisterEffect
(
e
3
)
--damage
--damage
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
e4
:
SetDescription
(
aux
.
Stringid
(
101010064
,
2
))
e4
:
SetDescription
(
aux
.
Stringid
(
101010064
,
2
))
...
...
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