Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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-scripts-888
Commits
1a2cfa93
Commit
1a2cfa93
authored
May 26, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix format
parent
061e8e38
Changes
34
Show whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
121 additions
and
122 deletions
+121
-122
c14017402.lua
c14017402.lua
+1
-1
c15605085.lua
c15605085.lua
+1
-1
c20765952.lua
c20765952.lua
+1
-1
c24857466.lua
c24857466.lua
+1
-1
c28348537.lua
c28348537.lua
+1
-1
c29267084.lua
c29267084.lua
+1
-1
c30241314.lua
c30241314.lua
+2
-2
c30907810.lua
c30907810.lua
+1
-1
c31849106.lua
c31849106.lua
+1
-1
c32543380.lua
c32543380.lua
+1
-1
c34479658.lua
c34479658.lua
+1
-1
c36354007.lua
c36354007.lua
+1
-1
c3825890.lua
c3825890.lua
+1
-1
c38296564.lua
c38296564.lua
+1
-1
c38412161.lua
c38412161.lua
+1
-1
c38975369.lua
c38975369.lua
+1
-1
c39512984.lua
c39512984.lua
+1
-1
c4068622.lua
c4068622.lua
+1
-1
c42880485.lua
c42880485.lua
+1
-1
c43237273.lua
c43237273.lua
+1
-1
c5008836.lua
c5008836.lua
+1
-1
c55690251.lua
c55690251.lua
+1
-1
c61231400.lua
c61231400.lua
+1
-1
c64659851.lua
c64659851.lua
+1
-1
c65079854.lua
c65079854.lua
+88
-88
c6614221.lua
c6614221.lua
+1
-1
c75285069.lua
c75285069.lua
+1
-1
c78651105.lua
c78651105.lua
+1
-1
c80344569.lua
c80344569.lua
+1
-1
c82913020.lua
c82913020.lua
+0
-1
c84058253.lua
c84058253.lua
+1
-1
c94463200.lua
c94463200.lua
+1
-1
c95701283.lua
c95701283.lua
+1
-1
c96631852.lua
c96631852.lua
+1
-1
No files found.
c14017402.lua
View file @
1a2cfa93
...
...
@@ -61,7 +61,7 @@ function c14017402.operation(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
1
then
return
end
local
code
=
tc
:
GetCode
()
local
reset_flag
=
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
c
:
CopyEffect
(
code
,
reset_flag
,
1
)
c
:
CopyEffect
(
code
,
reset_flag
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
...
c15605085.lua
View file @
1a2cfa93
...
...
@@ -36,7 +36,7 @@ function c15605085.otop(e,tp,eg,ep,ev,re,r,rp,c)
local
mg
=
Duel
.
GetMatchingGroup
(
c15605085
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c15605085
.
cfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x2
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
...
...
c20765952.lua
View file @
1a2cfa93
...
...
@@ -69,5 +69,5 @@ function c20765952.descon(e,tp,eg,ep,ev,re,r,rp)
return
tc
and
eg
:
IsContains
(
tc
)
end
function
c20765952
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
c24857466.lua
View file @
1a2cfa93
c28348537.lua
View file @
1a2cfa93
...
...
@@ -30,7 +30,7 @@ function c28348537.otop(e,tp,eg,ep,ev,re,r,rp,c)
local
mg
=
Duel
.
GetMatchingGroup
(
c28348537
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c28348537
.
actlimit
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c29267084.lua
View file @
1a2cfa93
...
...
@@ -55,5 +55,5 @@ function c29267084.descon(e,tp,eg,ep,ev,re,r,rp)
return
tc
and
eg
:
IsContains
(
tc
)
end
function
c29267084
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
c30241314.lua
View file @
1a2cfa93
...
...
@@ -28,10 +28,10 @@ function c30241314.activate(e,tp,eg,ep,ev,re,r,rp)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
cg
=
Duel
.
GetMatchingGroup
(
c30241314
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
if
cg
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
30241314
,
0
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
30241314
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
cg
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
c30907810.lua
View file @
1a2cfa93
...
...
@@ -64,7 +64,7 @@ function c30907810.otop(e,tp,eg,ep,ev,re,r,rp,c)
local
mg
=
Duel
.
GetMatchingGroup
(
c30907810
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c30907810
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
re
:
GetHandler
():
IsSetCard
(
0x108
)
and
rp
==
tp
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
...
...
c31849106.lua
View file @
1a2cfa93
...
...
@@ -13,7 +13,7 @@ function c31849106.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e1
:
SetTarget
(
c31849106
.
rmtarget
)
e1
:
SetTargetRange
(
0xff
,
0xff
)
e1
:
SetTargetRange
(
0xff
,
0xff
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
c32543380.lua
View file @
1a2cfa93
...
...
@@ -44,7 +44,7 @@ end
function
c32543380
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c32543380
.
spfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
c32543380
.
atklimit
(
e
,
c
)
return
c
==
e
:
GetHandler
()
...
...
c34479658.lua
View file @
1a2cfa93
...
...
@@ -54,7 +54,7 @@ function c34479658.otop(e,tp,eg,ep,ev,re,r,rp,c)
local
mg
=
Duel
.
GetMatchingGroup
(
c34479658
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c34479658
.
tkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c36354007.lua
View file @
1a2cfa93
...
...
@@ -29,7 +29,7 @@ function c36354007.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c36354007
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
...
...
c3825890.lua
View file @
1a2cfa93
...
...
@@ -40,7 +40,7 @@ function c3825890.otop(e,tp,eg,ep,ev,re,r,rp,c)
local
mg
=
Duel
.
GetMatchingGroup
(
c3825890
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c3825890
.
filter
(
c
)
return
c
:
IsSetCard
(
0x2e
)
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
c38296564.lua
View file @
1a2cfa93
...
...
@@ -96,5 +96,5 @@ function c38296564.descon2(e,tp,eg,ep,ev,re,r,rp)
return
tc
and
eg
:
IsContains
(
tc
)
end
function
c38296564
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
c38412161.lua
View file @
1a2cfa93
c38975369.lua
View file @
1a2cfa93
...
...
@@ -37,6 +37,6 @@ function c38975369.thop(e,tp,eg,ep,ev,re,r,rp)
c
=
Duel
.
GetAttackTarget
()
if
c
~=
nil
and
c
:
IsRelateToBattle
()
then
g
:
AddCard
(
c
)
end
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
end
c39512984.lua
View file @
1a2cfa93
...
...
@@ -58,6 +58,6 @@ function c39512984.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetValue
(
code
)
c
:
RegisterEffect
(
e1
)
c
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
1
)
c
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
1
)
end
end
c4068622.lua
View file @
1a2cfa93
...
...
@@ -69,7 +69,7 @@ function c4068622.operation(e,tp,eg,ep,ev,re,r,rp)
local
code
=
tc
:
GetOriginalCode
()
local
ba
=
tc
:
GetBaseAttack
()
local
reset_flag
=
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
c
:
CopyEffect
(
code
,
reset_flag
,
1
)
c
:
CopyEffect
(
code
,
reset_flag
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
...
c42880485.lua
View file @
1a2cfa93
...
...
@@ -103,5 +103,5 @@ function c42880485.otop(e,tp,eg,ep,ev,re,r,rp,c)
local
mg
=
Duel
.
GetMatchingGroup
(
c42880485
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
c43237273.lua
View file @
1a2cfa93
...
...
@@ -31,7 +31,7 @@ function c43237273.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
code
)
c
:
RegisterEffect
(
e1
)
if
not
tc
:
IsType
(
TYPE_TRAPMONSTER
)
then
cid
=
c
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
1
)
cid
=
c
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
1
)
end
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
43237273
,
1
))
...
...
c5008836.lua
View file @
1a2cfa93
...
...
@@ -46,7 +46,7 @@ function c5008836.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
5
,
5
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c5008836
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
...
...
c55690251.lua
View file @
1a2cfa93
...
...
@@ -45,7 +45,7 @@ function c55690251.otop(e,tp,eg,ep,ev,re,r,rp,c)
local
mg
=
Duel
.
GetMatchingGroup
(
c55690251
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c55690251
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
c61231400.lua
View file @
1a2cfa93
...
...
@@ -23,7 +23,7 @@ end
function
c61231400
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
--damage
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
61231400
,
1
))
...
...
c64659851.lua
View file @
1a2cfa93
c65079854.lua
View file @
1a2cfa93
c6614221.lua
View file @
1a2cfa93
...
...
@@ -50,7 +50,7 @@ function c6614221.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c6614221
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
...
...
c75285069.lua
View file @
1a2cfa93
...
...
@@ -29,7 +29,7 @@ function c75285069.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c75285069
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
...
...
c78651105.lua
View file @
1a2cfa93
...
...
@@ -54,7 +54,7 @@ function c78651105.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c78651105
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
+
SUMMON_VALUE_SELF
...
...
c80344569.lua
View file @
1a2cfa93
...
...
@@ -23,6 +23,6 @@ function c80344569.operation(e,tp,eg,ep,ev,re,r,rp)
c
=
Duel
.
GetAttackTarget
()
if
c
~=
nil
and
c
:
IsRelateToBattle
()
then
g
:
AddCard
(
c
)
end
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
end
c82913020.lua
View file @
1a2cfa93
...
...
@@ -32,7 +32,6 @@ function c82913020.initial_effect(c)
e3
:
SetOperation
(
c82913020
.
mop
)
c
:
RegisterEffect
(
e3
)
end
--Modified from Bluebeard, the Plunder Patroll Shipwright
function
c82913020
.
spfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x53
)
and
not
c
:
IsCode
(
82913020
)
end
...
...
c84058253.lua
View file @
1a2cfa93
...
...
@@ -35,7 +35,7 @@ function c84058253.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c84058253
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
ct
=
e
:
GetHandler
():
GetMaterialCount
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c84058253
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c84058253
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c84058253
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c94463200.lua
View file @
1a2cfa93
...
...
@@ -61,7 +61,7 @@ function c94463200.descon(e,tp,eg,ep,ev,re,r,rp)
return
tc
and
eg
:
IsContains
(
tc
)
and
tc
:
IsReason
(
REASON_DESTROY
)
end
function
c94463200
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
function
c94463200
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
...
...
c95701283.lua
View file @
1a2cfa93
...
...
@@ -23,7 +23,7 @@ end
function
c95701283
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
--to grave
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
95701283
,
1
))
...
...
c96631852.lua
View file @
1a2cfa93
...
...
@@ -51,5 +51,5 @@ function c96631852.descon(e,tp,eg,ep,ev,re,r,rp)
return
tc
and
eg
:
IsContains
(
tc
)
end
function
c96631852
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
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