Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
REIKAI
ygopro
Commits
5249c1de
Commit
5249c1de
authored
May 23, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: disable
parent
1ce942e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
script/c2407234.lua
script/c2407234.lua
+1
-1
script/c48333324.lua
script/c48333324.lua
+5
-2
script/utility.lua
script/utility.lua
+1
-1
No files found.
script/c2407234.lua
View file @
5249c1de
...
...
@@ -23,7 +23,7 @@ function c2407234.initial_effect(c)
end
c2407234
.
xyz_number
=
69
function
c2407234
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsDisabled
()
end
function
c2407234
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c48333324.lua
View file @
5249c1de
...
...
@@ -20,6 +20,9 @@ function c48333324.filter2(c,e,tp,mc,rk,rc,code)
return
c
:
GetRank
()
==
rk
and
c
:
IsRace
(
rc
)
and
c
:
IsSetCard
(
0x1048
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
end
function
c48333324
.
disfilter
(
c
)
return
(
not
c
:
IsDisabled
()
or
c
:
IsType
(
TYPE_TRAPMONSTER
))
and
not
(
c
:
IsType
(
TYPE_NORMAL
)
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_NORMAL
))
end
function
c48333324
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c48333324
.
filter1
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
@@ -47,10 +50,10 @@ function c48333324.activate(e,tp,eg,ep,ev,re,r,rp)
sc
:
CompleteProcedure
()
local
g1
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
sc
)
g1
:
RemoveCard
(
c
)
if
g1
:
Get
First
()
then
if
g1
:
Get
Count
()
>
0
then
Duel
.
BreakEffect
()
end
local
ng
=
g1
:
Filter
(
aux
.
disfilter1
,
nil
)
local
ng
=
g1
:
Filter
(
c48333324
.
disfilter
,
nil
)
local
nc
=
ng
:
GetFirst
()
while
nc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/utility.lua
View file @
5249c1de
...
...
@@ -1106,7 +1106,7 @@ function Auxiliary.PendOperation()
Duel
.
HintSelection
(
Group
.
FromCards
(
rpz
))
end
end
--card effect disable filter
--card effect disable filter
(target)
function
Auxiliary
.
disfilter1
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsDisabled
()
and
(
not
c
:
IsType
(
TYPE_NORMAL
)
or
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_EFFECT
)
~=
0
)
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