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
905697ed
Commit
905697ed
authored
Apr 05, 2020
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
06a8a0f8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
22 deletions
+4
-22
expansions/script/c1008002.lua
expansions/script/c1008002.lua
+1
-12
expansions/script/c1008027.lua
expansions/script/c1008027.lua
+1
-3
expansions/script/c1008032.lua
expansions/script/c1008032.lua
+1
-3
expansions/script/c114722253.lua
expansions/script/c114722253.lua
+1
-3
expansions/script/c118817732.lua
expansions/script/c118817732.lua
+0
-1
No files found.
expansions/script/c1008002.lua
View file @
905697ed
...
...
@@ -141,18 +141,7 @@ function c1008002.voidop(e,tp,eg,ep,ev,re,r,rp)
local
eqc
=
Duel
.
GetFirstTarget
()
if
eqc
:
IsRelateToEffect
(
e
)
then
c
:
RegisterFlagEffect
(
10080011
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
1008001
,
4
))
--back void
-- local e7=Effect.CreateEffect(c)
-- e7:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
-- e7:SetCode(10080011)
-- e7:SetRange(LOCATION_MZONE)
-- e7:SetTarget(c1008002.backtg)
-- e7:SetOperation(c1008002.backop)
-- e7:SetLabelObject(e1)
-- c:RegisterEffect(e7)
local
os
=
require
"os"
math.randomseed
(
tonumber
(
tostring
(
os.time
()):
reverse
():
sub
(
1
,
6
))
)
local
code
=
math.random
(
1008004
,
1008006
)
local
code
=
1008004
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SELF
)
local
g
=
Group
.
FromCards
(
Duel
.
CreateToken
(
tp
,
code
))
local
tc
=
g
:
GetFirst
()
...
...
expansions/script/c1008027.lua
View file @
905697ed
...
...
@@ -47,9 +47,7 @@ function c1008027.tkop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
1008030
,
0
,
0x4011
,
1800
,
1800
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
local
os
=
require
"os"
math.randomseed
(
tonumber
(
tostring
(
os.time
()):
reverse
():
sub
(
1
,
6
))
)
local
code
=
math.random
(
1008030
,
1008031
)
local
code
=
1008030
local
token
=
Duel
.
CreateToken
(
tp
,
code
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
--special summon
...
...
expansions/script/c1008032.lua
View file @
905697ed
...
...
@@ -218,9 +218,7 @@ function c1008032.voidop(e,tp,eg,ep,ev,re,r,rp)
local
eqc
=
Duel
.
GetFirstTarget
()
if
eqc
:
IsRelateToEffect
(
e
)
then
c
:
RegisterFlagEffect
(
10080011
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
1008001
,
4
))
local
os
=
require
"os"
math.randomseed
(
tonumber
(
tostring
(
os.time
()):
reverse
():
sub
(
1
,
6
))
)
local
code
=
math.random
(
1008034
,
1008034
)
local
code
=
1008034
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SELF
)
local
g
=
Group
.
FromCards
(
Duel
.
CreateToken
(
tp
,
code
))
local
tc
=
g
:
GetFirst
()
...
...
expansions/script/c114722253.lua
View file @
905697ed
...
...
@@ -52,13 +52,11 @@ function c114722253.activate(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsType
(
TYPE_TRAP
)
then
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
end
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
=
hg
:
GetNext
()
end
end
end
function
c114722253
.
imtarget
(
e
,
tg
)
local
c
=
e
:
GetHandler
()
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
~=
tg
return
tg
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
e
:
GetHandler
()
~=
tg
end
function
c114722253
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
46986414
)
...
...
expansions/script/c118817732.lua
View file @
905697ed
function
c118817732
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
aux
.
AddXyzProcedure
(
c
,
nil
,
8
,
2
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
118817732
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
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