Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
3decea34
Commit
3decea34
authored
Jan 27, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8c080b97
Pipeline
#9025
passed with stages
in 1 minute and 58 seconds
Changes
35
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
120 additions
and
108 deletions
+120
-108
field/101108063.jpg
field/101108063.jpg
+0
-0
script/c101108001.lua
script/c101108001.lua
+4
-3
script/c101108008.lua
script/c101108008.lua
+1
-1
script/c101108012.lua
script/c101108012.lua
+1
-6
script/c101108013.lua
script/c101108013.lua
+13
-12
script/c101108014.lua
script/c101108014.lua
+2
-1
script/c101108015.lua
script/c101108015.lua
+1
-0
script/c101108019.lua
script/c101108019.lua
+3
-2
script/c101108020.lua
script/c101108020.lua
+5
-9
script/c101108021.lua
script/c101108021.lua
+4
-4
script/c101108023.lua
script/c101108023.lua
+2
-1
script/c101108024.lua
script/c101108024.lua
+22
-22
script/c101108026.lua
script/c101108026.lua
+1
-1
script/c101108028.lua
script/c101108028.lua
+1
-1
script/c101108032.lua
script/c101108032.lua
+1
-0
script/c101108035.lua
script/c101108035.lua
+1
-0
script/c101108036.lua
script/c101108036.lua
+2
-1
script/c101108037.lua
script/c101108037.lua
+2
-2
script/c101108038.lua
script/c101108038.lua
+4
-4
script/c101108042.lua
script/c101108042.lua
+1
-1
script/c101108043.lua
script/c101108043.lua
+10
-8
script/c101108044.lua
script/c101108044.lua
+14
-14
script/c101108045.lua
script/c101108045.lua
+2
-2
script/c101108046.lua
script/c101108046.lua
+2
-0
script/c101108049.lua
script/c101108049.lua
+3
-3
script/c101108051.lua
script/c101108051.lua
+2
-2
script/c101108053.lua
script/c101108053.lua
+1
-1
script/c101108055.lua
script/c101108055.lua
+2
-1
script/c101108060.lua
script/c101108060.lua
+1
-1
script/c101108062.lua
script/c101108062.lua
+4
-1
script/c101108064.lua
script/c101108064.lua
+1
-0
script/c101108068.lua
script/c101108068.lua
+1
-2
script/c101108071.lua
script/c101108071.lua
+2
-0
script/c101108074.lua
script/c101108074.lua
+1
-1
script/c101108076.lua
script/c101108076.lua
+3
-1
No files found.
field/101108063.jpg
View replaced file @
8c080b97
View file @
3decea34
71.6 KB
|
W:
|
H:
131 KB
|
W:
|
H:
2-up
Swipe
Onion skin
script/c101108001.lua
View file @
3decea34
...
...
@@ -93,6 +93,9 @@ function c101108001.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToHand
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c101108001
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x9f
,
0x99
)
and
c
:
IsAbleToHand
()
end
function
c101108001
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
...
...
@@ -102,10 +105,8 @@ function c101108001.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
end
end
end
function
c101108001
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x9f
,
0x99
)
and
c
:
IsAbleToHand
()
end
script/c101108008.lua
View file @
3decea34
...
...
@@ -29,7 +29,7 @@ function c101108008.tfilter(c,sc,tp)
end
function
c101108008
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
false
)
and
chkc
:
IsControler
(
tp
)
and
c101108008
.
tfilter
(
chkc
,
c
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c101108008
.
tfilter
(
chkc
,
c
,
tp
)
end
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingTarget
(
c101108008
.
tfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
c
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
script/c101108012.lua
View file @
3decea34
...
...
@@ -15,7 +15,7 @@ function c101108012.initial_effect(c)
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
101108012
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_DRAW
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
@@ -57,11 +57,6 @@ end
function
c101108012
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101108012
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
if
Duel
.
GetMatchingGroupCount
(
Card
.
IsDefensePos
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
>=
3
then
e
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_DRAW
)
else
e
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
end
end
function
c101108012
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
script/c101108013.lua
View file @
3decea34
...
...
@@ -37,8 +37,8 @@ function c101108013.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
-
2
)
tc
:
RegisterEffect
(
e1
)
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
...
...
@@ -48,6 +48,7 @@ function c101108013.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetTarget
(
c101108013
.
splimit
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
,
true
)
end
Duel
.
SpecialSummonComplete
()
end
end
...
...
script/c101108014.lua
View file @
3decea34
...
...
@@ -36,7 +36,7 @@ function c101108014.repval(e,c)
return
c101108014
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
end
function
c101108014
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
end
function
c101108014
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_HAND
+
LOCATION_GRAVE
)
...
...
@@ -50,6 +50,7 @@ function c101108014.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
101108014
,
0
))
then
Duel
.
BreakEffect
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
...
...
script/c101108015.lua
View file @
3decea34
...
...
@@ -76,6 +76,7 @@ function c101108015.lvop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
c101108015
.
atktg
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
script/c101108019.lua
View file @
3decea34
...
...
@@ -32,10 +32,11 @@ function c101108019.ctcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_EXTRA
)
and
r
==
REASON_FUSION
end
function
c101108019
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsCanAddCounter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
0x1041
,
1
)
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCanAddCounter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
0x1041
,
1
)
end
end
function
c101108019
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
Get
MatchingGroupCount
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
ct
=
Duel
.
Get
FieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCanAddCounter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
0x1041
,
1
)
if
ct
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
...
...
script/c101108020.lua
View file @
3decea34
...
...
@@ -46,7 +46,7 @@ function c101108020.pfilter(c)
end
function
c101108020
.
ptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
IsControler
(
tp
)
and
c101108020
.
pfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
IsControler
(
tp
)
and
c
hkc
~=
c
and
c
101108020
.
pfilter
(
chkc
)
end
if
chk
==
0
then
return
c
:
IsAbleToHand
()
and
Duel
.
IsExistingTarget
(
c101108020
.
pfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
c
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
...
...
@@ -76,20 +76,16 @@ function c101108020.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c101108020
.
thfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToHand
()
end
function
c101108020
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_PZONE
)
and
chkc
:
IsControler
(
tp
)
and
c101108020
.
thfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101108020
.
thfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_PZONE
)
and
chkc
:
IsControler
(
tp
)
and
chkc
:
IsAbleToHand
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c101108020
.
thfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_PZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
end
function
c101108020
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
\ No newline at end of file
script/c101108021.lua
View file @
3decea34
...
...
@@ -18,7 +18,7 @@ function c101108021.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
101108021
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_
QUICK
_O
)
e2
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER
_O
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
@@ -43,7 +43,7 @@ function c101108021.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c101108021
.
posfilter
(
c
)
return
c
:
IsSetCard
(
0x1066
)
and
c
:
IsFacedown
()
return
c
:
IsSetCard
(
0x1066
)
and
c
:
IsFacedown
()
and
c
:
IsCanChangePosition
()
end
function
c101108021
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101108021
.
posfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
@@ -79,8 +79,8 @@ end
function
c101108021
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b
=
Duel
.
IsEnvironment
(
75304793
,
tp
,
LOCATION_FZONE
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c101108021
.
spfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
or
b
and
Duel
.
IsExistingMatchingCard
(
c101108021
.
spfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
and
(
Duel
.
IsExistingMatchingCard
(
c101108021
.
spfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
or
b
and
Duel
.
IsExistingMatchingCard
(
c101108021
.
spfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c101108021
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101108023.lua
View file @
3decea34
...
...
@@ -55,7 +55,8 @@ function c101108023.rhcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c101108023
.
rhtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsAbleToHand
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsControlerCanBeChanged
()
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
2
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
script/c101108024.lua
View file @
3decea34
...
...
@@ -17,38 +17,38 @@ function c101108024.initial_effect(c)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
--activate cost
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_ACTIVATE_COST
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
1
)
e2
:
SetCondition
(
c101108024
.
costcon
)
e2
:
SetCost
(
c101108024
.
costchk
)
e2
:
SetOperation
(
c101108024
.
costop
)
c
:
RegisterEffect
(
e2
)
--accumulate
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetCode
(
0x10000000
+
101108024
)
e3
:
SetCode
(
EFFECT_ACTIVATE_COST
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
0
,
1
)
e3
:
SetCondition
(
c101108024
.
costcon
)
e3
:
SetCost
(
c101108024
.
costchk
)
e3
:
SetOperation
(
c101108024
.
costop
)
c
:
RegisterEffect
(
e3
)
--
remov
e
--
accumulat
e
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
101108024
,
1
))
e4
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_DRAW
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e4
:
SetCode
(
0x10000000
+
101108024
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
101108024
+
100
)
e4
:
SetCondition
(
c101108024
.
rmcon
)
e4
:
SetTarget
(
c101108024
.
rmtg
)
e4
:
SetOperation
(
c101108024
.
rmop
)
e4
:
SetTargetRange
(
0
,
1
)
e4
:
SetCondition
(
c101108024
.
costcon
)
c
:
RegisterEffect
(
e4
)
--remove
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
101108024
,
1
))
e5
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_DRAW
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCountLimit
(
1
,
101108024
+
100
)
e5
:
SetCondition
(
c101108024
.
rmcon
)
e5
:
SetTarget
(
c101108024
.
rmtg
)
e5
:
SetOperation
(
c101108024
.
rmop
)
c
:
RegisterEffect
(
e5
)
end
function
c101108024
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x137
)
and
((
c
:
IsLevelAbove
(
7
)
and
c
:
IsType
(
TYPE_MONSTER
))
or
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)))
and
c
:
IsAbleToHand
()
...
...
script/c101108026.lua
View file @
3decea34
...
...
@@ -42,7 +42,7 @@ function c101108026.atkop(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
tc
=
tg
:
GetFirst
()
while
tc
do
c
:
CreateRelation
(
tc
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_
CONTROL
)
c
:
CreateRelation
(
tc
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_
PHASE
+
PHASE_END
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
...
script/c101108028.lua
View file @
3decea34
...
...
@@ -28,7 +28,7 @@ function c101108028.initial_effect(c)
end
function
c101108028
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsPreviousLocation
(
LOCATION_
SZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEDOWN
)
and
c
:
IsReason
(
REASON_DESTROY
)
then
if
c
:
IsPreviousLocation
(
LOCATION_
ONFIELD
)
and
c
:
IsPreviousPosition
(
POS_FACEDOWN
)
and
c
:
IsReason
(
REASON_DESTROY
)
then
c
:
RegisterFlagEffect
(
101108028
,
RESET_EVENT
+
RESETS_STANDARD
,
1
,
0
)
end
end
...
...
script/c101108032.lua
View file @
3decea34
...
...
@@ -6,6 +6,7 @@ function c101108032.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SYNCHRO_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
c101108032
.
synclv
)
c
:
RegisterEffect
(
e1
)
...
...
script/c101108035.lua
View file @
3decea34
...
...
@@ -68,6 +68,7 @@ function c101108035.thfilter(c)
end
function
c101108035
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101108035
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c101108035
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
script/c101108036.lua
View file @
3decea34
...
...
@@ -61,7 +61,8 @@ end
function
c101108036
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c101108036
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101108036
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c101108036
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c101108036
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
script/c101108037.lua
View file @
3decea34
...
...
@@ -37,11 +37,11 @@ function c101108037.thfilter(c)
end
function
c101108037
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101108037
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
1
,
nil
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_EXTRA
)
end
function
c101108037
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101108037
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c101108037
.
thfilter
)
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
script/c101108038.lua
View file @
3decea34
...
...
@@ -50,16 +50,16 @@ function c101108038.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
Duel
.
PayLPCost
(
tp
,
math.floor
(
Duel
.
GetLP
(
tp
)
/
2
))
end
function
c101108038
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
function
c101108038
.
atkfilter
(
c
,
lp
)
return
c
:
IsFaceup
()
and
not
c
:
GetAttack
()
==
lp
end
function
c101108038
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101108038
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101108038
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
Duel
.
GetLP
(
tp
)
)
end
end
function
c101108038
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
lp
=
Duel
.
GetLP
(
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c101108038
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c101108038
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
nil
)
local
tc
=
g
:
GetFirst
()
for
tc
in
aux
.
Next
(
g
)
do
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c101108042.lua
View file @
3decea34
...
...
@@ -85,7 +85,7 @@ function c101108042.pdop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
g
=
Group
.
FromCards
(
c
,
tc
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
==
2
then
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
...
...
script/c101108043.lua
View file @
3decea34
...
...
@@ -70,6 +70,7 @@ function c101108043.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c101108043
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
@@ -78,4 +79,5 @@ function c101108043.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
math.abs
(
Duel
.
GetLP
(
tp
)
-
Duel
.
GetLP
(
1
-
tp
)))
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
end
end
script/c101108044.lua
View file @
3decea34
...
...
@@ -54,7 +54,6 @@ function c101108044.dbop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE_START
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetOperation
(
c101108044
.
sop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
@@ -65,16 +64,16 @@ function c101108044.sop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
101108044
,
2
))
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
local
tc
=
sg
:
GetFirst
()
if
not
tc
:
IsImmuneToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
tc
:
GetAttack
())
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
tc
:
GetAttack
()
*
2
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
end
end
function
c101108044
.
upcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetBattleMonster
(
1
-
tp
)
...
...
@@ -84,20 +83,21 @@ function c101108044.upcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c101108044
.
uptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c101108044
.
uptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
aux
.
nzatk
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
nzatk
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
aux
.
nzatk
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
end
function
c101108044
.
upop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
:
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
not
c
:
IsImmuneToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
(
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
tc
:
GetAttack
())
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_
DISABLE
+
RESET_
PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
script/c101108045.lua
View file @
3decea34
...
...
@@ -64,12 +64,12 @@ function c101108045.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
not
c
:
IsImmuneToEffect
(
e
)
then
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
tc
:
GetBaseAttack
())
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
end
end
...
...
script/c101108046.lua
View file @
3decea34
...
...
@@ -52,6 +52,7 @@ function c101108046.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c101108046
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
1
-
tp
,
LOCATION_ONFIELD
)
end
function
c101108046
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -73,6 +74,7 @@ function c101108046.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
local
g
=
c
:
GetOverlayGroup
()
if
chk
==
0
then
return
g
:
IsExists
(
c101108046
.
toexfilter
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
c101108046
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c101108049.lua
View file @
3decea34
...
...
@@ -65,9 +65,6 @@ function c101108049.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c101108049
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x27b
)
end
function
c101108049
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
...
...
@@ -87,3 +84,6 @@ function c101108049.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c101108049
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x27b
)
end
script/c101108051.lua
View file @
3decea34
...
...
@@ -53,8 +53,8 @@ function c101108051.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmDecktop
(
tp
,
ac
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ac
)
local
og
=
g
:
Filter
(
c101108051
.
spfilter
,
nil
,
e
,
tp
)
if
og
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
101108051
,
3
))
then
local
ft
=
math.min
((
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)),
2
)
if
og
:
GetCount
()
>
0
and
ft
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
101108051
,
3
))
then
if
ft
>
1
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
og
:
Select
(
tp
,
1
,
ft
,
nil
)
...
...
script/c101108053.lua
View file @
3decea34
...
...
@@ -28,7 +28,7 @@ function c101108053.initial_effect(c)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e3
:
SetCountLimit
(
1
,
101108053
)
e3
:
SetCountLimit
(
1
)
e3
:
SetTarget
(
c101108053
.
thtg
)
e3
:
SetOperation
(
c101108053
.
thop
)
c
:
RegisterEffect
(
e3
)
...
...
script/c101108055.lua
View file @
3decea34
...
...
@@ -15,7 +15,8 @@ function c101108055.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c101108055
.
costfilter
(
c
)
return
(
c
:
IsSetCard
(
0x27a
)
or
c
:
IsCode
(
101108054
))
and
((
c
:
IsFaceup
()
and
c
:
GetSequence
()
<
5
)
or
not
c
:
IsLocation
(
LOCATION_SZONE
))
and
not
c
:
IsCode
(
101108055
)
and
c
:
IsAbleToGraveAsCost
()
return
(
c
:
IsSetCard
(
0x27a
)
or
c
:
IsCode
(
101108054
))
and
not
c
:
IsCode
(
101108055
)
and
c
:
IsAbleToGraveAsCost
()
and
((
c
:
IsFaceup
()
and
c
:
GetSequence
()
<
5
)
or
not
c
:
IsLocation
(
LOCATION_SZONE
))
end
function
c101108055
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101108055
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
0
,
1
,
nil
)
end
...
...
script/c101108060.lua
View file @
3decea34
...
...
@@ -44,7 +44,7 @@ function c101108060.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rc
=
Duel
.
SelectMatchingCard
(
tp
,
c101108060
.
rmfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
tc
):
GetFirst
()
if
rc
and
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
and
rc
:
IsLocation
(
LOCATION_REMOVED
)
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
rc
and
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
and
rc
:
IsLocation
(
LOCATION_REMOVED
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
script/c101108062.lua
View file @
3decea34
...
...
@@ -68,8 +68,11 @@ function c101108062.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c101108062
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1066
)
and
c
:
IsSummonPlayer
(
tp
)
end
function
c101108062
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
tp
and
eg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x1066
)
return
eg
:
IsExists
(
c101108062
.
cfilter
,
1
,
nil
,
tp
)
end
function
c101108062
.
thfilter2
(
c
)
return
c
:
IsCode
(
75304793
)
and
c
:
IsAbleToHand
()
...
...
script/c101108064.lua
View file @
3decea34
...
...
@@ -76,6 +76,7 @@ function c101108064.attop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
if
e
:
GetLabel
()
==
1
-
tp
and
tc
:
IsControler
(
1
-
tp
)
and
tc
:
IsControlerCanBeChanged
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
101108064
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
GetControl
(
tc
,
tp
)
end
end
...
...
script/c101108068.lua
View file @
3decea34
...
...
@@ -5,7 +5,6 @@ function c101108068.initial_effect(c)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
101108068
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c101108068
.
condition
)
...
...
@@ -40,7 +39,7 @@ function c101108068.activate(e,tp,eg,ep,ev,re,r,rp)
end
if
cl
>=
3
then
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
Duel
.
GetDecktopGroup
(
tp
,
1
)
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_EFFECT
)
end
if
cl
>=
4
then
Duel
.
BreakEffect
()
...
...
script/c101108071.lua
View file @
3decea34
...
...
@@ -8,6 +8,7 @@ function c101108071.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetCountLimit
(
1
,
101108071
)
e1
:
SetTarget
(
c101108071
.
target
)
e1
:
SetOperation
(
c101108071
.
activate
)
...
...
@@ -20,6 +21,7 @@ function c101108071.initial_effect(c)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e2
:
SetCountLimit
(
1
,
101108071
)
e2
:
SetCondition
(
c101108071
.
eqcon
)
e2
:
SetCost
(
aux
.
bfgcost
)
...
...
script/c101108074.lua
View file @
3decea34
...
...
@@ -44,7 +44,7 @@ function c101108074.adatktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c101108074
.
adatkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
Is
ImmuneToEffect
(
e
)
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
Is
Facedown
(
)
then
return
end
--defense attack
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c101108076.lua
View file @
3decea34
...
...
@@ -16,8 +16,10 @@ function c101108076.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
101108076
,
1
))
e2
:
SetCategory
(
CATEGORY_TODECK
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e2
:
SetCountLimit
(
1
,
101108076
)
e2
:
SetTarget
(
c101108076
.
settg
)
e2
:
SetOperation
(
c101108076
.
setop
)
...
...
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