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
2d4e5912
Commit
2d4e5912
authored
Feb 04, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4c26fbeb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
6 deletions
+11
-6
expansions/script/c60000219.lua
expansions/script/c60000219.lua
+1
-2
expansions/script/c60000223.lua
expansions/script/c60000223.lua
+1
-1
expansions/script/c60000224.lua
expansions/script/c60000224.lua
+8
-3
expansions/script/c60000227.lua
expansions/script/c60000227.lua
+1
-0
No files found.
expansions/script/c60000219.lua
View file @
2d4e5912
...
...
@@ -36,13 +36,12 @@ end
function
s
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
if
chk
==
0
then
return
ct
>
0
and
Duel
.
IsPlayerCanDraw
(
tp
,
ct
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
ct
)
end
-- 效果1操作
function
s
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
p
=
tp
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
if
ct
>
0
then
local
dr
=
Duel
.
Draw
(
p
,
ct
,
REASON_EFFECT
)
...
...
expansions/script/c60000223.lua
View file @
2d4e5912
...
...
@@ -51,7 +51,7 @@ function cm.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
PayLPCost
(
tp
,
math.floor
(
Duel
.
GetLP
(
tp
)
/
2
))
end
function
cm
.
fil2
(
c
)
return
aux
.
IsCodeListed
(
c
,
60000211
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
m
)
return
aux
.
IsCodeListed
(
c
,
60000211
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
m
)
and
(
c
:
IsType
(
TYPE_SPELL
)
or
c
:
IsType
(
TYPE_TRAP
))
end
function
cm
.
adtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
b2
=
false
...
...
expansions/script/c60000224.lua
View file @
2d4e5912
...
...
@@ -49,8 +49,13 @@ end
-- 双选操作
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
1
),
aux
.
Stringid
(
id
,
2
))
if
op
==
0
then
local
c
=
e
:
GetHandler
()
local
b1
=
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
GetFlagEffect
(
tp
,
id
+
10000000
)
==
0
local
b2
=
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
id
+
20000000
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
not
b1
and
not
b2
then
return
end
local
op
=
aux
.
SelectFromOptions
(
tp
,{
b1
,
aux
.
Stringid
(
id
,
2
)},{
b2
,
aux
.
Stringid
(
id
,
3
)})
if
op
==
1
then
Duel
.
RegisterFlagEffect
(
tp
,
id
+
10000000
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
-- 检索效果
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
@@ -59,7 +64,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
else
else
if
op
==
2
Duel
.
RegisterFlagEffect
(
tp
,
id
+
20000000
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
-- 特殊召唤效果
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
...
...
expansions/script/c60000227.lua
View file @
2d4e5912
...
...
@@ -6,6 +6,7 @@ function s.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
c
:
RegisterEffect
(
e1
)
--control
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
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