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
91568aea
Commit
91568aea
authored
Aug 31, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4b8db707
Changes
25
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
640 additions
and
947 deletions
+640
-947
expansions/no42.cdb
expansions/no42.cdb
+0
-0
expansions/pics/11450999.jpg
expansions/pics/11450999.jpg
+0
-0
expansions/script/c11410000.lua
expansions/script/c11410000.lua
+3
-3
expansions/script/c11450999.lua
expansions/script/c11450999.lua
+0
-194
expansions/script/c11451743.lua
expansions/script/c11451743.lua
+1
-1
expansions/script/c11451757.lua
expansions/script/c11451757.lua
+5
-1
expansions/script/c11451853.lua
expansions/script/c11451853.lua
+5
-1
expansions/script/c11451884.lua
expansions/script/c11451884.lua
+2
-2
expansions/script/c15005369.lua
expansions/script/c15005369.lua
+4
-4
expansions/script/c28318027.lua
expansions/script/c28318027.lua
+1
-1
expansions/script/c28318749.lua
expansions/script/c28318749.lua
+1
-1
expansions/script/c28322413.lua
expansions/script/c28322413.lua
+1
-1
expansions/script/c53702500.lua
expansions/script/c53702500.lua
+174
-682
expansions/script/c53752002.lua
expansions/script/c53752002.lua
+414
-21
expansions/script/c53752007.lua
expansions/script/c53752007.lua
+2
-4
expansions/script/c53752008.lua
expansions/script/c53752008.lua
+2
-4
expansions/script/c53752009.lua
expansions/script/c53752009.lua
+2
-4
expansions/script/c53752010.lua
expansions/script/c53752010.lua
+2
-4
expansions/script/c53752011.lua
expansions/script/c53752011.lua
+2
-4
expansions/script/c53752012.lua
expansions/script/c53752012.lua
+2
-4
expansions/script/c53752013.lua
expansions/script/c53752013.lua
+2
-4
expansions/script/c53752014.lua
expansions/script/c53752014.lua
+2
-4
expansions/script/c53752016.lua
expansions/script/c53752016.lua
+6
-1
expansions/script/c53752019.lua
expansions/script/c53752019.lua
+0
-2
expansions/script/special.lua
expansions/script/special.lua
+7
-0
No files found.
expansions/no42.cdb
View file @
91568aea
No preview for this file type
expansions/pics/11450999.jpg
deleted
100644 → 0
View file @
4b8db707
134 KB
expansions/script/c11410000.lua
View file @
91568aea
...
@@ -146,13 +146,13 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -146,13 +146,13 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
if
KOISHI_CHECK
then
if
KOISHI_CHECK
then
Duel
.
ResetTimeLimit
(
0
,
36
0
)
Duel
.
ResetTimeLimit
(
0
,
60
0
)
Duel
.
ResetTimeLimit
(
1
,
36
0
)
Duel
.
ResetTimeLimit
(
1
,
60
0
)
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_PHASE_START
+
PHASE_DRAW
)
e0
:
SetCode
(
EVENT_PHASE_START
+
PHASE_DRAW
)
e0
:
SetCountLimit
(
1
)
e0
:
SetCountLimit
(
1
)
e0
:
SetOperation
(
function
()
Duel
.
ResetTimeLimit
(
0
,
360
)
Duel
.
ResetTimeLimit
(
1
,
36
0
)
end
)
e0
:
SetOperation
(
function
()
Duel
.
ResetTimeLimit
(
0
,
600
)
Duel
.
ResetTimeLimit
(
1
,
60
0
)
end
)
Duel
.
RegisterEffect
(
e0
,
0
)
Duel
.
RegisterEffect
(
e0
,
0
)
end
end
local
ag
=
Duel
.
GetMatchingGroup
(
cm
.
nnfilter
,
0
,
0xff
,
0xff
,
nil
)
local
ag
=
Duel
.
GetMatchingGroup
(
cm
.
nnfilter
,
0
,
0xff
,
0xff
,
nil
)
...
...
expansions/script/c11450999.lua
deleted
100644 → 0
View file @
4b8db707
--无名绝路
local
cm
,
m
=
GetID
()
function
cm
.
initial_effect
(
c
)
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
op
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetRange
(
LOCATION_DECK
)
e2
:
SetCondition
(
cm
.
condition
)
e2
:
SetCost
(
cm
.
cost
)
--c:RegisterEffect(e2)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_PHASE_START
+
PHASE_DRAW
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetOperation
(
cm
.
op2
)
--c:RegisterEffect(e3)
local
e6
=
e3
:
Clone
()
e6
:
SetCode
(
EVENT_PHASE_START
+
PHASE_STANDBY
)
--c:RegisterEffect(e6)
local
e7
=
e3
:
Clone
()
e7
:
SetCode
(
EVENT_PHASE_START
+
PHASE_MAIN1
)
--c:RegisterEffect(e7)
local
e8
=
e3
:
Clone
()
e8
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE_START
)
e8
:
SetCondition
(
cm
.
con2
)
--c:RegisterEffect(e8)
local
e9
=
e3
:
Clone
()
e9
:
SetCode
(
EVENT_PHASE_START
+
PHASE_MAIN2
)
--c:RegisterEffect(e9)
local
e10
=
e3
:
Clone
()
e10
:
SetCode
(
EVENT_PHASE_START
+
PHASE_END
)
--c:RegisterEffect(e10)
local
e11
=
e3
:
Clone
()
e11
:
SetCode
(
EVENT_FREE_CHAIN
)
e11
:
SetCondition
(
cm
.
condition
)
c
:
RegisterEffect
(
e11
)
local
e2
=
e1
:
Clone
()
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetRange
(
LOCATION_DECK
)
e2
:
SetCondition
(
cm
.
condition
)
e2
:
SetCost
(
cm
.
cost
)
--c:RegisterEffect(e2)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_ACTIVATE_COST
)
e4
:
SetRange
(
LOCATION_DECK
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e4
:
SetTargetRange
(
1
,
0
)
e4
:
SetTarget
(
cm
.
actarget
)
e4
:
SetOperation
(
cm
.
costop
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e5
:
SetRange
(
LOCATION_DECK
)
e5
:
SetCondition
(
cm
.
condition
)
c
:
RegisterEffect
(
e5
)
if
not
cm
.
global_check
then
cm
.
global_check
=
true
cm
.
activate_sequence
=
{}
local
_GetActivateLocation
=
Effect
.
GetActivateLocation
local
_GetActivateSequence
=
Effect
.
GetActivateSequence
local
_NegateActivation
=
Duel
.
NegateActivation
function
Effect
.
GetActivateLocation
(
e
)
if
e
:
GetDescription
()
==
aux
.
Stringid
(
m
,
0
)
then
return
_GetActivateLocation
(
e
)
end
return
_GetActivateLocation
(
e
)
end
function
Effect
.
GetActivateSequence
(
e
)
if
e
:
GetDescription
()
==
aux
.
Stringid
(
m
,
0
)
then
return
cm
.
activate_sequence
[
e
]
end
return
_GetActivateSequence
(
e
)
end
function
Duel
.
NegateActivation
(
ev
)
local
re
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_EFFECT
)
local
res
=
_NegateActivation
(
ev
)
if
res
and
aux
.
GetValueType
(
re
)
==
"Effect"
then
local
rc
=
re
:
GetHandler
()
if
rc
and
rc
:
IsRelateToEffect
(
re
)
and
not
(
rc
:
IsOnField
()
and
rc
:
IsFacedown
())
and
re
:
GetDescription
()
==
aux
.
Stringid
(
m
,
0
)
then
rc
:
SetStatus
(
STATUS_ACTIVATE_DISABLED
,
true
)
end
end
return
res
end
end
end
function
cm
.
actarget
(
e
,
te
,
tp
)
e
:
SetLabelObject
(
te
)
return
te
:
GetHandler
()
==
e
:
GetHandler
()
and
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
function
cm
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
te
=
e
:
GetLabelObject
()
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
false
)
cm
.
activate_sequence
[
te
]
=
c
:
GetSequence
()
c
:
CreateEffectRelation
(
te
)
local
ev0
=
Duel
.
GetCurrentChain
()
+
1
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ev
==
ev0
end
)
e1
:
SetOperation
(
cm
.
rsop
)
e1
:
SetReset
(
RESET_CHAIN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_CHAIN_NEGATED
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
cm
.
rsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
if
e
:
GetCode
()
==
EVENT_CHAIN_SOLVED
and
rc
:
IsRelateToEffect
(
re
)
then
rc
:
SetStatus
(
STATUS_EFFECT_ENABLED
,
true
)
end
if
e
:
GetCode
()
==
EVENT_CHAIN_NEGATED
and
rc
:
IsRelateToEffect
(
re
)
and
not
(
rc
:
IsOnField
()
and
rc
:
IsFacedown
())
then
rc
:
SetStatus
(
STATUS_ACTIVATE_DISABLED
,
true
)
end
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
not
Duel
.
CheckPhaseActivity
()
and
Duel
.
GetCurrentChain
()
==
0
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
g
:
RemoveCard
(
e
:
GetHandler
())
return
#
g
>
0
and
g
:
FilterCount
(
Card
.
IsAbleToDeckAsCost
,
nil
)
==#
g
end
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
--Debug.Message(e:GetActivateLocation())
--if e:IsHasType(EFFECT_TYPE_ACTIVATE) then Duel.SetChainLimit(aux.FALSE) end
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e0
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e0
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e0
:
SetCountLimit
(
1
)
e0
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e0
:
SetOperation
(
cm
.
spop
)
Duel
.
RegisterEffect
(
e0
,
tp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_ADJUST
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetLabelObject
(
e0
)
e1
:
SetCondition
(
function
(
e
,
tp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
==
0
end
)
e1
:
SetOperation
(
cm
.
drop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
return
#
g
>
0
and
g
:
FilterCount
(
Card
.
IsAbleToDeckAsCost
,
nil
)
==#
g
and
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
end
function
cm
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
cp
=
Duel
.
GetCurrentPhase
()
local
tab
=
{[
1
]
=
1
,[
2
]
=
2
,[
4
]
=
3
,[
8
]
=
4
,[
256
]
=
5
,[
512
]
=
6
}
if
#
g
>
0
and
g
:
FilterCount
(
Card
.
IsAbleToDeckAsCost
,
nil
)
==#
g
and
c
:
IsAbleToRemove
()
and
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
Duel
.
GetCurrentPhase
(),
0
,
1
)
--if Duel.SelectYesNo(tp,aux.Stringid(m,tab[cp])) then
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_RULE
)
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
AdjustAll
()
--end
end
end
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
then
return
end
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
local
lab
=
e
:
GetLabelObject
():
GetLabel
()
e
:
GetLabelObject
():
SetLabel
(
lab
+
1
)
Duel
.
Readjust
()
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
2000
*
e
:
GetLabel
())
end
\ No newline at end of file
expansions/script/c11451743.lua
View file @
91568aea
...
@@ -119,7 +119,7 @@ function cm.limop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -119,7 +119,7 @@ function cm.limop(e,tp,eg,ep,ev,re,r,rp)
e
:
GetHandler
():
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAIN
_ACTIVAT
ING
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetOperation
(
cm
.
resetop
)
e1
:
SetOperation
(
cm
.
resetop
)
e1
:
SetReset
(
RESET_CHAIN
)
e1
:
SetReset
(
RESET_CHAIN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
expansions/script/c11451757.lua
View file @
91568aea
...
@@ -67,8 +67,12 @@ end
...
@@ -67,8 +67,12 @@ end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
return
not
eg
:
IsContains
(
e
:
GetHandler
())
end
end
local
_IsCanTurnSet
=
Card
.
IsCanTurnSet
function
Card
.
IsCanTurnSet
(
c
)
return
(
c
:
IsSSetable
(
true
)
and
c
:
IsLocation
(
LOCATION_SZONE
))
or
((
_IsCanTurnSet
(
c
)
and
not
c
:
IsLocation
(
LOCATION_SZONE
)))
end
function
cm
.
dsfilter
(
c
)
function
cm
.
dsfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsCanTurnSet
()
or
(
c
:
IsSSetable
(
true
)
and
c
:
IsLocation
(
LOCATION_SZONE
))
)
return
c
:
IsFaceup
()
and
c
:
IsCanTurnSet
(
)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c11451853.lua
View file @
91568aea
...
@@ -196,8 +196,12 @@ function cm.nnfilter(c,tc)
...
@@ -196,8 +196,12 @@ function cm.nnfilter(c,tc)
local
loc
=
tc
:
GetLocation
()
local
loc
=
tc
:
GetLocation
()
return
c
==
tc
or
(
s
<
5
and
seq
<
5
and
math.abs
(
seq
-
s
)
<=
1
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
loc
))
return
c
==
tc
or
(
s
<
5
and
seq
<
5
and
math.abs
(
seq
-
s
)
<=
1
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
loc
))
end
end
local
_IsCanTurnSet
=
Card
.
IsCanTurnSet
function
Card
.
IsCanTurnSet
(
c
)
return
(
c
:
IsSSetable
(
true
)
and
c
:
IsLocation
(
LOCATION_SZONE
))
or
((
_IsCanTurnSet
(
c
)
and
not
c
:
IsLocation
(
LOCATION_SZONE
)))
end
function
cm
.
dsfilter
(
c
)
function
cm
.
dsfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsCanTurnSet
()
or
(
c
:
IsSSetable
(
true
)
and
c
:
IsLocation
(
LOCATION_SZONE
))
)
return
c
:
IsFaceup
()
and
c
:
IsCanTurnSet
(
)
end
end
function
cm
.
tfilter
(
c
)
function
cm
.
tfilter
(
c
)
return
c
:
IsFacedown
()
and
c
:
IsOnField
()
return
c
:
IsFacedown
()
and
c
:
IsOnField
()
...
...
expansions/script/c11451884.lua
View file @
91568aea
...
@@ -130,7 +130,7 @@ function cm.costop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -130,7 +130,7 @@ function cm.costop2(e,tp,eg,ep,ev,re,r,rp)
end
end
local
op0
=
e
:
GetOperation
()
or
(
function
()
end
)
local
op0
=
e
:
GetOperation
()
or
(
function
()
end
)
local
prop1
,
prop2
=
e
:
GetProperty
()
local
prop1
,
prop2
=
e
:
GetProperty
()
te
:
SetProperty
(
prop1
|
EFFECT_FLAG_CANNOT_DISABLE
|
EFFECT_FLAG_
UNCOPYABL
E
,
prop2
)
te
:
SetProperty
(
prop1
|
EFFECT_FLAG_CANNOT_DISABLE
|
EFFECT_FLAG_
CANNOT_INACTIVAT
E
,
prop2
)
local
op2
=
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
op2
=
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
SetOperation
(
op0
)
e
:
SetOperation
(
op0
)
op0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
op0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -238,7 +238,7 @@ function cm.costop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -238,7 +238,7 @@ function cm.costop2(e,tp,eg,ep,ev,re,r,rp)
end
end
elseif
sel
==
2
then
elseif
sel
==
2
then
cm
[
tp
]
=
cm
[
tp
]
-
4
cm
[
tp
]
=
cm
[
tp
]
-
4
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
2
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
not
cm
.
reg
then
if
not
cm
.
reg
then
cm
.
reg
=
true
cm
.
reg
=
true
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
expansions/script/c15005369.lua
View file @
91568aea
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCost
(
cm
.
xcost
)
--
e4:SetCost(cm.xcost)
e4
:
SetTarget
(
cm
.
xtg
)
e4
:
SetTarget
(
cm
.
xtg
)
e4
:
SetOperation
(
cm
.
xop
)
e4
:
SetOperation
(
cm
.
xop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
@@ -112,11 +112,11 @@ end
...
@@ -112,11 +112,11 @@ end
function
cm
.
xtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
xtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
if
chk
==
0
then
if
e
:
GetLabel
()
~=
100
then
return
false
end
--
if e:GetLabel()~=100 then return false end
e
:
SetLabel
(
0
)
--
e:SetLabel(0)
local
b1
=
(
c
:
IsCanRemoveCounter
(
tp
,
0xfc
,
2
,
REASON_COST
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
xfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
1
,
c
))
local
b1
=
(
c
:
IsCanRemoveCounter
(
tp
,
0xfc
,
2
,
REASON_COST
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
xfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
1
,
c
))
local
b2
=
(
c
:
IsCanRemoveCounter
(
tp
,
0xfc
,
3
,
REASON_COST
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
xfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
1
,
c
))
local
b2
=
(
c
:
IsCanRemoveCounter
(
tp
,
0xfc
,
3
,
REASON_COST
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
xfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
1
,
c
))
return
b1
or
b2
return
e
:
IsCostChecked
()
and
(
b1
or
b2
)
end
end
local
b1
=
(
c
:
IsCanRemoveCounter
(
tp
,
0xfc
,
2
,
REASON_COST
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
xfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
1
,
c
))
local
b1
=
(
c
:
IsCanRemoveCounter
(
tp
,
0xfc
,
2
,
REASON_COST
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
xfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
1
,
c
))
local
b2
=
(
c
:
IsCanRemoveCounter
(
tp
,
0xfc
,
3
,
REASON_COST
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
xfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
1
,
c
))
local
b2
=
(
c
:
IsCanRemoveCounter
(
tp
,
0xfc
,
3
,
REASON_COST
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
xfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
1
,
c
))
...
...
expansions/script/c28318027.lua
View file @
91568aea
...
@@ -106,7 +106,7 @@ function c28318027.rsop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -106,7 +106,7 @@ function c28318027.rsop(e,tp,eg,ep,ev,re,r,rp)
local
xlv
=
c
:
GetFlagEffectLabel
(
28318027
)
local
xlv
=
c
:
GetFlagEffectLabel
(
28318027
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_RANK
_FINAL
)
e1
:
SetCode
(
EFFECT_CHANGE_RANK
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
xlv
)
e1
:
SetValue
(
xlv
)
...
...
expansions/script/c28318749.lua
View file @
91568aea
...
@@ -109,7 +109,7 @@ function c28318749.rsop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -109,7 +109,7 @@ function c28318749.rsop(e,tp,eg,ep,ev,re,r,rp)
local
xlv
=
c
:
GetFlagEffectLabel
(
28318749
)
local
xlv
=
c
:
GetFlagEffectLabel
(
28318749
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_RANK
_FINAL
)
e1
:
SetCode
(
EFFECT_CHANGE_RANK
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
xlv
)
e1
:
SetValue
(
xlv
)
...
...
expansions/script/c28322413.lua
View file @
91568aea
...
@@ -127,7 +127,7 @@ function c28322413.rsop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -127,7 +127,7 @@ function c28322413.rsop(e,tp,eg,ep,ev,re,r,rp)
local
xlv
=
c
:
GetFlagEffectLabel
(
28322413
)
local
xlv
=
c
:
GetFlagEffectLabel
(
28322413
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_RANK
_FINAL
)
e1
:
SetCode
(
EFFECT_CHANGE_RANK
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
xlv
)
e1
:
SetValue
(
xlv
)
...
...
expansions/script/c53702500.lua
View file @
91568aea
This diff is collapsed.
Click to expand it.
expansions/script/c53752002.lua
View file @
91568aea
This diff is collapsed.
Click to expand it.
expansions/script/c53752007.lua
View file @
91568aea
local
m
=
53752007
local
m
=
53752007
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"仇恨之安妮"
cm
.
name
=
"仇恨之安妮"
cm
.
NecroceanSyn
=
true
--cm.GuyWildCard=true
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
02500"
)
end
)
then
require
(
"script/c53702500
"
)
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
52002"
)
end
)
then
require
(
"script/c53752002
"
)
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
SNNM
.
NecroceanSynchro
(
c
)
Necrocean
.
AddSynchroMixProcedure
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c53752008.lua
View file @
91568aea
local
m
=
53752008
local
m
=
53752008
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"荣誉之瓦萨"
cm
.
name
=
"荣誉之瓦萨"
cm
.
NecroceanSyn
=
true
--cm.GuyWildCard=true
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
02500"
)
end
)
then
require
(
"script/c53702500
"
)
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
52002"
)
end
)
then
require
(
"script/c53752002
"
)
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
SNNM
.
NecroceanSynchro
(
c
)
Necrocean
.
AddSynchroMixProcedure
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c53752009.lua
View file @
91568aea
local
m
=
53752009
local
m
=
53752009
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"压迫之斯考皮恩"
cm
.
name
=
"压迫之斯考皮恩"
cm
.
NecroceanSyn
=
true
--cm.GuyWildCard=true
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
02500"
)
end
)
then
require
(
"script/c53702500
"
)
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
52002"
)
end
)
then
require
(
"script/c53752002
"
)
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
SNNM
.
NecroceanSynchro
(
c
)
Necrocean
.
AddSynchroMixProcedure
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c53752010.lua
View file @
91568aea
local
m
=
53752010
local
m
=
53752010
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"守护之罗斯"
cm
.
name
=
"守护之罗斯"
cm
.
NecroceanSyn
=
true
--cm.GuyWildCard=true
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
02500"
)
end
)
then
require
(
"script/c53702500
"
)
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
52002"
)
end
)
then
require
(
"script/c53752002
"
)
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
SNNM
.
NecroceanSynchro
(
c
)
Necrocean
.
AddSynchroMixProcedure
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c53752011.lua
View file @
91568aea
local
m
=
53752011
local
m
=
53752011
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"庄重之戈登堡"
cm
.
name
=
"庄重之戈登堡"
cm
.
NecroceanSyn
=
true
--cm.GuyWildCard=true
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
02500"
)
end
)
then
require
(
"script/c53702500
"
)
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
52002"
)
end
)
then
require
(
"script/c53752002
"
)
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
SNNM
.
NecroceanSynchro
(
c
)
Necrocean
.
AddSynchroMixProcedure
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c53752012.lua
View file @
91568aea
local
m
=
53752012
local
m
=
53752012
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"宏伟之泰坦"
cm
.
name
=
"宏伟之泰坦"
cm
.
NecroceanSyn
=
true
--cm.GuyWildCard=true
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
02500"
)
end
)
then
require
(
"script/c53702500
"
)
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
52002"
)
end
)
then
require
(
"script/c53752002
"
)
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
SNNM
.
NecroceanSynchro
(
c
)
Necrocean
.
AddSynchroMixProcedure
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_ATKCHANGE
)
e1
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_ATKCHANGE
)
...
...
expansions/script/c53752013.lua
View file @
91568aea
local
m
=
53752013
local
m
=
53752013
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"破灭之阿尔坎"
cm
.
name
=
"破灭之阿尔坎"
cm
.
NecroceanSyn
=
true
--cm.GuyWildCard=true
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
02500"
)
end
)
then
require
(
"script/c53702500
"
)
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
52002"
)
end
)
then
require
(
"script/c53752002
"
)
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
SNNM
.
NecroceanSynchro
(
c
)
Necrocean
.
AddSynchroMixProcedure
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetCategory
(
CATEGORY_DECKDES
)
...
...
expansions/script/c53752014.lua
View file @
91568aea
local
m
=
53752014
local
m
=
53752014
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"无名天际领航者"
cm
.
name
=
"无名天际领航者"
cm
.
NecroceanSyn
=
true
--cm.GuyWildCard=true
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
02500"
)
end
)
then
require
(
"script/c53702500
"
)
end
if
not
pcall
(
function
()
require
(
"expansions/script/c537
52002"
)
end
)
then
require
(
"script/c53752002
"
)
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
SNNM
.
NecroceanSynchro
(
c
)
Necrocean
.
AddSynchroMixProcedure
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
expansions/script/c53752016.lua
View file @
91568aea
...
@@ -50,7 +50,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SYNCHRO_MATERIAL
)
e1
:
SetCode
(
EFFECT_EXTRA_SYNCHRO_MATERIAL
)
e1
:
SetOwnerPlayer
(
tp
)
e1
:
SetValue
(
cm
.
matval
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -76,6 +78,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,6 +78,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
cm
.
matval
(
e
,
c
)
return
c
:
IsControler
(
e
:
GetOwnerPlayer
())
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
:
GetFlagEffectLabel
(
m
)
==
e
:
GetLabel
()
then
if
tc
:
GetFlagEffectLabel
(
m
)
==
e
:
GetLabel
()
then
...
...
expansions/script/c53752019.lua
View file @
91568aea
if
not
require
and
dofile
then
function
require
(
str
)
return
dofile
(
str
..
".lua"
)
end
end
if
not
pcall
(
function
()
require
(
"expansions/script/c53702500"
)
end
)
then
require
(
"script/c53702500"
)
end
local
m
=
53752019
local
m
=
53752019
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"莉莉·林德"
cm
.
name
=
"莉莉·林德"
...
...
expansions/script/special.lua
View file @
91568aea
...
@@ -80,6 +80,13 @@ function Auxiliary.PreloadUds()
...
@@ -80,6 +80,13 @@ function Auxiliary.PreloadUds()
table_range
[
e
]
=
r
table_range
[
e
]
=
r
return
_SetRange
(
e
,
r
,
...
)
return
_SetRange
(
e
,
r
,
...
)
end
end
local
_Clone
=
Effect
.
Clone
function
Effect
.
Clone
(
e
)
table_range
=
table_range
or
{}
local
clone_e
=
_Clone
(
e
)
table_range
[
clone_e
]
=
r
return
clone_e
end
local
_IsCanTurnSet
=
Card
.
IsCanTurnSet
local
_IsCanTurnSet
=
Card
.
IsCanTurnSet
function
Card
.
IsCanTurnSet
(
c
)
function
Card
.
IsCanTurnSet
(
c
)
return
(
c
:
IsSSetable
(
true
)
and
c
:
IsLocation
(
LOCATION_SZONE
))
or
((
_IsCanTurnSet
(
c
)
and
not
c
:
IsLocation
(
LOCATION_SZONE
)))
return
(
c
:
IsSSetable
(
true
)
and
c
:
IsLocation
(
LOCATION_SZONE
))
or
((
_IsCanTurnSet
(
c
)
and
not
c
:
IsLocation
(
LOCATION_SZONE
)))
...
...
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