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
b0862343
Commit
b0862343
authored
Jun 15, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
205b8cfe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
expansions/script/c11451859.lua
expansions/script/c11451859.lua
+13
-13
expansions/script/c11451863.lua
expansions/script/c11451863.lua
+1
-1
expansions/script/c9910951.lua
expansions/script/c9910951.lua
+1
-1
No files found.
expansions/script/c11451859.lua
View file @
b0862343
...
...
@@ -127,8 +127,8 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
fid
=
c
:
GetFieldID
()
for
tc
in
aux
.
Next
(
sg
)
do
local
fid
=
c
:
GetFieldID
()
local
ge2
=
Effect
.
CreateEffect
(
c
)
ge2
:
SetDescription
(
aux
.
Stringid
(
m
,
10
))
ge2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -139,19 +139,19 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
ge2
:
SetValue
(
cm
.
chkval
)
ge2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
tc
:
RegisterEffect
(
ge2
,
true
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_ADJUST
)
e5
:
SetLabel
(
fid
)
e5
:
SetCondition
(
function
()
return
not
pnfl_adjusting
end
)
e5
:
SetOperation
(
cm
.
acop
)
Duel
.
RegisterEffect
(
e5
,
tp
)
local
e6
=
e5
:
Clone
()
e6
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e6
:
SetCondition
(
aux
.
TRUE
)
e6
:
SetOperation
(
cm
.
acop2
)
Duel
.
RegisterEffect
(
e6
,
tp
)
end
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_ADJUST
)
e5
:
SetLabel
(
fid
)
e5
:
SetCondition
(
function
()
return
not
pnfl_adjusting
end
)
e5
:
SetOperation
(
cm
.
acop
)
Duel
.
RegisterEffect
(
e5
,
tp
)
local
e6
=
e5
:
Clone
()
e6
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e6
:
SetCondition
(
aux
.
TRUE
)
e6
:
SetOperation
(
cm
.
acop2
)
Duel
.
RegisterEffect
(
e6
,
tp
)
end
function
cm
.
chkval
(
e
,
te
)
if
te
and
te
:
GetHandler
()
and
not
te
:
IsHasProperty
(
EFFECT_FLAG_UNCOPYABLE
)
and
(
te
:
GetCode
()
<
0x10000
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIONS
))
then
...
...
expansions/script/c11451863.lua
View file @
b0862343
...
...
@@ -150,7 +150,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetTarget
(
cm
.
thtg2
)
e3
:
SetOperation
(
cm
.
thop2
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
,
true
)
end
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
expansions/script/c9910951.lua
View file @
b0862343
...
...
@@ -69,7 +69,7 @@ end
function
c9910951
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9910951
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
>
0
then
if
#
g
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
>
0
and
g
:
GetFirst
():
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
...
...
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