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
6abd7ef6
Commit
6abd7ef6
authored
May 29, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d624cd03
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
23 deletions
+12
-23
expansions/script/c10105555.lua
expansions/script/c10105555.lua
+8
-16
expansions/script/c10105561.lua
expansions/script/c10105561.lua
+3
-3
expansions/script/c91040032.lua
expansions/script/c91040032.lua
+1
-4
No files found.
expansions/script/c10105555.lua
View file @
6abd7ef6
--
密探蜘蛛
--
欲念魅魔
function
c10105555
.
initial_effect
(
c
)
function
c10105555
.
initial_effect
(
c
)
--Atk update
--Atk update
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_AVOID_BATTLE_DAMAGE
)
e1
:
SetCode
(
EFFECT_AVOID_BATTLE_DAMAGE
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--control
--control
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_CONTROL
)
e2
:
SetCategory
(
CATEGORY_CONTROL
)
e2
:
SetDescription
(
aux
.
Stringid
(
10105555
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCondition
(
c10105555
.
condition
)
e2
:
SetCondition
(
c10105555
.
condition
)
e2
:
SetTarget
(
c10105555
.
target
)
e2
:
SetOperation
(
c10105555
.
operation
)
e2
:
SetOperation
(
c10105555
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
@@ -25,16 +22,11 @@ end
...
@@ -25,16 +22,11 @@ end
function
c10105555
.
filter
(
c
)
function
c10105555
.
filter
(
c
)
return
c
:
IsAttackPos
()
and
c
:
IsControlerCanBeChanged
()
return
c
:
IsAttackPos
()
and
c
:
IsControlerCanBeChanged
()
end
end
function
c10105555
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c10105555
.
filter
(
chkc
)
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c10105555
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c10105555
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10105555
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
if
tc
and
tc
:
IsAttackPos
()
and
tc
:
IsRelateToEffect
(
e
)
then
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c10105555
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
GetControl
(
tc
,
tp
)
if
#
sg
>
0
then
Duel
.
HintSelection
(
sg
)
Duel
.
GetControl
(
sg
:
GetFirst
(),
tp
)
end
end
end
end
\ No newline at end of file
expansions/script/c10105561.lua
View file @
6abd7ef6
--欲望的故乡
function
c10105561
.
initial_effect
(
c
)
function
c10105561
.
initial_effect
(
c
)
--spsummon
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
10105561
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
10105561
)
e1
:
SetCountLimit
(
1
,
10105561
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
c10105561
.
sptg
)
e1
:
SetTarget
(
c10105561
.
sptg
)
e1
:
SetOperation
(
c10105561
.
spop
)
e1
:
SetOperation
(
c10105561
.
spop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c10105561
.
spfilter
(
c
,
e
,
tp
)
function
c10105561
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x7cdd
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x7cdd
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
...
...
expansions/script/c91040032.lua
View file @
6abd7ef6
...
@@ -110,12 +110,9 @@ function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -110,12 +110,9 @@ function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
cm
.
thfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
cm
.
thfilter
,
1
,
nil
,
tp
)
end
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
cm
.
fit2
(
c
)
return
c
:
IsAbleToDeck
()
and
c
:
IsRace
(
RACE_ZOMBIE
)
end
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
\ No newline at end of file
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