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
b2d107d7
Commit
b2d107d7
authored
Aug 24, 2022
by
mercury233
Committed by
GitHub
Aug 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix エクシーズ・トライバル (#1950)
* fix エクシーズ・トライバル * Update c32086564.lua
parent
37195de2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
16 deletions
+6
-16
c32086564.lua
c32086564.lua
+6
-16
No files found.
c32086564.lua
View file @
b2d107d7
...
@@ -27,24 +27,14 @@ end
...
@@ -27,24 +27,14 @@ end
function
c32086564
.
target
(
e
,
c
)
function
c32086564
.
target
(
e
,
c
)
return
c
:
GetOverlayCount
()
>=
2
return
c
:
GetOverlayCount
()
>=
2
end
end
function
c32086564
.
check
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
GetOverlayCount
()
>=
2
end
function
c32086564
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c32086564
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetAttackTarget
()
~=
nil
local
a
,
d
=
Duel
.
GetBattleMonster
(
tp
)
and
(
c32086564
.
check
(
Duel
.
GetAttacker
(),
tp
)
or
c32086564
.
check
(
Duel
.
GetAttackTarget
(),
tp
))
end
if
chk
==
0
then
return
a
and
d
and
a
:
GetOverlayCount
()
>=
2
end
if
c32086564
.
check
(
Duel
.
GetAttacker
(),
tp
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
d
,
1
,
0
,
0
)
e
:
SetLabelObject
(
Duel
.
GetAttacker
())
Duel
.
SetTargetCard
(
Duel
.
GetAttackTarget
())
else
e
:
SetLabelObject
(
Duel
.
GetAttackTarget
())
Duel
.
SetTargetCard
(
Duel
.
GetAttacker
())
end
end
end
function
c32086564
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c32086564
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
a
,
d
=
Duel
.
GetBattleMonster
(
tp
)
local
ec
=
e
:
GetLabelObject
()
if
a
and
d
and
a
:
IsRelateToBattle
()
and
d
:
IsRelateToBattle
()
and
a
:
GetOverlayCount
()
>=
2
then
if
c32086564
.
check
(
ec
,
tp
)
and
tc
:
IsControler
(
1
-
tp
)
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
d
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
end
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