Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
MyCard
ygopro-scripts
Commits
349e2b3b
Commit
349e2b3b
authored
Nov 07, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a5327542
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
c44790889.lua
c44790889.lua
+1
-1
c98918572.lua
c98918572.lua
+3
-3
No files found.
c44790889.lua
View file @
349e2b3b
...
...
@@ -27,7 +27,7 @@ function c44790889.ntcon(e,c,minc)
end
function
c44790889
.
actcon
(
e
)
return
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
and
Duel
.
GetAttackTarget
()
~=
nil
and
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
and
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
e
:
GetHandlerPlayer
()
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c44790889
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
...
...
c98918572.lua
View file @
349e2b3b
...
...
@@ -26,7 +26,7 @@ function c98918572.initial_effect(c)
e3
:
SetOperation
(
c98918572
.
xyzop
)
c
:
RegisterEffect
(
e3
)
end
function
c98918572
.
rfilter
(
c
,
oc
)
function
c98918572
.
rfilter
(
c
,
oc
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
CheckRemoveOverlayCard
(
tp
,
oc
,
REASON_COST
)
end
...
...
@@ -34,13 +34,13 @@ function c98918572.rcon(e,tp,eg,ep,ev,re,r,rp)
local
rc
=
re
:
GetHandler
()
return
bit
.
band
(
r
,
REASON_COST
)
~=
0
and
re
:
IsActivated
()
and
re
:
IsActiveType
(
TYPE_XYZ
)
and
ep
==
e
:
GetOwnerPlayer
()
and
rc
:
IsSetCard
(
0xf1
)
and
Duel
.
IsExistingMatchingCard
(
c98918572
.
rfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
rc
,
ev
)
and
Duel
.
IsExistingMatchingCard
(
c98918572
.
rfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
rc
,
ev
,
tp
)
end
function
c98918572
.
rop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
min
=
ev
&
0xffff
local
max
=
(
ev
>>
16
)
&
0xffff
local
rc
=
re
:
GetHandler
()
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c98918572
.
rfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
rc
,
min
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c98918572
.
rfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
rc
,
min
,
tp
)
return
tg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
min
,
max
,
REASON_EFFECT
)
end
function
c98918572
.
xyzfilter
(
c
)
...
...
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