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
03cafacc
Commit
03cafacc
authored
Jun 12, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update scripts
parent
d44e2279
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
6 deletions
+9
-6
script/c100231008.lua
script/c100231008.lua
+1
-1
script/c100242201.lua
script/c100242201.lua
+1
-1
script/c100409004.lua
script/c100409004.lua
+1
-0
script/c100409015.lua
script/c100409015.lua
+3
-2
script/c100409024.lua
script/c100409024.lua
+2
-1
script/c100409035.lua
script/c100409035.lua
+1
-1
No files found.
script/c100231008.lua
View file @
03cafacc
...
@@ -40,7 +40,7 @@ function c100231008.initial_effect(c)
...
@@ -40,7 +40,7 @@ function c100231008.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--pendulum
--pendulum
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
100231008
,
2
))
e5
:
SetDescription
(
aux
.
Stringid
(
100231008
,
1
))
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetCode
(
EVENT_DESTROYED
)
e5
:
SetCode
(
EVENT_DESTROYED
)
...
...
script/c100242201.lua
View file @
03cafacc
...
@@ -37,7 +37,7 @@ end
...
@@ -37,7 +37,7 @@ end
function
c100242201
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100242201
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
rp
~=
tp
and
c
:
GetPreviousControler
()
==
tp
and
rp
==
1
-
tp
and
c
:
GetPreviousControler
()
==
tp
end
end
function
c100242201
.
spfilter
(
c
,
e
,
tp
)
function
c100242201
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
70781052
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
70781052
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c100409004.lua
View file @
03cafacc
...
@@ -51,6 +51,7 @@ function c100409004.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -51,6 +51,7 @@ function c100409004.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c100409004
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100409004
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c100409004
.
rmfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c100409004
.
rmfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
if
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_EFFECT
)
>
0
then
if
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_EFFECT
)
>
0
then
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
script/c100409015.lua
View file @
03cafacc
...
@@ -30,7 +30,7 @@ function c100409015.initial_effect(c)
...
@@ -30,7 +30,7 @@ function c100409015.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--chain attack
--chain attack
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
20007374
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
100409015
,
0
))
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_DAMAGE_STEP_END
)
e4
:
SetCode
(
EVENT_DAMAGE_STEP_END
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetRange
(
LOCATION_SZONE
)
...
@@ -119,7 +119,8 @@ function c100409015.ftarget(e,c)
...
@@ -119,7 +119,8 @@ function c100409015.ftarget(e,c)
return
e
:
GetLabel
()
~=
c
:
GetFieldID
()
return
e
:
GetLabel
()
~=
c
:
GetFieldID
()
end
end
function
c100409015
.
catg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100409015
.
catg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetEquipTarget
():
IsChainAttackable
(
0
,
true
)
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
GetEquipTarget
():
IsChainAttackable
(
0
,
true
)
end
end
end
function
c100409015
.
caop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100409015
.
caop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
script/c100409024.lua
View file @
03cafacc
...
@@ -95,7 +95,8 @@ function c100409024.splimit(e,c)
...
@@ -95,7 +95,8 @@ function c100409024.splimit(e,c)
return
not
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
end
function
c100409024
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100409024
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
~=
0
then
local
c
=
e
:
GetHandler
()
if
Duel
.
SendtoGrave
(
c
,
REASON_EFFECT
)
~=
0
and
c
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
end
end
end
end
script/c100409035.lua
View file @
03cafacc
...
@@ -75,7 +75,7 @@ function c100409035.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,7 +75,7 @@ function c100409035.effop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rc
=
c
:
GetReasonCard
()
local
rc
=
c
:
GetReasonCard
()
local
e1
=
Effect
.
CreateEffect
(
rc
)
local
e1
=
Effect
.
CreateEffect
(
rc
)
e1
:
SetDescription
(
aux
.
Stringid
(
100409035
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
100409035
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCode
(
EFFECT_BATTLE_DESTROY_REDIRECT
)
e1
:
SetCode
(
EFFECT_BATTLE_DESTROY_REDIRECT
)
...
...
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