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
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
Hide 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,11 +34,9 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,11 +34,9 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
Duel
.
RegisterFlagEffect
(
1
-
rp
,
m
,
rsreset
.
pend
,
0
,
1
,
flag
)
Duel
.
RegisterFlagEffect
(
1
-
rp
,
m
,
rsreset
.
pend
,
0
,
1
,
flag
)
end
if
Duel
.
GetFlagEffect
(
1
-
rp
,
m
)
>=
2
then
end
Duel
.
RaiseEvent
(
eg
,
m
,
re
,
r
,
rp
,
1
-
rp
,
ev
)
for
i
=
0
,
1
do
end
if
Duel
.
GetFlagEffect
(
i
,
m
)
>=
2
then
Duel
.
RaiseEvent
(
eg
,
m
,
re
,
r
,
rp
,
ep
,
ev
)
end
end
end
end
end
end
...
@@ -58,7 +56,7 @@ 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
end
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
~
=
tp
return
ep
=
=
tp
end
end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
m
+
100
)
==
0
end
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()
...
@@ -187,7 +187,7 @@ local c=e:GetHandler()
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
cm
.
immval
)
e1
:
SetValue
(
cm
.
immval
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_CHAIN
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_CHAIN
)
c
:
RegisterEffect
(
e1
)
t
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
immval
(
e
,
te
)
function
cm
.
immval
(
e
,
te
)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
...
...
expansions/script/c33401050.lua
View file @
292b5421
...
@@ -69,15 +69,18 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,15 +69,18 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e5
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e5
:
SetLabelObject
(
tc
)
e5
:
SetLabelObject
(
tc
)
e5
:
SetOperation
(
cm
.
ckop
)
e5
:
SetOperation
(
cm
.
ckop
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e5
,
true
)
tc
:
RegisterEffect
(
e5
,
true
)
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e6
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetLabelObject
(
tc
)
e6
:
SetLabelObject
(
tc
)
e6
:
SetOperation
(
cm
.
ckop
)
e6
:
SetOperation
(
cm
.
ckop
)
e6
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e6
,
true
)
tc
:
RegisterEffect
(
e6
,
true
)
tc
:
RegisterFlagEffect
(
m
+
1
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
@@ -96,10 +99,14 @@ end
...
@@ -96,10 +99,14 @@ end
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
if
tc
:
GetFlagEffect
(
m
)
~=
0
then
if
tc
:
GetFlagEffect
(
m
+
1
)
==
0
then
return
false
e
:
Reset
()
else
return
false
return
true
end
if
tc
:
GetFlagEffect
(
m
)
~=
0
then
return
false
else
return
true
end
end
end
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c46250002.lua
View file @
292b5421
...
@@ -60,7 +60,7 @@ function c46250002.trfilter(c)
...
@@ -60,7 +60,7 @@ function c46250002.trfilter(c)
end
end
function
c46250002
.
tspcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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
)
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
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c46250002
.
trfilter
,
tp
,
LOCATION_DECK
,
0
,
n
,
n
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c46250002
.
trfilter
,
tp
,
LOCATION_DECK
,
0
,
n
,
n
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
...
...
expansions/script/c82208125.lua
View file @
292b5421
...
@@ -21,6 +21,7 @@ function cm.initial_effect(c)
...
@@ -21,6 +21,7 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
m
+
10000
)
e2
:
SetCost
(
cm
.
drcost
)
e2
:
SetCost
(
cm
.
drcost
)
e2
:
SetTarget
(
cm
.
drtg
)
e2
:
SetTarget
(
cm
.
drtg
)
e2
:
SetOperation
(
cm
.
drop
)
e2
:
SetOperation
(
cm
.
drop
)
...
...
expansions/script/c82208128.lua
View file @
292b5421
...
@@ -35,7 +35,7 @@ function cm.initial_effect(c)
...
@@ -35,7 +35,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
cm
.
matfilter
(
c
)
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
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
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