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
3934fb95
Commit
3934fb95
authored
Apr 19, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d2a4abb1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
19 deletions
+31
-19
script/c100278021.lua
script/c100278021.lua
+12
-6
script/c100425036.lua
script/c100425036.lua
+2
-2
script/c101105025.lua
script/c101105025.lua
+17
-11
No files found.
script/c100278021.lua
View file @
3934fb95
...
@@ -18,13 +18,19 @@ function c100278021.initial_effect(c)
...
@@ -18,13 +18,19 @@ function c100278021.initial_effect(c)
e1
:
SetTarget
(
c100278021
.
tktg
)
e1
:
SetTarget
(
c100278021
.
tktg
)
e1
:
SetOperation
(
c100278021
.
tkop
)
e1
:
SetOperation
(
c100278021
.
tkop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
e1
:
Clone
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCode
(
EVENT_FLIP_SUMMON_SUCCESS
)
e2
:
SetDescription
(
aux
.
Stringid
(
100278021
,
1
))
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EVENT_LEAVE_FIELD_P
)
e2
:
SetOperation
(
c100278021
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e3
)
--destroy
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
100278021
,
1
))
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD_P
)
e4
:
SetOperation
(
c100278021
.
desop
)
c
:
RegisterEffect
(
e4
)
end
end
function
c100278021
.
tkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100278021
.
tkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
#
eg
~=
1
then
return
false
end
if
#
eg
~=
1
then
return
false
end
...
...
script/c100425036.lua
View file @
3934fb95
--LL-アンサンブルー・ロビン
--LL-アンサンブルー・ロビン
--Lyrilusc
– Ensembl(u)
e Robin
--Lyrilusc
- Ensemblu
e Robin
--Script by TheOnePharaoh
--Script by TheOnePharaoh
function
c100425036
.
initial_effect
(
c
)
function
c100425036
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
@@ -16,7 +16,7 @@ function c100425036.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c100425036.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
100425036
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
100425036
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_
SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
...
...
script/c101105025.lua
View file @
3934fb95
...
@@ -3,21 +3,15 @@
...
@@ -3,21 +3,15 @@
--Scripted by mallu11
--Scripted by mallu11
function
c101105025
.
initial_effect
(
c
)
function
c101105025
.
initial_effect
(
c
)
--special summon
--special summon
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e0
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e0
:
SetRange
(
LOCATION_HAND
)
e0
:
SetCondition
(
c101105025
.
regcon
)
e0
:
SetOperation
(
c101105025
.
regop
)
c
:
RegisterEffect
(
e0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
101105025
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
101105025
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_
SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_CUSTOM
+
101105025
)
e1
:
SetCode
(
EVENT_CUSTOM
+
101105025
)
e1
:
SetProperty
(
EFFECT_FLAG_
SINGLE_RANGE
+
EFFECT_FLAG_
DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
101105025
)
e1
:
SetCountLimit
(
1
,
101105025
)
e1
:
SetCondition
(
c101105025
.
spcon
)
e1
:
SetTarget
(
c101105025
.
sptg
)
e1
:
SetTarget
(
c101105025
.
sptg
)
e1
:
SetOperation
(
c101105025
.
spop
)
e1
:
SetOperation
(
c101105025
.
spop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -42,13 +36,25 @@ function c101105025.initial_effect(c)
...
@@ -42,13 +36,25 @@ function c101105025.initial_effect(c)
e3
:
SetTarget
(
c101105025
.
indtg
)
e3
:
SetTarget
(
c101105025
.
indtg
)
e3
:
SetOperation
(
c101105025
.
indop
)
e3
:
SetOperation
(
c101105025
.
indop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
if
not
c101105025
.
global_check
then
c101105025
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
ge1
:
SetCode
(
EVENT_CHAIN_SOLVED
)
ge1
:
SetCondition
(
c101105025
.
regcon
)
ge1
:
SetOperation
(
c101105025
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
end
function
c101105025
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101105025
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
loc
,
race
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TRIGGERING_RACE
)
local
loc
,
race
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TRIGGERING_RACE
)
return
r
p
==
tp
and
r
e
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
&
LOCATION_MZONE
~=
0
and
race
&
RACE_FAIRY
~=
0
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
&
LOCATION_MZONE
~=
0
and
race
&
RACE_FAIRY
~=
0
end
end
function
c101105025
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101105025
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
RaiseSingleEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
101105025
,
re
,
0
,
0
,
0
,
0
)
Duel
.
RaiseEvent
(
re
:
GetHandler
(),
EVENT_CUSTOM
+
101105025
,
re
,
r
,
rp
,
ep
,
ev
)
end
function
c101105025
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
tp
end
end
function
c101105025
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101105025
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
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