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
e8449ee0
Commit
e8449ee0
authored
Dec 25, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
506461b1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
7 deletions
+14
-7
expansions/script/c22020480.lua
expansions/script/c22020480.lua
+8
-2
expansions/script/c88880043.lua
expansions/script/c88880043.lua
+1
-1
expansions/script/c9910036.lua
expansions/script/c9910036.lua
+2
-2
expansions/script/c9910235.lua
expansions/script/c9910235.lua
+2
-1
expansions/script/c9910236.lua
expansions/script/c9910236.lua
+1
-1
No files found.
expansions/script/c22020480.lua
View file @
e8449ee0
...
@@ -7,16 +7,22 @@ function c22020480.initial_effect(c)
...
@@ -7,16 +7,22 @@ function c22020480.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
22020480
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
22020480
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetOperation
(
c22020480
.
damop
)
e1
:
SetCost
(
c22020480
.
cost
)
e1
:
SetOperation
(
c22020480
.
op
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c22020480
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lp
=
Duel
.
GetLP
(
tp
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
lp
-
100
)
end
Duel
.
PayLPCost
(
tp
,
lp
-
100
)
end
function
c22020480
.
desfilter
(
c
)
function
c22020480
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c22020480
.
dfilter
(
c
)
function
c22020480
.
dfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22020410
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
22020410
)
end
end
function
c22020480
.
lp
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22020480
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
dg
=
Duel
.
GetMatchingGroup
(
c22020480
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
dg
=
Duel
.
GetMatchingGroup
(
c22020480
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
dg1
=
Duel
.
GetMatchingGroup
(
c22020480
.
dfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
local
dg1
=
Duel
.
GetMatchingGroup
(
c22020480
.
dfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
Duel
.
SetLP
(
1
-
tp
,
math.ceil
(
Duel
.
GetLP
(
1
-
tp
)
/
2
))
Duel
.
SetLP
(
1
-
tp
,
math.ceil
(
Duel
.
GetLP
(
1
-
tp
)
/
2
))
...
...
expansions/script/c88880043.lua
View file @
e8449ee0
...
@@ -39,7 +39,7 @@ function c88880043.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,7 +39,7 @@ function c88880043.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c88880043
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c88880043
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
3
,
c
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
3
,
3
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
3
,
3
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
c88880043
.
ntrfilter
(
c
)
function
c88880043
.
ntrfilter
(
c
)
...
...
expansions/script/c9910036.lua
View file @
e8449ee0
...
@@ -113,11 +113,11 @@ function c9910036.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -113,11 +113,11 @@ function c9910036.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
c9910036
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c9910036
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
LOCATION_MZONE
)
end
end
if
bit
.
band
(
sel
,
3
)
~=
0
then
if
bit
.
band
(
sel
,
4
)
~=
0
then
local
g
=
Duel
.
GetMatchingGroup
(
c9910036
.
filter3
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c9910036
.
filter3
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
LOCATION_SZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
LOCATION_SZONE
)
end
end
if
bit
.
band
(
sel
,
4
)
~=
0
then
if
bit
.
band
(
sel
,
8
)
~=
0
then
local
g
=
Duel
.
GetMatchingGroup
(
c9910036
.
filter4
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c9910036
.
filter4
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
LOCATION_SZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
LOCATION_SZONE
)
end
end
...
...
expansions/script/c9910235.lua
View file @
e8449ee0
...
@@ -54,7 +54,8 @@ function c9910235.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,8 @@ function c9910235.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
zone
,
zone
,
aux
.
ExceptThisCard
(
e
))
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
zone
,
zone
,
aux
.
ExceptThisCard
(
e
))
if
Duel
.
GetCurrentChain
()
>
2
and
#
g
>=
link
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910235
,
0
))
then
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
GetCurrentChain
()
>
2
and
#
g
>=
link
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910235
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
Select
(
tp
,
link
,
link
,
nil
)
local
sg
=
g
:
Select
(
tp
,
link
,
link
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
...
...
expansions/script/c9910236.lua
View file @
e8449ee0
...
@@ -47,7 +47,7 @@ function c9910236.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c9910236.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
1
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
if
Duel
.
GetCurrentChain
()
>
2
then
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
GetCurrentChain
()
>
2
then
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e4
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
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