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
292b5421
Commit
292b5421
authored
Sep 08, 2020
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
43e56370
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
15 deletions
+21
-15
expansions/script/300,scl库.rar
expansions/script/300,scl库.rar
+0
-0
expansions/script/c30000231.lua
expansions/script/c30000231.lua
+4
-6
expansions/script/c33400315.lua
expansions/script/c33400315.lua
+1
-1
expansions/script/c33401050.lua
expansions/script/c33401050.lua
+13
-6
expansions/script/c46250002.lua
expansions/script/c46250002.lua
+1
-1
expansions/script/c82208125.lua
expansions/script/c82208125.lua
+1
-0
expansions/script/c82208128.lua
expansions/script/c82208128.lua
+1
-1
No files found.
expansions/script/300,scl库.rar
deleted
100644 → 0
View file @
43e56370
File deleted
expansions/script/c30000231.lua
View file @
292b5421
...
...
@@ -34,12 +34,10 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
end
end
Duel
.
RegisterFlagEffect
(
1
-
rp
,
m
,
rsreset
.
pend
,
0
,
1
,
flag
)
if
Duel
.
GetFlagEffect
(
1
-
rp
,
m
)
>=
2
then
Duel
.
RaiseEvent
(
eg
,
m
,
re
,
r
,
rp
,
1
-
rp
,
ev
)
end
end
for
i
=
0
,
1
do
if
Duel
.
GetFlagEffect
(
i
,
m
)
>=
2
then
Duel
.
RaiseEvent
(
eg
,
m
,
re
,
r
,
rp
,
ep
,
ev
)
end
end
end
function
cm
.
regop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -58,7 +56,7 @@ function cm.regop2(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
~
=
tp
return
ep
=
=
tp
end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
m
+
100
)
==
0
end
...
...
expansions/script/c33400315.lua
View file @
292b5421
...
...
@@ -187,7 +187,7 @@ local c=e:GetHandler()
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
cm
.
immval
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_CHAIN
)
c
:
RegisterEffect
(
e1
)
t
c
:
RegisterEffect
(
e1
)
end
function
cm
.
immval
(
e
,
te
)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
...
...
expansions/script/c33401050.lua
View file @
292b5421
...
...
@@ -70,6 +70,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e5
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e5
:
SetLabelObject
(
tc
)
e5
:
SetOperation
(
cm
.
ckop
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e5
,
true
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -77,7 +78,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetLabelObject
(
tc
)
e6
:
SetOperation
(
cm
.
ckop
)
e6
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e6
,
true
)
tc
:
RegisterFlagEffect
(
m
+
1
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
@@ -96,6 +99,10 @@ end
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
tc
:
GetFlagEffect
(
m
+
1
)
==
0
then
e
:
Reset
()
return
false
end
if
tc
:
GetFlagEffect
(
m
)
~=
0
then
return
false
else
...
...
expansions/script/c46250002.lua
View file @
292b5421
...
...
@@ -60,7 +60,7 @@ function c46250002.trfilter(c)
end
function
c46250002
.
tspcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
n
=
math.floor
(
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_HAND
)
/
3
)
if
chk
==
0
then
return
n
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
n
and
Duel
.
IsExistingMatchingCard
(
c46250002
.
trfilter
,
tp
,
LOCATION_DECK
,
0
,
n
,
nil
)
end
if
chk
==
0
then
return
n
>
0
and
(
n
<
2
or
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
))
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
n
and
Duel
.
IsExistingMatchingCard
(
c46250002
.
trfilter
,
tp
,
LOCATION_DECK
,
0
,
n
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c46250002
.
trfilter
,
tp
,
LOCATION_DECK
,
0
,
n
,
n
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
...
...
expansions/script/c82208125.lua
View file @
292b5421
...
...
@@ -21,6 +21,7 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
m
+
10000
)
e2
:
SetCost
(
cm
.
drcost
)
e2
:
SetTarget
(
cm
.
drtg
)
e2
:
SetOperation
(
cm
.
drop
)
...
...
expansions/script/c82208128.lua
View file @
292b5421
...
...
@@ -35,7 +35,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
matfilter
(
c
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsAbleToDeckOrExtraAsCost
()
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToDeckOrExtraAsCost
()
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
...
...
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