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
0120e7e6
Commit
0120e7e6
authored
Nov 12, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cc5914f3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
expansions/script/c11451730.lua
expansions/script/c11451730.lua
+5
-0
expansions/script/c12847068.lua
expansions/script/c12847068.lua
+2
-0
expansions/script/c12866621.lua
expansions/script/c12866621.lua
+0
-1
No files found.
expansions/script/c11451730.lua
View file @
0120e7e6
...
@@ -39,8 +39,13 @@ function cm.initial_effect(c)
...
@@ -39,8 +39,13 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
local
e6
=
e3
:
Clone
()
local
e6
=
e3
:
Clone
()
e6
:
SetCode
(
EFFECT_CANNOT_BE_FUSION_MATERIAL
)
e6
:
SetCode
(
EFFECT_CANNOT_BE_FUSION_MATERIAL
)
e6
:
SetValue
(
cm
.
fuslimit
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
function
cm
.
fuslimit
(
e
,
c
,
sumtype
)
if
not
c
then
return
false
end
return
sumtype
==
SUMMON_TYPE_FUSION
end
function
cm
.
tg
(
e
,
c
)
function
cm
.
tg
(
e
,
c
)
local
phase
=
Duel
.
GetCurrentPhase
()
local
phase
=
Duel
.
GetCurrentPhase
()
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
--and c:IsStatus(STATUS_SPSUMMON_TURN)
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
--and c:IsStatus(STATUS_SPSUMMON_TURN)
...
...
expansions/script/c12847068.lua
View file @
0120e7e6
...
@@ -69,10 +69,12 @@ end
...
@@ -69,10 +69,12 @@ end
function
c12847068
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c12847068
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
tc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_GRAVE
,
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_GRAVE
,
0
)
-
1
)
local
tc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_GRAVE
,
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_GRAVE
,
0
)
-
1
)
if
tc
then
local
type
=
bit
.
band
(
tc
:
GetType
(),
0x7
)
local
type
=
bit
.
band
(
tc
:
GetType
(),
0x7
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12847068
.
tgfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
type
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12847068
.
tgfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
type
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
end
end
end
\ No newline at end of file
expansions/script/c12866621.lua
deleted
100644 → 0
View file @
cc5914f3
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