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
b462f7a7
Commit
b462f7a7
authored
Nov 07, 2021
by
Chrono-Genex
Committed by
GitHub
Nov 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#1731)
parent
4ab73638
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
c27769400.lua
c27769400.lua
+3
-11
No files found.
c27769400.lua
View file @
b462f7a7
...
...
@@ -19,7 +19,6 @@ function c27769400.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCondition
(
c27769400
.
descon
)
e2
:
SetTarget
(
c27769400
.
destg
)
e2
:
SetOperation
(
c27769400
.
desop
)
c
:
RegisterEffect
(
e2
)
if
not
c27769400
.
global_check
then
...
...
@@ -71,21 +70,14 @@ end
function
c27769400
.
desfilter
(
c
,
att
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
att
)
end
function
c27769400
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
)
Duel
.
SetTargetParam
(
rc
)
e
:
GetHandler
():
SetHint
(
CHINT_ATTRIBUTE
,
rc
)
local
g
=
Duel
.
GetMatchingGroup
(
c27769400
.
desfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
rc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c27769400
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
rc
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
)
local
g
=
Duel
.
GetMatchingGroup
(
c27769400
.
desfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
rc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
if
c
:
IsRelateToEffect
(
e
)
then
c
:
SetHint
(
CHINT_ATTRIBUTE
,
rc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
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