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
a7a8dfca
Commit
a7a8dfca
authored
Mar 29, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 冥王竜ヴァンダルギオン
parent
8b17365d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
c24857466.lua
c24857466.lua
+14
-6
No files found.
c24857466.lua
View file @
a7a8dfca
...
@@ -72,22 +72,28 @@ function c24857466.spfilter(c,e,tp)
...
@@ -72,22 +72,28 @@ function c24857466.spfilter(c,e,tp)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c24857466
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c24857466
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
if
chk
==
0
then
return
true
end
if
ev
==
TYPE_TRAP
then
if
ev
&
TYPE_TRAP
+
TYPE_MONSTER
~=
0
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsOnField
()
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
elseif
ev
==
TYPE_MONSTER
then
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c24857466
.
spfilter
(
chkc
,
e
,
tp
)
else
else
e
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
return
false
end
end
end
if
chk
==
0
then
return
true
end
local
cat
=
0
local
cat
=
0
local
prop
=
0
if
ev
&
TYPE_SPELL
~=
0
then
if
ev
&
TYPE_SPELL
~=
0
then
cat
=
cat
|
CATEGORY_DAMAGE
cat
=
cat
|
CATEGORY_DAMAGE
prop
=
prop
|
EFFECT_FLAG_PLAYER_TARGET
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetParam
(
1500
)
Duel
.
SetTargetParam
(
1500
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
1500
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
1500
)
end
end
if
ev
&
TYPE_TRAP
~=
0
then
if
ev
&
TYPE_TRAP
~=
0
then
cat
=
cat
|
CATEGORY_DESTROY
cat
=
cat
|
CATEGORY_DESTROY
prop
=
prop
|
EFFECT_FLAG_CARD_TARGET
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
g1
:
GetCount
()
>
0
then
if
g1
:
GetCount
()
>
0
then
...
@@ -96,6 +102,7 @@ function c24857466.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -96,6 +102,7 @@ function c24857466.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
if
ev
&
TYPE_MONSTER
~=
0
then
if
ev
&
TYPE_MONSTER
~=
0
then
cat
=
cat
|
CATEGORY_SPECIAL_SUMMON
cat
=
cat
|
CATEGORY_SPECIAL_SUMMON
prop
=
prop
|
EFFECT_FLAG_CARD_TARGET
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
c24857466
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
c24857466
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g2
:
GetCount
()
>
0
then
if
g2
:
GetCount
()
>
0
then
...
@@ -103,6 +110,7 @@ function c24857466.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -103,6 +110,7 @@ function c24857466.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
end
end
e
:
SetCategory
(
cat
)
e
:
SetCategory
(
cat
)
e
:
SetProperty
(
prop
)
e
:
SetLabel
(
ev
)
e
:
SetLabel
(
ev
)
end
end
function
c24857466
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c24857466
.
operation
(
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