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
7aaac411
Commit
7aaac411
authored
Nov 08, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d6b51e18
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
50 additions
and
23 deletions
+50
-23
expansions/script/c10150065.lua
expansions/script/c10150065.lua
+1
-1
expansions/script/c11451462.lua
expansions/script/c11451462.lua
+1
-0
expansions/script/c11451463.lua
expansions/script/c11451463.lua
+1
-0
expansions/script/c11451464.lua
expansions/script/c11451464.lua
+1
-0
expansions/script/c11451465.lua
expansions/script/c11451465.lua
+1
-0
expansions/script/c11451466.lua
expansions/script/c11451466.lua
+1
-0
expansions/script/c11451467.lua
expansions/script/c11451467.lua
+1
-0
expansions/script/c11451549.lua
expansions/script/c11451549.lua
+1
-0
expansions/script/c11451859.lua
expansions/script/c11451859.lua
+27
-14
expansions/script/c91300006.lua
expansions/script/c91300006.lua
+15
-8
No files found.
expansions/script/c10150065.lua
View file @
7aaac411
...
...
@@ -29,7 +29,7 @@ function c10150065.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c10150065
.
lcheck
(
g
,
lc
)
return
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0xd3
)
return
g
:
IsExists
(
Card
.
Is
Link
SetCard
,
1
,
nil
,
0xd3
)
end
function
c10150065
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xd3
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToHand
()
...
...
expansions/script/c11451462.lua
View file @
7aaac411
...
...
@@ -191,6 +191,7 @@ function cm.SelectSubGroup(g,tp,f,cancelable,min,max,...)
end
end
end
if
check
then
return
false
end
--classification is essential for efficiency, and this part is only for backup
else
iter
=
{
1
}
...
...
expansions/script/c11451463.lua
View file @
7aaac411
...
...
@@ -187,6 +187,7 @@ function cm.SelectSubGroup(g,tp,f,cancelable,min,max,...)
end
end
end
if
check
then
return
false
end
--classification is essential for efficiency, and this part is only for backup
else
iter
=
{
1
}
...
...
expansions/script/c11451464.lua
View file @
7aaac411
...
...
@@ -222,6 +222,7 @@ function cm.SelectSubGroup(g,tp,f,cancelable,min,max,...)
end
end
end
if
check
then
return
false
end
--classification is essential for efficiency, and this part is only for backup
else
iter
=
{
1
}
...
...
expansions/script/c11451465.lua
View file @
7aaac411
...
...
@@ -206,6 +206,7 @@ function cm.SelectSubGroup(g,tp,f,cancelable,min,max,...)
end
end
end
if
check
then
return
false
end
--classification is essential for efficiency, and this part is only for backup
else
iter
=
{
1
}
...
...
expansions/script/c11451466.lua
View file @
7aaac411
...
...
@@ -226,6 +226,7 @@ function cm.SelectSubGroup(g,tp,f,cancelable,min,max,...)
end
end
end
if
check
then
return
false
end
--classification is essential for efficiency, and this part is only for backup
else
iter
=
{
1
}
...
...
expansions/script/c11451467.lua
View file @
7aaac411
...
...
@@ -229,6 +229,7 @@ function cm.SelectSubGroup(g,tp,f,cancelable,min,max,...)
end
end
end
if
check
then
return
false
end
--classification is essential for efficiency, and this part is only for backup
else
iter
=
{
1
}
...
...
expansions/script/c11451549.lua
View file @
7aaac411
...
...
@@ -160,6 +160,7 @@ function cm.SelectSubGroup(g,tp,f,cancelable,min,max,...)
end
end
end
if
check
then
return
false
end
--classification is essential for efficiency, and this part is only for backup
else
iter
=
{
1
}
...
...
expansions/script/c11451859.lua
View file @
7aaac411
...
...
@@ -175,6 +175,7 @@ function cm.SelectSubGroup(g,tp,f,cancelable,min,max,...)
end
end
end
if
check
then
return
false
end
--classification is essential for efficiency, and this part is only for backup
else
iter
=
{
1
}
...
...
@@ -260,6 +261,8 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
tg
:
Merge
(
tg2
)
Duel
.
SetTargetCard
(
tg
)
end
local
KOISHI_CHECK
=
false
if
Duel
.
DisableActionCheck
then
KOISHI_CHECK
=
true
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
...
...
@@ -277,9 +280,11 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
ge2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
tc
:
RegisterEffect
(
ge2
,
true
)
end
if
not
KOISHI_CHECK
then
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_ADJUST
)
e5
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e5
:
SetLabel
(
fid
)
e5
:
SetCondition
(
function
()
return
not
pnfl_adjusting
end
)
e5
:
SetOperation
(
cm
.
acop
)
...
...
@@ -289,14 +294,22 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
e6
:
SetCondition
(
aux
.
TRUE
)
e6
:
SetOperation
(
cm
.
acop2
)
Duel
.
RegisterEffect
(
e6
,
tp
)
end
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
if
te
and
te
:
GetHandler
()
and
not
te
:
IsHasProperty
(
EFFECT_FLAG_UNCOPYABLE
)
and
(
te
:
GetCode
()
<
0x10000
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIONS
))
and
e
:
GetHandler
():
IsAbleToHand
()
then
if
KOISHI_CHECK
then
Duel
.
DisableActionCheck
(
true
)
pcall
(
Duel
.
SendtoHand
,
e
:
GetHandler
(),
nil
,
REASON_EFFECT
)
Duel
.
DisableActionCheck
(
false
)
else
e
:
GetHandler
():
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
,
0
,
1
,
e
:
GetLabel
())
end
--Duel.AdjustAll()
--Duel.Readjust()
e
:
SetValue
(
aux
.
FALSE
)
e
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e
:
SetDescription
(
0
)
if
Duel
.
GetFlagEffect
(
tp
,
0xffff
+
m
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
0xffff
+
m
,
RESET_CHAIN
,
0
,
1
)
if
SetCardData
then
...
...
expansions/script/c91300006.lua
View file @
7aaac411
...
...
@@ -28,6 +28,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_CHAIN
)
e3
:
SetCost
(
s
.
rmcost
)
e3
:
SetTarget
(
s
.
rmtg
)
e3
:
SetOperation
(
s
.
rmop
)
...
...
@@ -62,16 +63,22 @@ function s.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
PayLPCost
(
tp
,
1000
)
end
function
s
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
1
-
tp
,
LOCATION_ONFIELD
)
if
chk
==
0
then
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
nil
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
1
-
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
)
end
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
g
:
GetCount
()
>
0
then
local
hg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_HAND
,
nil
)
local
fg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g
if
#
hg
>
0
and
(
#
fg
==
0
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
3
),
aux
.
Stringid
(
id
,
4
))
==
0
)
then
g
=
hg
:
RandomSelect
(
tp
,
1
)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
local
tc
=
sg
:
GetFirst
()
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
end
if
g
:
GetCount
()
~=
0
then
Duel
.
HintSelection
(
g
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -103,7 +110,7 @@ end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
local
g
=
c
:
GetOverlayGroup
()
local
g
=
c
:
GetOverlayGroup
()
:
Filter
(
function
(
c
)
return
c
.
fantasy_mountains_and_rivers
end
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tg
=
g
:
FilterSelect
(
tp
,
Card
.
IsAbleToHand
,
1
,
1
,
nil
)
if
tg
:
GetCount
()
>
0
then
...
...
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