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
2ee5e70c
Commit
2ee5e70c
authored
Nov 13, 2021
by
Trishula9
Committed by
GitHub
Nov 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update RUM-ファントム・フォース (#1741)
parent
9a9e530d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
18 deletions
+27
-18
c88504133.lua
c88504133.lua
+27
-18
No files found.
c88504133.lua
View file @
2ee5e70c
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
function
c88504133
.
initial_effect
(
c
)
function
c88504133
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
88504133
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
@@ -35,7 +36,29 @@ function c88504133.cfilter(c,e,tp)
...
@@ -35,7 +36,29 @@ function c88504133.cfilter(c,e,tp)
and
Duel
.
IsExistingMatchingCard
(
c88504133
.
cefilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
,
ct
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c88504133
.
cefilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
,
ct
,
e
,
tp
)
end
end
function
c88504133
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c88504133
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
e
:
SetLabel
(
1
)
if
chk
==
0
then
return
true
end
end
function
c88504133
.
tgefilter
(
c
,
tc
,
e
,
tp
,
rank
)
if
not
c
:
IsType
(
TYPE_XYZ
)
then
return
false
end
local
r
=
c
:
GetRank
()
-
tc
:
GetRank
()
return
c
:
IsSetCard
(
0xba
,
0x10db
,
0x2073
)
and
tc
:
IsCanBeXyzMaterial
(
c
)
and
r
==
rank
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
tc
,
c
)
>
0
end
function
c88504133
.
tgfilter
(
c
,
e
,
tp
,
rank
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
Duel
.
IsExistingMatchingCard
(
c88504133
.
tgefilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
,
e
,
tp
,
rank
)
end
function
c88504133
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c88504133
.
cfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
if
e
:
GetLabel
()
==
0
then
return
false
end
e
:
SetLabel
(
0
)
return
Duel
.
IsExistingTarget
(
c88504133
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
e
:
SetLabel
(
0
)
local
avail
=
{}
local
avail
=
{}
local
availbool
=
{}
local
availbool
=
{}
local
ct
=
Duel
.
GetMatchingGroupCount
(
c88504133
.
cgfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c88504133
.
cgfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
...
@@ -50,28 +73,14 @@ function c88504133.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,28 +73,14 @@ function c88504133.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
88504133
,
1
))
local
num
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
avail
))
local
num
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
avail
))
e
:
SetLabel
(
num
)
e
:
SetLabel
(
num
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
cost
=
Duel
.
SelectMatchingCard
(
tp
,
c88504133
.
cgfilter
,
tp
,
LOCATION_GRAVE
,
0
,
num
,
num
,
nil
)
local
cost
=
Duel
.
SelectMatchingCard
(
tp
,
c88504133
.
cgfilter
,
tp
,
LOCATION_GRAVE
,
0
,
num
,
num
,
nil
)
Duel
.
Remove
(
cost
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
cost
,
POS_FACEUP
,
REASON_COST
)
end
function
c88504133
.
tgefilter
(
c
,
tc
,
e
,
tp
,
rank
)
if
not
c
:
IsType
(
TYPE_XYZ
)
then
return
false
end
local
r
=
c
:
GetRank
()
-
tc
:
GetRank
()
return
c
:
IsSetCard
(
0xba
,
0x10db
,
0x2073
)
and
tc
:
IsCanBeXyzMaterial
(
c
)
and
r
==
rank
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
tc
,
c
)
>
0
end
function
c88504133
.
tgfilter
(
c
,
e
,
tp
,
rank
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
Duel
.
IsExistingMatchingCard
(
c88504133
.
tgefilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
,
e
,
tp
,
rank
)
end
function
c88504133
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c88504133
.
cfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c88504133
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c88504133
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
,
e
:
GetLabel
()
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c88504133
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
,
num
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
function
c88504133
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c88504133
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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