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
1a4b65e7
Commit
1a4b65e7
authored
Oct 26, 2020
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7de27595
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
expansions/script/c13257329.lua
expansions/script/c13257329.lua
+1
-1
expansions/script/c33400320.lua
expansions/script/c33400320.lua
+1
-0
expansions/script/c33403512.lua
expansions/script/c33403512.lua
+5
-6
No files found.
expansions/script/c13257329.lua
View file @
1a4b65e7
...
@@ -113,5 +113,5 @@ end
...
@@ -113,5 +113,5 @@ end
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
~=
0
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
end
end
expansions/script/c33400320.lua
View file @
1a4b65e7
...
@@ -155,6 +155,7 @@ function c33400320.refilter(c)
...
@@ -155,6 +155,7 @@ function c33400320.refilter(c)
return
c
:
IsAbleToRemove
()
return
c
:
IsAbleToRemove
()
end
end
function
c33400320
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33400320
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g1
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c33403512.lua
View file @
1a4b65e7
...
@@ -18,9 +18,8 @@ function cm.initial_effect(c)
...
@@ -18,9 +18,8 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ss
=
Duel
.
GetFlagEffect
(
tp
,
33403501
)
/
2
local
ss
=
Duel
.
GetTurnCount
()
if
ss
<
4
then
ss
=
4
end
return
Duel
.
GetFlagEffect
(
tp
,
33413501
)
<
ss
and
Duel
.
GetFlagEffect
(
tp
,
m
+
30000
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
33443500
)
==
0
return
Duel
.
GetFlagEffect
(
tp
,
33413501
)
<
ss
and
Duel
.
GetFlagEffect
(
tp
,
m
+
30000
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
33443500
)
==
0
end
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
...
@@ -66,7 +65,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +65,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
if
op
==
1
then
if
op
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
...
@@ -77,7 +76,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,7 +76,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetTargetRange
(
0
,
LOCATION_ONFIELD
)
e1
:
SetTargetRange
(
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_REMOVED
+
LOCATION_DECK
+
LOCATION_EXTRA
+
LOCATION_HAND
)
e1
:
SetTarget
(
cm
.
distg
)
e1
:
SetTarget
(
cm
.
distg
)
e1
:
SetLabelObject
(
tc2
)
e1
:
SetLabelObject
(
tc2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
@@ -106,7 +105,7 @@ function cm.distg(e,c)
...
@@ -106,7 +105,7 @@ function cm.distg(e,c)
end
end
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsOriginalCodeRule
(
tc
:
GetOriginalCodeRule
())
return
re
:
GetHandler
():
IsOriginalCodeRule
(
tc
:
GetOriginalCodeRule
())
end
end
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateEffect
(
ev
)
Duel
.
NegateEffect
(
ev
)
...
...
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