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
32d68b12
Commit
32d68b12
authored
Oct 17, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c1f15e64
Pipeline
#17216
passed with stages
in 32 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
16 deletions
+24
-16
script/c100294003.lua
script/c100294003.lua
+1
-1
script/c101111015.lua
script/c101111015.lua
+19
-13
script/c101111030.lua
script/c101111030.lua
+1
-0
script/c101111045.lua
script/c101111045.lua
+2
-1
script/c101111054.lua
script/c101111054.lua
+1
-1
No files found.
script/c100294003.lua
View file @
32d68b12
...
@@ -50,7 +50,7 @@ function c100294003.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function c100294003.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c100294003
.
splimit
(
e
,
c
)
function
c100294003
.
splimit
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_SYNCHRO
)
return
not
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
end
function
c100294003
.
spfilter
(
c
,
e
,
tp
)
function
c100294003
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsControler
(
tp
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
...
...
script/c101111015.lua
View file @
32d68b12
...
@@ -19,24 +19,27 @@ function c101111015.initial_effect(c)
...
@@ -19,24 +19,27 @@ function c101111015.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_EQUIP
)
e2
:
SetCategory
(
CATEGORY_EQUIP
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCountLimit
(
1
,
101111115
)
e2
:
SetCountLimit
(
1
,
101111115
)
e2
:
SetCode
(
EVENT_S
PS
UMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetTarget
(
c101111015
.
eqtg
)
e2
:
SetTarget
(
c101111015
.
eqtg
)
e2
:
SetOperation
(
c101111015
.
eqop
)
e2
:
SetOperation
(
c101111015
.
eqop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--destroy
local
e3
=
e2
:
Clone
()
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetDescription
(
aux
.
Stringid
(
101111015
,
1
))
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BATTLE_START
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c101111015
.
descon
)
e3
:
SetTarget
(
c101111015
.
destg
)
e3
:
SetOperation
(
c101111015
.
desop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--destroy
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
101111015
,
1
))
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_BATTLE_START
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c101111015
.
descon
)
e4
:
SetTarget
(
c101111015
.
destg
)
e4
:
SetOperation
(
c101111015
.
desop
)
c
:
RegisterEffect
(
e4
)
end
end
function
c101111015
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101111015
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
return
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
...
@@ -82,6 +85,9 @@ function c101111015.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,6 +85,9 @@ function c101111015.eqop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetValue
(
500
)
e2
:
SetValue
(
500
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterFlagEffect
(
101111015
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
tc
:
RegisterFlagEffect
(
101111015
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
end
end
end
end
...
...
script/c101111030.lua
View file @
32d68b12
...
@@ -48,6 +48,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,6 +48,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
function
s
.
flipup
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
flipup
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetLabelObject
()
if
c
:
GetFlagEffect
(
id
)
>
0
then
Duel
.
ChangePosition
(
c
,
POS_FACEUP_DEFENSE
)
end
if
c
:
GetFlagEffect
(
id
)
>
0
then
Duel
.
ChangePosition
(
c
,
POS_FACEUP_DEFENSE
)
end
e
:
Reset
()
e
:
Reset
()
end
end
...
...
script/c101111045.lua
View file @
32d68b12
--ギガンティック“チャンピオン”サルガス
--ギガンティック“チャンピオン”サルガス
--Script by 神数不神
--Script by 神数不神
function
c101111045
.
initial_effect
(
c
)
function
c101111045
.
initial_effect
(
c
)
Duel
.
EnableGlobalFlag
(
GLOBALFLAG_DETACH_EVENT
)
--xyz summon
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
8
,
2
,
c101111045
.
ovfilter
,
aux
.
Stringid
(
101111045
,
0
),
99
,
c101111045
.
xyzop
)
aux
.
AddXyzProcedure
(
c
,
nil
,
8
,
2
,
c101111045
.
ovfilter
,
aux
.
Stringid
(
101111045
,
0
),
99
,
c101111045
.
xyzop
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
@@ -66,7 +67,7 @@ function c101111045.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +67,7 @@ function c101111045.desop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
tc
:
IsAbleToHand
()
if
tc
:
IsAbleToHand
()
and
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
101111045
,
4
),
aux
.
Stringid
(
101111045
,
5
))
==
1
then
and
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
101111045
,
3
),
aux
.
Stringid
(
101111045
,
4
))
==
1
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
else
else
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
...
...
script/c101111054.lua
View file @
32d68b12
...
@@ -42,7 +42,7 @@ end
...
@@ -42,7 +42,7 @@ end
function
c101111054
.
spfilter
(
c
,
e
,
tp
)
function
c101111054
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x155
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x155
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c101111054
.
activate
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101111054
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101111054
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101111054
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
...
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