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
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
Vee4
ygopro-scripts-888
Commits
9150b7cb
Commit
9150b7cb
authored
Dec 13, 2022
by
mercury233
Committed by
GitHub
Dec 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
errata エンシェント・フェアリー・ドラゴン (#2005)
parent
7f439ad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
c25862681.lua
c25862681.lua
+9
-8
No files found.
c25862681.lua
View file @
9150b7cb
...
@@ -8,8 +8,8 @@ function c25862681.initial_effect(c)
...
@@ -8,8 +8,8 @@ function c25862681.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
25862681
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
25862681
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
25862681
)
e1
:
SetCondition
(
c25862681
.
sumcon
)
e1
:
SetCondition
(
c25862681
.
sumcon
)
e1
:
SetCost
(
c25862681
.
cost
)
e1
:
SetCost
(
c25862681
.
cost
)
e1
:
SetTarget
(
c25862681
.
sumtg
)
e1
:
SetTarget
(
c25862681
.
sumtg
)
...
@@ -18,10 +18,10 @@ function c25862681.initial_effect(c)
...
@@ -18,10 +18,10 @@ function c25862681.initial_effect(c)
--destroy
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
25862681
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
25862681
,
1
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_RECOVER
+
CATEGORY_SEARCH
)
e2
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_RECOVER
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
,
25862682
)
e2
:
SetCost
(
c25862681
.
cost
)
e2
:
SetCost
(
c25862681
.
cost
)
e2
:
SetTarget
(
c25862681
.
destg
)
e2
:
SetTarget
(
c25862681
.
destg
)
e2
:
SetOperation
(
c25862681
.
desop
)
e2
:
SetOperation
(
c25862681
.
desop
)
...
@@ -63,16 +63,17 @@ function c25862681.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -63,16 +63,17 @@ function c25862681.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
1000
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
1000
)
end
end
function
c25862681
.
ffilter
(
c
)
function
c25862681
.
ffilter
(
c
,
g
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsAbleToHand
()
and
not
g
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
c
:
GetCode
())
end
end
function
c25862681
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c25862681
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_FZONE
,
LOCATION_FZONE
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_FZONE
,
LOCATION_FZONE
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
ct
=
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
if
ct
>
0
then
local
og
=
Duel
.
GetOperatedGroup
()
if
og
:
GetCount
()
>
0
then
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
local
fg
=
Duel
.
GetMatchingGroup
(
c25862681
.
ffilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
fg
=
Duel
.
GetMatchingGroup
(
c25862681
.
ffilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
og
)
if
fg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
25862681
,
2
))
then
if
fg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
25862681
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
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