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
7bc5ac7b
Commit
7bc5ac7b
authored
Feb 16, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0fd7fd99
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
expansions/script/c15000685.lua
expansions/script/c15000685.lua
+1
-1
expansions/script/c33330413.lua
expansions/script/c33330413.lua
+1
-1
expansions/script/c88800025.lua
expansions/script/c88800025.lua
+3
-3
expansions/script/special.lua
expansions/script/special.lua
+2
-2
No files found.
expansions/script/c15000685.lua
View file @
7bc5ac7b
...
...
@@ -129,6 +129,6 @@ function cm.act2con(e)
end
function
cm
.
ac2limit
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
IsType
(
TYPE_MONSTER
)
and
(
re
:
GetHandler
():
IsLocation
(
LOCATION_ONFIELD
)
or
re
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
))
and
not
(
re
:
IsHasType
(
EFFECT_TYPE_SINGLE
)
and
(
(
bit
.
band
(
re
:
GetCode
(),
EVENT_SUMMON_SUCCESS
)
~=
0
)
or
(
bit
.
band
(
re
:
GetCode
(),
EVENT_SPSUMMON_SUCCESS
)
~=
0
)
or
(
bit
.
band
(
re
:
GetCode
(),
EVENT_FLIP
)
~=
0
)
)
and
(
re
:
GetCode
()
==
EVENT_SUMMON_SUCCESS
or
re
:
GetCode
()
==
EVENT_SPSUMMON_SUCCESS
or
re
:
GetCode
()
==
EVENT_FLIP
)
and
(
re
:
IsHasType
(
EFFECT_TYPE_TRIGGER_F
)
or
re
:
IsHasType
(
EFFECT_TYPE_TRIGGER_O
)
or
re
:
IsHasType
(
EFFECT_TYPE_QUICK_F
)
or
re
:
IsHasType
(
EFFECT_TYPE_QUICK_O
)))
end
\ No newline at end of file
expansions/script/c33330413.lua
View file @
7bc5ac7b
...
...
@@ -39,7 +39,7 @@ end
function
cm
.
con
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
cm
.
resfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
resfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
function
cm
.
resfilter
(
c
)
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
and
c
:
IsReleasable
()
and
c
:
IsType
(
TYPE_TRAP
)
...
...
expansions/script/c88800025.lua
View file @
7bc5ac7b
...
...
@@ -24,12 +24,12 @@ function c88800025.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c88800025
.
costfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
function
c88800025
.
spcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c88800025
.
costfilter
,
1
,
e
:
GetHandler
()
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c88800025
.
costfilter
,
1
,
REASON_COST
,
true
,
e
:
GetHandler
(),
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
c88800025
.
costfilter
,
1
,
1
,
e
:
GetHandler
()
)
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
c88800025
.
costfilter
,
1
,
1
,
REASON_COST
,
true
,
e
:
GetHandler
(),
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c88800025
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/special.lua
View file @
7bc5ac7b
...
...
@@ -12,7 +12,7 @@ function Auxiliary.PreloadUds()
end
return
require_list
[
str
]
end
--[[local release_set={"CheckReleaseGroup","SelectReleaseGroup","CheckReleaseGroupEx","SelectReleaseGroupEx
"}
local
release_set
=
{
"CheckReleaseGroup"
,
"SelectReleaseGroup
"
}
for
i
,
fname
in
pairs
(
release_set
)
do
local
temp_f
=
Duel
[
fname
]
Duel
[
fname
]
=
function
(
...
)
...
...
@@ -38,7 +38,7 @@ function Auxiliary.PreloadUds()
end
return
temp_f
(
...
)
end
end
--]]
end
if
not
Auxiliary
.
GetMustMaterialGroup
then
Auxiliary
.
GetMustMaterialGroup
=
Duel
.
GetMustMaterial
end
...
...
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