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
Huangnan
no81cards
Commits
2f784c45
Commit
2f784c45
authored
Jun 19, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9ca91b3f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
8 deletions
+17
-8
expansions/script/c11451647.lua
expansions/script/c11451647.lua
+2
-3
expansions/script/c22348267.lua
expansions/script/c22348267.lua
+8
-0
expansions/script/c60001210.lua
expansions/script/c60001210.lua
+1
-0
expansions/script/c60001214.lua
expansions/script/c60001214.lua
+1
-0
expansions/script/c65140034.lua
expansions/script/c65140034.lua
+1
-1
expansions/script/c65140036.lua
expansions/script/c65140036.lua
+2
-2
expansions/script/c91000405.lua
expansions/script/c91000405.lua
+1
-1
expansions/script/c91000406.lua
expansions/script/c91000406.lua
+1
-1
No files found.
expansions/script/c11451647.lua
View file @
2f784c45
--居合万钧切
--21.12.15
local
m
=
11451647
local
cm
=
_G
[
"c"
..
m
]
local
cm
,
m
=
GetID
()
function
cm
.
initial_effect
(
c
)
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -13,7 +12,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
and
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
not
Duel
.
CheckPhaseActivity
()
return
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
and
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
Duel
.
GetCurrentChain
()
==
0
and
not
Duel
.
CheckPhaseActivity
()
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
expansions/script/c22348267.lua
View file @
2f784c45
...
...
@@ -146,6 +146,14 @@ function c22348267.operation(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
ttg
=
g
:
Filter
(
c22348267
.
ovfilter
,
nil
,
e
)
if
c
:
IsRelateToEffect
(
e
)
and
ttg
:
GetCount
()
>
0
then
local
ttc
=
ttg
:
GetFirst
()
while
ttc
do
local
og
=
ttc
:
GetOverlayGroup
()
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
end
ttc
=
ttg
:
GetNext
()
end
Duel
.
Overlay
(
c
,
ttg
)
end
end
\ No newline at end of file
expansions/script/c60001210.lua
View file @
2f784c45
...
...
@@ -56,6 +56,7 @@ function cm.initial_effect(c)
end
cm
.
named_with_treasure
=
true
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_PUBLIC
)
...
...
expansions/script/c60001214.lua
View file @
2f784c45
...
...
@@ -34,6 +34,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_PUBLIC
)
...
...
expansions/script/c65140034.lua
View file @
2f784c45
...
...
@@ -56,7 +56,7 @@ function s.filter1(c,e,tp,m,f,chkf)
return
res
end
function
s
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_
ONFIELD
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_
MZONE
)
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
s
.
fuscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c65140036.lua
View file @
2f784c45
...
...
@@ -55,7 +55,7 @@ function s.initial_effect(c)
e7
:
SetCode
(
EVENT_CHAINING
)
e7
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetLabel
(
1
)
e7
:
SetLabel
(
7
)
--e7:SetCountLimit(1,id+1)
e7
:
SetCost
(
s
.
discost
)
e7
:
SetCondition
(
s
.
discon
)
...
...
@@ -74,7 +74,7 @@ function s.matcheck(e,c)
re
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
c
:
RegisterEffect
(
re
)
tc
=
cg
:
GetNext
()
end
end
end
function
s
.
rafilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetRace
()
~=
0
...
...
expansions/script/c91000405.lua
View file @
2f784c45
...
...
@@ -81,7 +81,7 @@ if Duel.SendtoGrave(g,REASON_EFFECT)~=0 then
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
)
end
end
function
cm
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousControler
(
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsSetCard
(
0x9d2
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
cfilter
,
1
,
e
:
GetHandler
(),
tp
)
...
...
expansions/script/c91000406.lua
View file @
2f784c45
...
...
@@ -83,7 +83,7 @@ if Duel.SendtoGrave(g,REASON_EFFECT)~=0 then
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
)
end
end
function
cm
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousControler
(
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsSetCard
(
0x9d2
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
cfilter
,
1
,
e
:
GetHandler
(),
tp
)
...
...
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