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
1f4dd54e
Commit
1f4dd54e
authored
Sep 12, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b82ff3be
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
12 deletions
+15
-12
expansions/script/c11451411.lua
expansions/script/c11451411.lua
+2
-2
expansions/script/c11451412.lua
expansions/script/c11451412.lua
+2
-2
expansions/script/c11451413.lua
expansions/script/c11451413.lua
+1
-1
expansions/script/c11451420.lua
expansions/script/c11451420.lua
+2
-2
expansions/script/c11451421.lua
expansions/script/c11451421.lua
+1
-1
expansions/script/c11451921.lua
expansions/script/c11451921.lua
+6
-3
expansions/script/c22022580.lua
expansions/script/c22022580.lua
+1
-1
No files found.
expansions/script/c11451411.lua
View file @
1f4dd54e
...
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
e4
:
SetCondition
(
cm
.
condition0
)
c
:
RegisterEffect
(
e4
)
cm
.
hand_effect
=
cm
.
hand_effect
or
{}
cm
.
hand_effect
[
c
]
=
e1
cm
.
hand_effect
[
c
]
=
e1
--effect2
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -76,7 +76,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetProperty
(
c
:
GetProperty
())
local
target
=
c
:
GetTarget
()
if
target
then
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
if
tp
==
Duel
.
GetTurnPlayer
()
then
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
):
GetHandler
():
RegisterFlagEffect
(
11451425
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
if
tp
==
Duel
.
GetTurnPlayer
()
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
)
then
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
):
GetHandler
():
RegisterFlagEffect
(
11451425
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
Duel
.
ClearOperationInfo
(
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
...
...
expansions/script/c11451412.lua
View file @
1f4dd54e
...
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
e4
:
SetCondition
(
cm
.
condition0
)
c
:
RegisterEffect
(
e4
)
cm
.
hand_effect
=
cm
.
hand_effect
or
{}
cm
.
hand_effect
[
c
]
=
e1
cm
.
hand_effect
[
c
]
=
e1
--effect2
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -75,7 +75,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetProperty
(
c
:
GetProperty
())
local
target
=
c
:
GetTarget
()
if
target
then
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
if
tp
==
Duel
.
GetTurnPlayer
()
then
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
):
GetHandler
():
RegisterFlagEffect
(
11451425
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
if
tp
==
Duel
.
GetTurnPlayer
()
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
)
then
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
):
GetHandler
():
RegisterFlagEffect
(
11451425
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
Duel
.
ClearOperationInfo
(
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
...
...
expansions/script/c11451413.lua
View file @
1f4dd54e
...
...
@@ -75,7 +75,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetProperty
(
c
:
GetProperty
())
local
target
=
c
:
GetTarget
()
if
target
then
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
if
tp
==
Duel
.
GetTurnPlayer
()
then
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
):
GetHandler
():
RegisterFlagEffect
(
11451425
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
if
tp
==
Duel
.
GetTurnPlayer
()
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
)
then
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
):
GetHandler
():
RegisterFlagEffect
(
11451425
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
Duel
.
ClearOperationInfo
(
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
...
...
expansions/script/c11451420.lua
View file @
1f4dd54e
...
...
@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e4
:
SetCondition
(
cm
.
condition0
)
c
:
RegisterEffect
(
e4
)
cm
.
hand_effect
=
cm
.
hand_effect
or
{}
cm
.
hand_effect
[
c
]
=
e1
cm
.
hand_effect
[
c
]
=
e1
--effect2
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -52,10 +52,10 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
g
:
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
Duel
.
ShuffleHand
(
tp
)
if
tp
==
Duel
.
GetTurnPlayer
()
then
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
):
GetHandler
():
RegisterFlagEffect
(
11451425
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
if
tp
==
Duel
.
GetTurnPlayer
()
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
)
then
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
):
GetHandler
():
RegisterFlagEffect
(
11451425
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
tp
,
LOCATION_HAND
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c11451421.lua
View file @
1f4dd54e
...
...
@@ -63,10 +63,10 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
g
:
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
Duel
.
ShuffleHand
(
tp
)
if
tp
==
Duel
.
GetTurnPlayer
()
then
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
):
GetHandler
():
RegisterFlagEffect
(
11451425
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
if
tp
==
Duel
.
GetTurnPlayer
()
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
)
then
Duel
.
IsPlayerAffectedByEffect
(
tp
,
11451425
):
GetHandler
():
RegisterFlagEffect
(
11451425
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
tp
,
LOCATION_HAND
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c11451921.lua
View file @
1f4dd54e
...
...
@@ -58,7 +58,10 @@ function cm.check0(e,tp,eg,ep,ev,re,r,rp)
local
rc
=
re
:
GetOwner
()
if
rc
:
IsOriginalSetCard
(
0x6978
)
and
rc
.
hand_effect
then
local
te
=
rc
.
hand_effect
[
rc
]
if
te
:
GetOperation
()
==
re
:
GetOperation
()
then
cm
[
rc
.
hand_effect
]
=
Duel
.
GetTurnCount
()
end
if
te
:
GetOperation
()
==
re
:
GetOperation
()
then
cm
[
rc
.
hand_effect
]
=
cm
[
rc
.
hand_effect
]
or
{}
cm
[
rc
.
hand_effect
][
re
:
GetHandlerPlayer
()]
=
Duel
.
GetTurnCount
()
end
end
end
function
cm
.
tbfilter
(
c
)
...
...
@@ -97,7 +100,7 @@ function cm.acfilter(c,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsSetCard
(
0x6978
)
then
return
end
if
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
((
c
:
CheckActivateEffect
(
false
,
false
,
false
)
~=
nil
and
c
:
GetActivateEffect
():
GetCode
()
~=
EVENT_CHAINING
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
or
(
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
))
or
(
c
:
IsType
(
TYPE_FIELD
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)))
then
return
true
end
local
te
=
c
.
hand_effect
if
not
te
or
(
te
[
c
]:
GetCode
()
==
EVENT_CHAINING
and
te
[
c
]:
IsHasType
(
EFFECT_TYPE_QUICK_O
))
or
(
c
:
IsType
(
TYPE_MONSTER
)
and
cm
[
te
]
and
cm
[
te
]
==
Duel
.
GetTurnCount
())
then
return
false
end
if
not
te
or
(
te
[
c
]:
GetCode
()
==
EVENT_CHAINING
and
te
[
c
]:
IsHasType
(
EFFECT_TYPE_QUICK_O
))
or
(
c
:
IsType
(
TYPE_MONSTER
)
and
cm
[
te
]
and
cm
[
te
]
[
tp
]
and
cm
[
te
][
tp
]
==
Duel
.
GetTurnCount
())
then
return
false
end
te
=
te
[
c
]
local
con
=
te
:
GetCondition
()
or
aux
.
TRUE
if
te
:
IsHasType
(
EFFECT_TYPE_TRIGGER_O
)
then
con
=
aux
.
TRUE
end
...
...
@@ -130,7 +133,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local
b1
,
b2
=
false
,
false
if
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
((
c
:
CheckActivateEffect
(
false
,
false
,
false
)
~=
nil
and
c
:
GetActivateEffect
():
GetCode
()
~=
EVENT_CHAINING
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
or
(
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
))
or
(
c
:
IsType
(
TYPE_FIELD
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)))
then
b1
=
true
end
local
te
=
c
.
hand_effect
if
te
and
not
(
te
[
c
]:
GetCode
()
==
EVENT_CHAINING
and
te
[
c
]:
IsHasType
(
EFFECT_TYPE_QUICK_O
))
and
not
(
c
:
IsType
(
TYPE_MONSTER
)
and
cm
[
te
]
and
cm
[
te
]
==
Duel
.
GetTurnCount
())
then
if
te
and
not
(
te
[
c
]:
GetCode
()
==
EVENT_CHAINING
and
te
[
c
]:
IsHasType
(
EFFECT_TYPE_QUICK_O
))
and
not
(
c
:
IsType
(
TYPE_MONSTER
)
and
cm
[
te
]
and
cm
[
te
]
[
tp
]
and
cm
[
te
][
tp
]
==
Duel
.
GetTurnCount
())
then
te
=
te
[
c
]
local
con
=
te
:
GetCondition
()
or
aux
.
TRUE
if
te
:
IsHasType
(
EFFECT_TYPE_TRIGGER_O
)
then
con
=
aux
.
TRUE
end
...
...
expansions/script/c22022580.lua
View file @
1f4dd54e
...
...
@@ -61,7 +61,7 @@ function c22022580.activate2(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c22022580
.
cfilter
(
c
,
tp
)
return
c
:
GetSummonLocation
()
==
LOCATION_DECK
or
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
and
c
:
GetPreviousControler
()
==
1
-
tp
return
(
c
:
GetSummonLocation
()
==
LOCATION_DECK
or
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
)
and
c
:
GetPreviousControler
()
==
1
-
tp
end
function
c22022580
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c22022580
.
cfilter
,
1
,
nil
,
tp
)
...
...
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