Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
87a9eaa0
Commit
87a9eaa0
authored
Apr 27, 2022
by
Chrono-Genex
Committed by
GitHub
Apr 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Dragunity Knight - Ascalon and so on (#1863)
parent
c7b9a88a
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
71 additions
and
37 deletions
+71
-37
c20994205.lua
c20994205.lua
+1
-0
c24590232.lua
c24590232.lua
+1
-0
c26194151.lua
c26194151.lua
+1
-0
c27503418.lua
c27503418.lua
+1
-0
c30983281.lua
c30983281.lua
+15
-12
c32245230.lua
c32245230.lua
+7
-4
c37337327.lua
c37337327.lua
+6
-3
c48891960.lua
c48891960.lua
+5
-2
c50588353.lua
c50588353.lua
+4
-2
c72218246.lua
c72218246.lua
+5
-2
c74892653.lua
c74892653.lua
+4
-2
c78876707.lua
c78876707.lua
+7
-4
c85808813.lua
c85808813.lua
+1
-0
c91946859.lua
c91946859.lua
+5
-2
c9402966.lua
c9402966.lua
+4
-2
c95134948.lua
c95134948.lua
+4
-2
No files found.
c20994205.lua
View file @
87a9eaa0
...
...
@@ -62,6 +62,7 @@ function c20994205.activate(e,tp,eg,ep,ev,re,r,rp)
if
sg
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
xyz
=
spg
:
FilterSelect
(
tp
,
c20994205
.
spnofilter
,
1
,
1
,
sg
,
sg
:
GetSum
(
aux
.
GetXyzNumber
)):
GetFirst
()
xyz
:
SetMaterial
(
nil
)
Duel
.
SpecialSummon
(
xyz
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
xyz
:
CompleteProcedure
()
Duel
.
Overlay
(
xyz
,
sg
)
...
...
c24590232.lua
View file @
87a9eaa0
...
...
@@ -43,6 +43,7 @@ function c24590232.activate(e,tp,eg,ep,ev,re,r,rp)
local
g3
=
rg
:
SelectWithSumEqual
(
tp
,
Card
.
GetLevel
,
rlv
,
1
,
63
)
g2
:
Merge
(
g3
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_EFFECT
)
g1
:
GetFirst
():
SetMaterial
(
nil
)
Duel
.
SpecialSummon
(
g1
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
g1
:
GetFirst
():
CompleteProcedure
()
end
...
...
c26194151.lua
View file @
87a9eaa0
...
...
@@ -42,6 +42,7 @@ function c26194151.activate(e,tp,eg,ep,ev,re,r,rp)
local
g3
=
rg
:
SelectWithSumEqual
(
tp
,
Card
.
GetLevel
,
rlv
,
1
,
2
)
g2
:
Merge
(
g3
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_EFFECT
)
tc
:
SetMaterial
(
nil
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c27503418.lua
View file @
87a9eaa0
...
...
@@ -43,6 +43,7 @@ function c27503418.activate(e,tp,eg,ep,ev,re,r,rp)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c27503418
.
filter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
,
lv
)
g2
:
AddCard
(
tc
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_EFFECT
)
g1
:
GetFirst
():
SetMaterial
(
nil
)
Duel
.
SpecialSummon
(
g1
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
g1
:
GetFirst
():
CompleteProcedure
()
end
...
...
c30983281.lua
View file @
87a9eaa0
...
...
@@ -128,7 +128,9 @@ function c30983281.scop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c30983281
.
scfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
c
,
nil
,
nil
,
true
,
true
)
local
tc
=
g
:
GetFirst
()
local
res
=
false
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
then
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
@@ -141,6 +143,7 @@ function c30983281.scop(e,tp,eg,ep,ev,re,r,rp)
tc
:
CompleteProcedure
()
res
=
true
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
RaiseEvent
(
c
,
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
nil
)
...
...
c32245230.lua
View file @
87a9eaa0
...
...
@@ -71,11 +71,14 @@ function c32245230.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c32245230
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
sc
=
sg
:
GetFirst
()
if
sc
and
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
sc
then
sc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
sc
:
CompleteProcedure
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
Overlay
(
sc
,
Group
.
FromCards
(
c
))
end
end
end
end
end
c37337327.lua
View file @
87a9eaa0
...
...
@@ -75,8 +75,11 @@ function c37337327.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c37337327
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
g
:
GetFirst
():
CompleteProcedure
()
local
tc
=
g
:
GetFirst
()
if
tc
then
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
end
end
end
c48891960.lua
View file @
87a9eaa0
...
...
@@ -67,7 +67,10 @@ function c48891960.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c48891960
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
tc
then
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
end
end
end
c50588353.lua
View file @
87a9eaa0
...
...
@@ -78,7 +78,9 @@ function c50588353.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c50588353
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
nil
):
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
end
end
end
c72218246.lua
View file @
87a9eaa0
...
...
@@ -62,9 +62,12 @@ function c72218246.spop1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c72218246
.
spfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
tc
then
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
tc
:
CompleteProcedure
()
end
end
end
function
c72218246
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsReason
(
REASON_EFFECT
)
...
...
c74892653.lua
View file @
87a9eaa0
...
...
@@ -104,7 +104,9 @@ function c74892653.scop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c74892653
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
end
end
end
c78876707.lua
View file @
87a9eaa0
...
...
@@ -69,10 +69,13 @@ function c78876707.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c78876707
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
tc
then
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
c
))
end
end
end
end
c85808813.lua
View file @
87a9eaa0
...
...
@@ -53,6 +53,7 @@ function c85808813.activate(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c85808813
.
ffilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
lv
,
e
,
tp
,
nil
)
if
sg
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
sg
:
GetFirst
():
SetMaterial
(
nil
)
Duel
.
SpecialSummon
(
sg
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
sg
:
GetFirst
():
CompleteProcedure
()
end
...
...
c91946859.lua
View file @
87a9eaa0
...
...
@@ -55,7 +55,10 @@ function c91946859.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c91946859
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
then
if
tc
then
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
end
end
end
c9402966.lua
View file @
87a9eaa0
...
...
@@ -53,8 +53,10 @@ function c9402966.scop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
sg
:
GetFirst
()
if
tc
then
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
end
end
end
end
c95134948.lua
View file @
87a9eaa0
...
...
@@ -101,9 +101,11 @@ function c95134948.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c95134948
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
end
end
end
function
c95134948
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
tp
~=
Duel
.
GetTurnPlayer
()
and
aux
.
nzatk
(
Duel
.
GetAttacker
())
...
...
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