Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Soulgamer
ygopro-222DIY-cards
Commits
54f848d1
Commit
54f848d1
authored
Sep 06, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
bf7236d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
expansions/script/c33400000.lua
expansions/script/c33400000.lua
+15
-15
No files found.
expansions/script/c33400000.lua
View file @
54f848d1
...
@@ -75,7 +75,7 @@ function XY.zsop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,7 +75,7 @@ function XY.zsop1(e,tp,eg,ep,ev,re,r,rp)
end
end
function
XY
.
handcon
(
e
)
function
XY
.
handcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
XY
.
hdfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_EXTRA
,
0
)
==
0
return
Duel
.
IsExistingMatchingCard
(
XY
.
hdfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
()
,
LOCATION_EXTRA
,
0
)
==
0
end
end
function
XY
.
hdfilter
(
c
)
function
XY
.
hdfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
33403500
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
33403500
)
...
@@ -963,7 +963,7 @@ function XY.maganethfilter0(c,tp)
...
@@ -963,7 +963,7 @@ function XY.maganethfilter0(c,tp)
end
end
return
ss
==
1
return
ss
==
1
end
end
function
XY
.
magane
th
filter10
(
c
,
tp
)
function
XY
.
magane
ck
filter10
(
c
,
tp
)
local
ss
=
0
local
ss
=
0
if
c
:
IsCode
(
33403521
)
and
Duel
.
IsExistingMatchingCard
(
XY
.
maganethfilter1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
then
if
c
:
IsCode
(
33403521
)
and
Duel
.
IsExistingMatchingCard
(
XY
.
maganethfilter1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
then
ss
=
1
ss
=
1
...
@@ -1098,7 +1098,7 @@ function XY.maganere5(e,tp,eg,ep,ev,re,r,rp)
...
@@ -1098,7 +1098,7 @@ function XY.maganere5(e,tp,eg,ep,ev,re,r,rp)
local
g3
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToChangeControler
,
tp
,
0
,
LOCATION_MZONE
,
1
,
3
,
nil
)
local
g3
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToChangeControler
,
tp
,
0
,
LOCATION_MZONE
,
1
,
3
,
nil
)
if
g3
:
GetCount
()
>
0
and
Duel
.
GetControl
(
g3
,
tp
)
~=
0
then
if
g3
:
GetCount
()
>
0
and
Duel
.
GetControl
(
g3
,
tp
)
~=
0
then
local
tc1
=
g3
:
GetFirst
()
local
tc1
=
g3
:
GetFirst
()
local
at1
=
t
g
1
:
GetAttack
()
local
at1
=
t
c
1
:
GetAttack
()
local
tc2
=
g3
:
GetNext
()
local
tc2
=
g3
:
GetNext
()
while
tc2
do
while
tc2
do
at1
=
at1
+
tc2
:
GetAttack
()
at1
=
at1
+
tc2
:
GetAttack
()
...
@@ -1184,21 +1184,21 @@ function XY.maganere8(e,tp,eg,ep,ev,re,r,rp)
...
@@ -1184,21 +1184,21 @@ function XY.maganere8(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
local
e
1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e
4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e
1
:
SetType
(
EFFECT_TYPE_FIELD
)
e
4
:
SetType
(
EFFECT_TYPE_FIELD
)
e
1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e
4
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e
1
:
SetTargetRange
(
0
,
1
)
e
4
:
SetTargetRange
(
0
,
1
)
e
1
:
SetCondition
(
XY
.
maganeactcon
)
e
4
:
SetCondition
(
XY
.
maganeactcon
)
e
1
:
SetValue
(
1
)
e
4
:
SetValue
(
1
)
if
Duel
.
GetTurnPlayer
()
==
tp
then
if
Duel
.
GetTurnPlayer
()
==
tp
then
e
0
:
SetLabel
(
Duel
.
GetTurnCount
())
e
4
:
SetLabel
(
Duel
.
GetTurnCount
())
e
0
:
SetCondition
(
XY
.
maganebpcon6
)
e
4
:
SetCondition
(
XY
.
maganebpcon6
)
e
0
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e
4
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
else
else
e
0
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
)
e
4
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
)
end
end
Duel
.
RegisterEffect
(
e
1
,
tp
)
Duel
.
RegisterEffect
(
e
4
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
33413528
,
RESET_EVENT
+
RESET_PHASE
+
PHASE_END
,
0
,
0
)
Duel
.
RegisterFlagEffect
(
tp
,
33413528
,
RESET_EVENT
+
RESET_PHASE
+
PHASE_END
,
0
,
0
)
end
end
...
...
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