Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
3ded6e68
Commit
3ded6e68
authored
Apr 06, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
420601f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
40 deletions
+28
-40
expansions/script/c60152913.lua
expansions/script/c60152913.lua
+28
-40
No files found.
expansions/script/c60152913.lua
View file @
3ded6e68
...
...
@@ -29,56 +29,44 @@ function c60152913.initial_effect(c)
e9
:
SetOperation
(
c60152913
.
e3op
)
c
:
RegisterEffect
(
e9
)
if
not
c601529
01
.
global_check
then
c601529
01
.
global_check
=
true
if
not
c601529
13
.
global_check
then
c601529
13
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_TO_HAND
)
ge1
:
SetOperation
(
c601529
01
.
regop
)
ge1
:
SetOperation
(
c601529
13
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
if
not
c60152902
.
global_check
then
c60152902
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
ge1
:
SetOperation
(
c60152902
.
checkop
)
local
ge2
=
Effect
.
CreateEffect
(
c
)
ge2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
ge2
:
SetOperation
(
c60152913
.
checkop2
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
ge2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
Duel
.
RegisterEffect
(
ge2
,
0
)
local
ge3
=
ge1
:
Clone
()
ge3
:
SetCode
(
EVENT_FLIP_SUMMON_SUCCESS
)
local
ge3
=
ge2
:
Clone
()
ge3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
Duel
.
RegisterEffect
(
ge3
,
0
)
end
local
ge4
=
ge1
:
Clone
()
ge4
:
SetCode
(
EVENT_FLIP_SUMMON_SUCCESS
)
Duel
.
RegisterEffect
(
ge4
,
0
)
if
not
c60152903
.
global_check
then
c60152903
.
global_check
=
true
local
ge1
=
Effect
.
GlobalEffect
()
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_BATTLED
)
ge1
:
SetOperation
(
c60152903
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
local
ge5
=
Effect
.
GlobalEffect
()
ge5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge5
:
SetCode
(
EVENT_BATTLED
)
ge5
:
SetOperation
(
c60152913
.
checkop3
)
Duel
.
RegisterEffect
(
ge5
,
0
)
if
not
c60152904
.
global_check
then
c60152904
.
global_check
=
true
local
ge1
=
Effect
.
GlobalEffect
()
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_TO_GRAVE
)
ge1
:
SetOperation
(
c60152904
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge6
=
Effect
.
GlobalEffect
()
ge6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge6
:
SetCode
(
EVENT_TO_GRAVE
)
ge6
:
SetOperation
(
c60152913
.
checkop4
)
Duel
.
RegisterEffect
(
ge6
,
0
)
end
Duel
.
AddCustomActivityCounter
(
60152905
,
ACTIVITY_CHAIN
,
aux
.
FALSE
)
end
function
c601529
01
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c601529
13
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
eg
:
Filter
(
Card
.
IsPreviousLocation
,
nil
,
LOCATION_DECK
)
local
tc
=
g
:
GetFirst
()
while
tc
do
...
...
@@ -92,7 +80,7 @@ function c60152901.regop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c601529
02
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c601529
13
.
checkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
while
tc
do
Duel
.
RegisterFlagEffect
(
tc
:
GetSummonPlayer
(),
60152902
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
@@ -101,17 +89,17 @@ function c60152902.checkop(e,tp,eg,ep,ev,re,r,rp)
end
function
c601529
0
3
.
check
(
c
)
function
c601529
1
3
.
check
(
c
)
return
c
end
function
c601529
03
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
c601529
03
.
check
(
Duel
.
GetAttacker
())
and
c6015290
3
.
check
(
Duel
.
GetAttackTarget
())
then
function
c601529
13
.
checkop3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
c601529
13
.
check
(
Duel
.
GetAttacker
())
and
c6015291
3
.
check
(
Duel
.
GetAttackTarget
())
then
Duel
.
RegisterFlagEffect
(
tp
,
60152903
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
1
-
tp
,
60152903
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c601529
04
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c601529
13
.
checkop4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
eg
:
Filter
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
local
tc
=
g
:
GetFirst
()
while
tc
do
...
...
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