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
4ba8b312
Commit
4ba8b312
authored
May 14, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f5dfe160
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
expansions/script/c11579812.lua
expansions/script/c11579812.lua
+2
-1
expansions/script/c60010055.lua
expansions/script/c60010055.lua
+3
-2
expansions/script/c64800230.lua
expansions/script/c64800230.lua
+1
-1
No files found.
expansions/script/c11579812.lua
View file @
4ba8b312
...
...
@@ -4,6 +4,7 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
aux
.
TRUE
,
2
,
99
,
c11579812
.
lcheck
)
aux
.
AddLinkProcedure
(
c
,
aux
.
TRUE
,
2
,
99
,
nil
)
c
:
EnableReviveLimit
()
--immune
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -104,12 +105,12 @@ function c11579812.repop(e,tp,eg,ep,ev,re,r,rp)
end
function
c11579812
.
damval1
(
e
,
re
,
val
,
r
,
rp
,
rc
)
local
c
=
e
:
GetHandler
()
Duel
.
RegisterFlagEffect
(
tp
,
11580812
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
Duel
.
GetFlagEffect
(
tp
,
11579812
)
~=
0
then
Duel
.
ResetFlagEffect
(
tp
,
11579812
)
return
val
*
2
end
return
val
Duel
.
RegisterFlagEffect
(
tp
,
11580812
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
...
...
expansions/script/c60010055.lua
View file @
4ba8b312
...
...
@@ -27,11 +27,12 @@ if not cm.lblsz then
cm
.
_tossdice
=
Duel
.
TossDice
Duel
.
TossDice
=
function
(
tp
,
a
,
b
)
Duel
.
RaiseEvent
(
Duel
.
GetDecktopGroup
(
tp
,
1
),
EVENT_CUSTOM
+
m
,
nil
,
0
,
tp
,
tp
,
0
)
if
Duel
.
GetFlagEffect
(
tp
,
m
+
10000000
)
~=
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
if
Duel
.
GetFlagEffect
(
tp
,
m
+
10000000
)
~=
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
and
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
then
local
rg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
):
Select
(
tp
,
1
,
2
,
nil
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
ResetFlagEffect
(
tp
,
m
+
10000000
)
end
if
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
if
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
m
)
and
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
m
):
RandomSelect
(
tp
,
1
):
IsAbleToHand
(
tp
)
then
Duel
.
RegisterFlagEffect
(
tp
,
m
,
0
,
0
,
1
)
local
ag
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
m
):
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
ag
,
nil
,
REASON_EFFECT
)
...
...
expansions/script/c64800230.lua
View file @
4ba8b312
...
...
@@ -50,7 +50,7 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
local
tgc
=
g
:
GetFirst
()
Duel
.
HintSelection
(
g
)
if
Duel
.
SendtoGrave
(
tgc
,
REASON_EFFECT
)
and
r
c
:
IsSSetable
(
true
)
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
)
>
0
and
not
tgc
:
IsForbidden
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
if
Duel
.
SendtoGrave
(
tgc
,
REASON_EFFECT
)
and
tg
c
:
IsSSetable
(
true
)
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
)
>
0
and
not
tgc
:
IsForbidden
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
BreakEffect
()
if
tgc
:
IsType
(
TYPE_CONTINUOUS
)
then
Duel
.
MoveToField
(
tgc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
...
...
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