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
1b10f2de
Commit
1b10f2de
authored
Aug 16, 2019
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1617be6f
Changes
38
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
91 additions
and
85 deletions
+91
-85
expansions/script/c10128001.lua
expansions/script/c10128001.lua
+1
-1
expansions/script/c10128002.lua
expansions/script/c10128002.lua
+1
-1
expansions/script/c10128003.lua
expansions/script/c10128003.lua
+1
-1
expansions/script/c10128004.lua
expansions/script/c10128004.lua
+1
-1
expansions/script/c10128005.lua
expansions/script/c10128005.lua
+1
-1
expansions/script/c10128006.lua
expansions/script/c10128006.lua
+1
-1
expansions/script/c33400001.lua
expansions/script/c33400001.lua
+5
-5
expansions/script/c33400002.lua
expansions/script/c33400002.lua
+5
-5
expansions/script/c33400003.lua
expansions/script/c33400003.lua
+3
-3
expansions/script/c33400004.lua
expansions/script/c33400004.lua
+3
-2
expansions/script/c33400005.lua
expansions/script/c33400005.lua
+3
-2
expansions/script/c33400007.lua
expansions/script/c33400007.lua
+2
-2
expansions/script/c33400008.lua
expansions/script/c33400008.lua
+2
-2
expansions/script/c33400009.lua
expansions/script/c33400009.lua
+4
-2
expansions/script/c33400010.lua
expansions/script/c33400010.lua
+2
-2
expansions/script/c33400011.lua
expansions/script/c33400011.lua
+4
-3
expansions/script/c33400012.lua
expansions/script/c33400012.lua
+2
-2
expansions/script/c33400013.lua
expansions/script/c33400013.lua
+3
-3
expansions/script/c33400014.lua
expansions/script/c33400014.lua
+2
-2
expansions/script/c33400015.lua
expansions/script/c33400015.lua
+2
-2
expansions/script/c33400033.lua
expansions/script/c33400033.lua
+4
-4
expansions/script/c33400100.lua
expansions/script/c33400100.lua
+2
-2
expansions/script/c33400101.lua
expansions/script/c33400101.lua
+2
-2
expansions/script/c33400102.lua
expansions/script/c33400102.lua
+3
-3
expansions/script/c33400103.lua
expansions/script/c33400103.lua
+2
-2
expansions/script/c33400104.lua
expansions/script/c33400104.lua
+2
-2
expansions/script/c33400105.lua
expansions/script/c33400105.lua
+8
-8
expansions/script/c33400106.lua
expansions/script/c33400106.lua
+3
-3
expansions/script/c33400107.lua
expansions/script/c33400107.lua
+2
-2
expansions/script/c33400108.lua
expansions/script/c33400108.lua
+2
-2
expansions/script/c33400109.lua
expansions/script/c33400109.lua
+2
-2
expansions/script/c33400110.lua
expansions/script/c33400110.lua
+2
-2
expansions/script/c33400111.lua
expansions/script/c33400111.lua
+2
-2
expansions/script/c33400112.lua
expansions/script/c33400112.lua
+2
-2
expansions/script/c33400117.lua
expansions/script/c33400117.lua
+2
-1
expansions/script/c9980768.lua
expansions/script/c9980768.lua
+1
-1
expansions/script/c9980783.lua
expansions/script/c9980783.lua
+1
-1
expansions/script/c9980792.lua
expansions/script/c9980792.lua
+1
-1
No files found.
expansions/script/c10128001.lua
View file @
1b10f2de
...
...
@@ -44,7 +44,7 @@ function c10128001.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
0x6336
,
0x21
,
tc
:
GetBaseAttack
(),
tc
:
GetBaseDefense
(),
1
,
RACE_PLANT
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
,
ATTRIBUTE_EARTH
,
RACE_PLANT
,
1
,
tc
:
GetBaseAttack
(),
tc
:
GetBaseDefense
())
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--
c:AddMonsterAttributeComplete()
Duel
.
SpecialSummonComplete
()
end
function
c10128001
.
thfilter
(
c
)
...
...
expansions/script/c10128002.lua
View file @
1b10f2de
...
...
@@ -47,7 +47,7 @@ function c10128002.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsFacedown
()
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
tc
:
GetCode
(),
0x6336
,
0x21
,
0
,
0
,
1
,
RACE_PLANT
,
ATTRIBUTE_EARTH
)
then
return
end
tc
:
AddMonsterAttribute
(
TYPE_EFFECT
,
ATTRIBUTE_WATER
,
RACE_AQUA
,
1
,
0
,
0
)
Duel
.
SpecialSummonStep
(
tc
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
:
AddMonsterAttributeComplete
()
--
tc:AddMonsterAttributeComplete()
Duel
.
SpecialSummonComplete
()
end
function
c10128002
.
thfilter
(
c
)
...
...
expansions/script/c10128003.lua
View file @
1b10f2de
...
...
@@ -63,6 +63,6 @@ function c10128003.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
sg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
tc
:
AddMonsterAttribute
(
TYPE_EFFECT
,
ATTRIBUTE_FIRE
,
RACE_SPELLCASTER
,
1
,
0
,
0
)
Duel
.
SpecialSummonStep
(
tc
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
:
AddMonsterAttributeComplete
()
--
tc:AddMonsterAttributeComplete()
Duel
.
SpecialSummonComplete
()
end
\ No newline at end of file
expansions/script/c10128004.lua
View file @
1b10f2de
...
...
@@ -44,7 +44,7 @@ function c10128004.spop(e,tp,eg,ep,ev,re,r,rp)
for
rc
in
aux
.
Next
(
g
)
do
rc
:
AddMonsterAttribute
(
TYPE_EFFECT
,
ATTRIBUTE_WIND
,
RACE_INSECT
,
1
,
0
,
0
)
Duel
.
SpecialSummonStep
(
rc
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
rc
:
AddMonsterAttributeComplete
()
--
rc:AddMonsterAttributeComplete()
end
Duel
.
SpecialSummonComplete
()
end
...
...
expansions/script/c10128005.lua
View file @
1b10f2de
...
...
@@ -41,7 +41,7 @@ function c10128005.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsFacedown
()
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
tc
:
GetCode
(),
0x6336
,
0x21
,
0
,
0
,
1
,
RACE_PLANT
,
ATTRIBUTE_LIGHT
)
then
return
end
tc
:
AddMonsterAttribute
(
TYPE_EFFECT
,
ATTRIBUTE_LIGHT
,
RACE_PLANT
,
1
,
0
,
0
)
Duel
.
SpecialSummonStep
(
tc
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
:
AddMonsterAttributeComplete
()
--
tc:AddMonsterAttributeComplete()
Duel
.
SpecialSummonComplete
()
end
function
c10128005
.
spfilter
(
c
,
e
,
tp
)
...
...
expansions/script/c10128006.lua
View file @
1b10f2de
...
...
@@ -68,6 +68,6 @@ function c10128006.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c10128006
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
,
rc
:
GetCode
()):
GetFirst
()
tc
:
AddMonsterAttribute
(
TYPE_EFFECT
,
ATTRIBUTE_EARTH
,
RACE_ZOMBIE
,
1
,
0
,
0
)
Duel
.
SpecialSummonStep
(
tc
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
:
AddMonsterAttributeComplete
()
--
tc:AddMonsterAttributeComplete()
Duel
.
SpecialSummonComplete
()
end
\ No newline at end of file
expansions/script/c33400001.lua
View file @
1b10f2de
--时崎狂三---惜时
function
c33400001
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x3
34f
)
c
:
EnableCounterPermit
(
0x
34f
)
--counter
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_COUNTER
)
...
...
@@ -39,17 +39,17 @@ function c33400001.costfilter(c)
end
function
c33400001
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33400001
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33400001
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
DiscardHand
(
tp
,
c33400001
.
costfilter
,
1
,
1
,
REASON_DISCARD
+
REASON_COST
)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400001
.
addct
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
2
,
0
,
0x3
3
4f
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
2
,
0
,
0x34f
)
end
function
c33400001
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
e
:
GetHandler
():
AddCounter
(
0x3
3
4f
,
2
)
e
:
GetHandler
():
AddCounter
(
0x34f
,
2
)
end
end
\ No newline at end of file
expansions/script/c33400002.lua
View file @
1b10f2de
--时崎狂三---时间回收者
function
c33400002
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x3
34f
)
c
:
EnableCounterPermit
(
0x
34f
)
--counter
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_COUNTER
)
...
...
@@ -25,9 +25,9 @@ function c33400002.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c33400002
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
2
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
2
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
2
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
2
,
REASON_COST
)
end
function
c33400002
.
thfilter2
(
c
)
return
c
:
IsSetCard
(
0x3340
)
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToHand
()
...
...
@@ -46,10 +46,10 @@ function c33400002.thop2(e,tp,eg,ep,ev,re,r,rp)
end
function
c33400002
.
addct
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
2
,
0
,
0x3
3
4f
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
2
,
0
,
0x34f
)
end
function
c33400002
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
e
:
GetHandler
():
AddCounter
(
0x3
3
4f
,
2
)
e
:
GetHandler
():
AddCounter
(
0x34f
,
2
)
end
end
\ No newline at end of file
expansions/script/c33400003.lua
View file @
1b10f2de
--时崎狂三---献身者
function
c33400003
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x3
3
4f
)
c
:
EnableCounterPermit
(
0x34f
)
--counter
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_COUNTER
)
...
...
@@ -84,10 +84,10 @@ end
--e1
function
c33400003
.
addct
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
2
,
0
,
0x3
3
4f
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
2
,
0
,
0x34f
)
end
function
c33400003
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
e
:
GetHandler
():
AddCounter
(
0x3
3
4f
,
2
)
e
:
GetHandler
():
AddCounter
(
0x34f
,
2
)
end
end
\ No newline at end of file
expansions/script/c33400004.lua
View file @
1b10f2de
--时崎狂三 中二
function
c33400004
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x34f
)
--special summon from grave
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
33400004
,
0
))
...
...
@@ -71,9 +72,9 @@ end
--e1
function
c33400004
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400004
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x3341
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
expansions/script/c33400005.lua
View file @
1b10f2de
--时崎狂三 无言之影
function
c33400005
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x34f
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -51,11 +52,11 @@ end
--e2
function
c33400005
.
addct
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
2
,
0
,
0x3
3
4f
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
2
,
0
,
0x34f
)
end
function
c33400005
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
e
:
GetHandler
():
AddCounter
(
0x3
3
4f
,
2
)
e
:
GetHandler
():
AddCounter
(
0x34f
,
2
)
end
end
function
c33400005
.
filter
(
c
)
...
...
expansions/script/c33400007.lua
View file @
1b10f2de
...
...
@@ -46,11 +46,11 @@ function c33400007.sumval(e,c)
end
function
c33400007
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
and
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
local
ct
=
e
:
GetLabel
()
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
function
c33400007
.
thfilter
(
c
)
...
...
expansions/script/c33400008.lua
View file @
1b10f2de
...
...
@@ -66,9 +66,9 @@ end
function
c33400008
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400008
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
IsActiveType
(
TYPE_QUICKPLAY
)
and
re
:
GetHandler
():
IsSetCard
(
0x3340
)
and
rp
==
tp
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
...
...
expansions/script/c33400009.lua
View file @
1b10f2de
...
...
@@ -37,6 +37,8 @@ function c33400009.initial_effect(c)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e3
:
SetLabel
(
2
)
e3
:
SetCost
(
c33400009
.
cost
)
e3
:
SetTarget
(
c33400009
.
destg
)
e3
:
SetOperation
(
c33400009
.
desop
)
c
:
RegisterEffect
(
e3
)
...
...
@@ -49,9 +51,9 @@ function c33400009.afilter(c)
end
function
c33400009
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400009
.
cfilter
(
c
,
lg
)
return
lg
:
IsContains
(
c
)
...
...
expansions/script/c33400010.lua
View file @
1b10f2de
...
...
@@ -83,9 +83,9 @@ function c33400010.disop(e,tp,eg,ep,ev,re,r,rp)
end
function
c33400010
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400010
.
dstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c33400011.lua
View file @
1b10f2de
--时崎狂三 婚纱
function
c33400011
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableCounterPermit
(
0x34f
)
--special summon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -39,19 +40,19 @@ function c33400011.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c33400011
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x3
3
4f
,
6
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x34f
,
6
)
end
function
c33400011
.
addct
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c33400011
.
filter
(
chkc
)
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c33400011
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
6
,
0
,
0x3
3
4f
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
6
,
0
,
0x34f
)
end
function
c33400011
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
tc
:
AddCounter
(
0x3
3
4f
,
6
)
tc
:
AddCounter
(
0x34f
,
6
)
end
end
function
c33400011
.
etarget
(
e
,
c
)
...
...
expansions/script/c33400012.lua
View file @
1b10f2de
...
...
@@ -94,9 +94,9 @@ function c33400012.disop(e,tp,eg,ep,ev,re,r,rp)
end
function
c33400012
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400012
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
...
...
expansions/script/c33400013.lua
View file @
1b10f2de
...
...
@@ -48,19 +48,19 @@ function c33400013.activate3(e,tp,eg,ep,ev,re,r,rp)
end
--e2
function
c33400013
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x3
3
4f
,
4
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x34f
,
4
)
end
function
c33400013
.
addct
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c33400013
.
filter
(
chkc
)
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c33400013
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
4
,
0
,
0x3
3
4f
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
4
,
0
,
0x34f
)
end
function
c33400013
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
tc
:
AddCounter
(
0x3
3
4f
,
4
)
tc
:
AddCounter
(
0x34f
,
4
)
end
end
--e1
...
...
expansions/script/c33400014.lua
View file @
1b10f2de
...
...
@@ -39,9 +39,9 @@ function c33400014.dacon(e)
end
function
c33400014
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
and
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
and
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c33400014
.
imop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33400015.lua
View file @
1b10f2de
...
...
@@ -61,9 +61,9 @@ function c33400015.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
c33400015
.
spcost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
and
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
and
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c33400015
.
spfilter2
(
c
,
e
,
tp
)
...
...
expansions/script/c33400033.lua
View file @
1b10f2de
...
...
@@ -200,11 +200,11 @@ end
function
c33400033
.
valcon
(
e
,
re
,
r
,
rp
)
return
r
==
REASON_BATTLE
end
function
c33400033
.
op3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33400033
.
op3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c33400033
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
tc
=
Duel
.
GetFirstTarget
()
tc
:
AddCounter
(
0x3
3
4f
,
2
)
tc
:
AddCounter
(
0x34f
,
2
)
local
e3_1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3_1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3_1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -218,7 +218,7 @@ function c33400033.efilter3_1(e,te)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
end
function
c33400033
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x3
3
4f
,
2
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x34f
,
2
)
end
--e6
function
c33400033
.
thfilter
(
c
)
...
...
@@ -248,5 +248,5 @@ function c33400033.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c33400033
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
tc
=
Duel
.
GetFirstTarget
()
tc
:
AddCounter
(
0x3
3
4f
,
2
)
tc
:
AddCounter
(
0x34f
,
2
)
end
\ No newline at end of file
expansions/script/c33400100.lua
View file @
1b10f2de
--刻刻帝-喰时之城
function
c33400100
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x3
3
4f
)
c
:
EnableCounterPermit
(
0x34f
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -36,7 +36,7 @@ end
function
c33400100
.
counter
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
eg
:
FilterCount
(
c33400100
.
cfilter
,
nil
)
if
ct
>
0
then
e
:
GetHandler
():
AddCounter
(
0x3
3
4f
,
ct
,
true
)
e
:
GetHandler
():
AddCounter
(
0x34f
,
ct
,
true
)
end
end
function
c33400100
.
cfilter
(
c
)
...
...
expansions/script/c33400101.lua
View file @
1b10f2de
...
...
@@ -14,9 +14,9 @@ function c33400101.initial_effect(c)
end
function
c33400101
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400101
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3341
)
...
...
expansions/script/c33400102.lua
View file @
1b10f2de
...
...
@@ -20,19 +20,19 @@ function c33400102.filter(c)
end
function
c33400102
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c33400102
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
1
,
REASON_COST
)
and
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
1
,
REASON_COST
)
end
local
sc
=
Duel
.
GetMatchingGroupCount
(
c33400102
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c33400102
.
filter
(
chkc
)
end
if
chk
==
0
then
return
sc
>
0
and
Duel
.
IsExistingTarget
(
c33400102
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
-
1
,
nil
)
end
local
cn
=
Duel
.
GetCounter
(
tp
,
1
,
0
,
0x3
3
4f
)
local
cn
=
Duel
.
GetCounter
(
tp
,
1
,
0
,
0x34f
)
local
lvt
=
{}
for
i
=
1
,
7
do
if
i
<=
cn
and
i
<=
sc
then
lvt
[
i
]
=
i
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
33400102
,
1
))
local
sc1
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
lvt
))
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
sc1
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
sc1
,
REASON_COST
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33400102
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
sc1
,
sc1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_LVCHANGE
,
g
,
g
:
GetCount
(),
0
,
0
)
...
...
expansions/script/c33400103.lua
View file @
1b10f2de
...
...
@@ -25,14 +25,14 @@ function c33400103.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
sc
=
Duel
.
GetMatchingGroupCount
(
c33400103
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c33400102
.
filter
(
chkc
)
end
if
chk
==
0
then
return
sc
>
0
and
Duel
.
IsExistingTarget
(
c33400102
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
-
1
,
nil
)
end
local
cn
=
Duel
.
GetCounter
(
tp
,
1
,
0
,
0x3
3
4f
)
local
cn
=
Duel
.
GetCounter
(
tp
,
1
,
0
,
0x34f
)
local
lvt
=
{}
for
i
=
1
,
7
do
if
i
<=
cn
and
i
<=
sc
then
lvt
[
i
]
=
i
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
33400103
,
1
))
local
sc1
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
lvt
))
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
sc1
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
sc1
,
REASON_COST
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33400103
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
sc1
,
sc1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_LVCHANGE
,
g
,
g
:
GetCount
(),
0
,
0
)
...
...
expansions/script/c33400104.lua
View file @
1b10f2de
...
...
@@ -16,9 +16,9 @@ function c33400104.initial_effect(c)
end
function
c33400104
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400104
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
...
...
expansions/script/c33400105.lua
View file @
1b10f2de
...
...
@@ -14,8 +14,8 @@ function c33400105.filter1(c)
return
c
:
IsSetCard
(
0x3341
)
or
c
:
IsSetCard
(
0x3340
)
end
function
c33400105
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
LOCATION_DECK
)
>
0
and
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
2
,
REASON_COST
)
end
local
ct
=
Duel
.
GetCounter
(
tp
,
LOCATION_ONFIELD
,
0
,
0x3
3
4f
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
LOCATION_DECK
)
>
0
and
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
2
,
REASON_COST
)
end
local
ct
=
Duel
.
GetCounter
(
tp
,
LOCATION_ONFIELD
,
0
,
0x34f
)
local
b1
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
local
b2
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_DECK
)
if
chk
==
0
then
return
b1
or
b2
end
...
...
@@ -24,22 +24,22 @@ function c33400105.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
Duel
.
IsExistingMatchingCard
(
c33400105
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
3
,
nil
)
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
33400105
,
0
),
aux
.
Stringid
(
33400105
,
1
),
aux
.
Stringid
(
33400105
,
2
))
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
if
op
==
2
then
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x
1003
,
4
,
REASON_COST
)
else
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
2
,
REASON_COST
)
if
op
==
2
then
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x
34f
,
4
,
REASON_COST
)
else
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
2
,
REASON_COST
)
end
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
33400105
,
0
),
aux
.
Stringid
(
33400105
,
1
))
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
2
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
2
,
REASON_COST
)
end
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
33400105
,
0
))
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
2
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
2
,
REASON_COST
)
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
33400105
,
1
))
+
1
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
2
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
2
,
REASON_COST
)
end
e
:
SetLabel
(
op
)
end
...
...
@@ -76,7 +76,7 @@ function c33400105.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
tp
)
Duel
.
SortDecktop
(
tp
,
1
-
tp
,
cm2
-
1
)
else
Duel
.
SortDecktop
(
tp
,
1
-
tp
,
cm2
)
end
end
end
end
function
c33400105
.
filter
(
c
)
...
...
expansions/script/c33400106.lua
View file @
1b10f2de
...
...
@@ -16,18 +16,18 @@ function c33400106.cfilter(c,e,tp)
end
function
c33400106
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c33400106
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
2
,
REASON_COST
)
and
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
2
,
REASON_COST
)
end
local
sc
=
Duel
.
GetMatchingGroupCount
(
c33400106
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
sc
>
0
end
local
cn
=
Duel
.
GetCounter
(
tp
,
1
,
0
,
0x3
3
4f
)
local
cn
=
Duel
.
GetCounter
(
tp
,
1
,
0
,
0x34f
)
local
lvt
=
{}
for
i
=
1
,
2
do
if
(
i
*
2
)
<=
cn
and
i
<=
sc
then
lvt
[
i
]
=
i
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
33400106
,
1
))
local
sc1
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
lvt
))
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
sc1
*
2
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
sc1
*
2
,
REASON_COST
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33400106
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
sc1
,
sc1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
0
,
0
)
...
...
expansions/script/c33400107.lua
View file @
1b10f2de
...
...
@@ -14,9 +14,9 @@ function c33400107.initial_effect(c)
end
function
c33400107
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400107
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
end
...
...
expansions/script/c33400108.lua
View file @
1b10f2de
...
...
@@ -14,9 +14,9 @@ function c33400108.initial_effect(c)
end
function
c33400108
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400108
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
...
...
expansions/script/c33400109.lua
View file @
1b10f2de
...
...
@@ -12,9 +12,9 @@ function c33400109.initial_effect(c)
end
function
c33400109
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400109
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_SZONE
+
LOCATION_MZONE
):
Filter
(
Card
.
IsFacedown
,
nil
)
...
...
expansions/script/c33400110.lua
View file @
1b10f2de
...
...
@@ -14,9 +14,9 @@ function c33400110.initial_effect(c)
end
function
c33400110
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
function
c33400110
.
filter
(
c
)
return
c
:
IsFaceup
()
...
...
expansions/script/c33400111.lua
View file @
1b10f2de
...
...
@@ -12,9 +12,9 @@ function c33400111.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c33400111
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
11
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
11
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
11
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
11
,
REASON_COST
)
end
function
c33400111
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3341
)
...
...
expansions/script/c33400112.lua
View file @
1b10f2de
...
...
@@ -22,9 +22,9 @@ function c33400112.cfilter(c)
end
function
c33400112
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x3
3
4f
,
ct
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x34f
,
ct
,
REASON_COST
)
Duel
.
PayLPCost
(
tp
,
math.floor
(
Duel
.
GetLP
(
tp
)
/
2
))
end
function
c33400112
.
tdfilter
(
c
)
...
...
expansions/script/c33400117.lua
View file @
1b10f2de
--踏过无尽尸体的觉悟
function
c33400117
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x34f
)
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
33400117
,
0
))
...
...
@@ -49,6 +50,6 @@ function c33400117.operation(e,tp,eg,ep,ev,re,r,rp,chk)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
e
:
GetHandler
():
AddCounter
(
0x3
3
4f
,
2
)
e
:
GetHandler
():
AddCounter
(
0x34f
,
2
)
end
end
expansions/script/c9980768.lua
View file @
1b10f2de
...
...
@@ -73,7 +73,7 @@ end
function
c9980768
.
hdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
Duel
.
ConfirmCards
(
tp
,
g
)
local
sg
=
g
:
Filter
(
Card
.
Is
SetCard
,
nil
,
TYPE_TUNER
)
local
sg
=
g
:
Filter
(
Card
.
Is
Type
,
nil
,
TYPE_TUNER
)
if
sg
:
GetCount
()
>
0
then
local
atk
=
0
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
...
...
expansions/script/c9980783.lua
View file @
1b10f2de
...
...
@@ -102,7 +102,7 @@ end
function
c9980783
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Remove
(
tc
,
POS_FACE
UP
,
REASON_EFFECT
)
Duel
.
Remove
(
tc
,
POS_FACE
DOWN
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
9980783
,
3
))
end
end
\ No newline at end of file
expansions/script/c9980792.lua
View file @
1b10f2de
--欲望战士OOO·魂联组
function
c9980792
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0xabc1
),
2
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0xabc1
),
2
,
99
)
c
:
EnableReviveLimit
()
--code
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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