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
4
Merge Requests
4
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
17291cfa
Commit
17291cfa
authored
Dec 31, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: target effect
parent
bbb3c8a0
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
29 additions
and
19 deletions
+29
-19
c24857466.lua
c24857466.lua
+1
-0
c38844957.lua
c38844957.lua
+1
-0
c58242947.lua
c58242947.lua
+1
-0
c64756282.lua
c64756282.lua
+1
-0
c68779682.lua
c68779682.lua
+1
-0
c70226289.lua
c70226289.lua
+1
-0
c75157704.lua
c75157704.lua
+1
-0
c78394032.lua
c78394032.lua
+1
-1
c79016563.lua
c79016563.lua
+1
-1
c80186010.lua
c80186010.lua
+1
-1
c80908502.lua
c80908502.lua
+1
-1
c82735249.lua
c82735249.lua
+1
-1
c83994646.lua
c83994646.lua
+1
-1
c84430165.lua
c84430165.lua
+1
-1
c84941194.lua
c84941194.lua
+1
-1
c86377375.lua
c86377375.lua
+1
-1
c87340664.lua
c87340664.lua
+1
-1
c87897777.lua
c87897777.lua
+1
-1
c88264978.lua
c88264978.lua
+1
-1
c89907227.lua
c89907227.lua
+1
-1
c92519087.lua
c92519087.lua
+1
-1
c93157004.lua
c93157004.lua
+1
-1
c93581434.lua
c93581434.lua
+1
-0
c93655221.lua
c93655221.lua
+1
-0
c94395649.lua
c94395649.lua
+1
-1
c95095116.lua
c95095116.lua
+1
-0
c95453143.lua
c95453143.lua
+1
-1
c95463814.lua
c95463814.lua
+1
-1
c99788587.lua
c99788587.lua
+1
-1
No files found.
c24857466.lua
View file @
17291cfa
...
...
@@ -71,6 +71,7 @@ end
function
c24857466
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
---dynamic target
function
c24857466
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
if
ev
==
TYPE_TRAP
then
...
...
c38844957.lua
View file @
17291cfa
...
...
@@ -24,6 +24,7 @@ function c38844957.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
1
)
return
true
end
---dynamic target
function
c38844957
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
local
te
=
e
:
GetLabelObject
()
...
...
c58242947.lua
View file @
17291cfa
...
...
@@ -26,6 +26,7 @@ function c58242947.cost(e,tp,eg,ep,ev,re,r,rp,chk)
g
:
AddCard
(
c
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
---dynamic target
function
c58242947
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
te
=
c58242947
[
Duel
.
GetCurrentChain
()]
if
chkc
then
...
...
c64756282.lua
View file @
17291cfa
...
...
@@ -81,6 +81,7 @@ function c64756282.cpcost(e,tp,eg,ep,ev,re,r,rp,chk)
g
:
AddCard
(
c
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
---dynamic target
function
c64756282
.
cptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
te
=
e
:
GetLabelObject
()
...
...
c68779682.lua
View file @
17291cfa
...
...
@@ -15,6 +15,7 @@ function c68779682.condition(e,tp,eg,ep,ev,re,r,rp)
return
rp
==
tp
and
not
rc
:
IsStatus
(
STATUS_ACT_FROM_HAND
)
and
rc
:
GetType
()
==
TYPE_TRAP
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
code1
~=
68779682
and
code2
~=
68779682
end
---dynamic target
function
c68779682
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
local
te
=
e
:
GetLabelObject
()
...
...
c70226289.lua
View file @
17291cfa
...
...
@@ -27,6 +27,7 @@ end
function
c70226289
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x128
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
---dynamic target
function
c70226289
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
,
exc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c70226289
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
exc
,
e
,
tp
)
end
...
...
c75157704.lua
View file @
17291cfa
...
...
@@ -22,6 +22,7 @@ end
function
c75157704
.
filter
(
c
)
return
c
:
IsSetCard
(
0x14f
)
and
not
c
:
IsCode
(
75157704
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
CheckActivateEffect
(
false
,
true
,
false
)
~=
nil
end
---dynamic target
function
c75157704
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
if
e
:
GetLabel
()
==
0
then
return
false
end
...
...
c78394032.lua
View file @
17291cfa
...
...
@@ -15,7 +15,7 @@ end
function
c78394032
.
tkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c78394032
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c78394032
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
78394033
,
0
,
TYPES_TOKEN_MONSTER
,
200
,
200
,
1
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
,
POS_FACEUP_ATTACK
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
...
...
c79016563.lua
View file @
17291cfa
...
...
@@ -19,8 +19,8 @@ function c79016563.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
79016563
,
1
))
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c79016563
.
atkcon
)
...
...
c80186010.lua
View file @
17291cfa
...
...
@@ -19,7 +19,7 @@ end
function
c80186010
.
filter
(
c
)
return
c
:
IsCode
(
10080320
)
and
c
:
IsAbleToHand
()
end
function
c80186010
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c80186010
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c80186010
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
...
...
c80908502.lua
View file @
17291cfa
...
...
@@ -27,7 +27,7 @@ end
function
c80908502
.
filter
(
c
)
return
c
:
IsCode
(
63035430
)
and
c
:
IsAbleToHand
()
end
function
c80908502
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c80908502
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c80908502
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
...
...
c82735249.lua
View file @
17291cfa
...
...
@@ -55,7 +55,7 @@ end
function
c82735249
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x1066
)
and
c
:
IsAbleToHand
()
end
function
c82735249
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c82735249
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c82735249
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
...
...
c83994646.lua
View file @
17291cfa
...
...
@@ -12,7 +12,7 @@ end
function
c83994646
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevel
(
4
)
end
function
c83994646
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c83994646
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
g
=
Duel
.
GetMatchingGroup
(
c83994646
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
...
...
c84430165.lua
View file @
17291cfa
...
...
@@ -19,7 +19,7 @@ end
function
c84430165
.
afilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x12b
)
and
c
:
IsType
(
TYPE_LINK
)
end
function
c84430165
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c84430165
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c84430165
.
afilter
,
1
,
nil
,
tp
)
end
end
function
c84430165
.
cfilter
(
c
)
...
...
c84941194.lua
View file @
17291cfa
...
...
@@ -58,7 +58,7 @@ end
function
c84941194
.
filter
(
c
)
return
c
:
IsCode
(
16528181
)
and
c
:
IsAbleToHand
()
end
function
c84941194
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c84941194
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c84941194
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
...
...
c86377375.lua
View file @
17291cfa
...
...
@@ -30,7 +30,7 @@ end
function
c86377375
.
thfilter1
(
c
)
return
c
:
IsCode
(
59160188
)
and
c
:
IsAbleToHand
()
end
function
c86377375
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c86377375
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c86377375
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
...
...
c87340664.lua
View file @
17291cfa
...
...
@@ -16,7 +16,7 @@ function c87340664.condition(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabel
(
e
:
GetHandler
():
GetReasonPlayer
())
return
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEUP
)
end
function
c87340664
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c87340664
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
e
:
GetLabel
())
Duel
.
SetTargetParam
(
1000
)
...
...
c87897777.lua
View file @
17291cfa
...
...
@@ -84,7 +84,7 @@ function c87897777.spfilter(c,e,tp)
local
zone
=
1
<<
c
:
GetSequence
()
return
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
tp
,
zone
)
end
function
c87897777
.
mvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c87897777
.
mvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c87897777
.
spfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DICE
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_SZONE
)
...
...
c88264978.lua
View file @
17291cfa
...
...
@@ -40,7 +40,7 @@ end
function
c88264978
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsCode
(
88264978
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c88264978
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c88264978
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c88264978
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
)
...
...
c89907227.lua
View file @
17291cfa
...
...
@@ -42,7 +42,7 @@ c89907227.material_type=TYPE_SYNCHRO
function
c89907227
.
tkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
function
c89907227
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c89907227
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
89907228
,
0
,
TYPES_TOKEN_MONSTER
,
3300
,
3000
,
10
,
RACE_FISH
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
...
...
c92519087.lua
View file @
17291cfa
...
...
@@ -43,7 +43,7 @@ function c92519087.rtcon(e,tp,eg,ep,ev,re,r,rp)
local
at
=
Duel
.
GetAttacker
()
return
at
and
at
:
IsControler
(
tp
)
end
function
c92519087
.
rttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c92519087
.
rttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c92519087
.
tgfilter
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
PLAYER_ALL
,
LOCATION_REMOVED
)
end
...
...
c93157004.lua
View file @
17291cfa
...
...
@@ -63,7 +63,7 @@ end
function
c93157004
.
eqfilter
(
c
)
return
c
:
IsSetCard
(
0x30
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
function
c93157004
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c93157004
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c93157004
.
eqfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
...
...
c93581434.lua
View file @
17291cfa
...
...
@@ -5,6 +5,7 @@ function c93581434.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
93581434
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
93581434
)
e1
:
SetCondition
(
c93581434
.
spcon
)
...
...
c93655221.lua
View file @
17291cfa
...
...
@@ -5,6 +5,7 @@ function c93655221.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCondition
(
c93655221
.
condition
)
e1
:
SetCost
(
c93655221
.
cost
)
e1
:
SetTarget
(
c93655221
.
target
)
...
...
c94395649.lua
View file @
17291cfa
...
...
@@ -50,7 +50,7 @@ end
function
c94395649
.
filter
(
c
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_BEAST
+
RACE_BEASTWARRIOR
+
RACE_WINDBEAST
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c94395649
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c94395649
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c94395649
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c94395649
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
...
...
c95095116.lua
View file @
17291cfa
...
...
@@ -23,6 +23,7 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
...
...
c95453143.lua
View file @
17291cfa
...
...
@@ -26,7 +26,7 @@ end
function
c95453143
.
filter
(
c
)
return
c
:
IsLevelBelow
(
6
)
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c95453143
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c95453143
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c95453143
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c95453143
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
...
...
c95463814.lua
View file @
17291cfa
...
...
@@ -8,7 +8,7 @@ function c95463814.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
95463814
,
0
))
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
95463814
)
e1
:
SetTarget
(
c95463814
.
target
)
...
...
c99788587.lua
View file @
17291cfa
...
...
@@ -14,7 +14,7 @@ end
function
c99788587
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsAllColumn
()
end
function
c99788587
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c99788587
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
g
=
e
:
GetHandler
():
GetColumnGroup
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
...
...
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