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
4061404f
Commit
4061404f
authored
May 31, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove aux.atrst()
parent
9d647674
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
script/utility.lua
script/utility.lua
+5
-5
No files found.
script/utility.lua
View file @
4061404f
...
...
@@ -165,6 +165,8 @@ end
function
Auxiliary
.
XyzAlterFilter
(
c
,
alterf
,
xyzc
)
return
alterf
(
c
)
and
c
:
IsCanBeXyzMaterial
(
xyzc
)
end
--Xyz monster, lv k*n
--set c.xyz_filter, c.xyz_count
function
Auxiliary
.
AddXyzProcedure
(
c
,
f
,
lv
,
ct
,
alterf
,
desc
,
maxct
,
op
)
if
c
.
xyz_filter
==
nil
then
local
code
=
c
:
GetOriginalCode
()
...
...
@@ -192,6 +194,7 @@ function Auxiliary.AddXyzProcedure(c,f,lv,ct,alterf,desc,maxct,op)
e1
:
SetValue
(
SUMMON_TYPE_XYZ
)
c
:
RegisterEffect
(
e1
)
end
--Xyz Summon(normnal)
function
Auxiliary
.
XyzCondition
(
f
,
lv
,
minc
,
maxc
)
--og: use special material
return
function
(
e
,
c
,
og
)
...
...
@@ -231,6 +234,7 @@ function Auxiliary.XyzOperation(f,lv,minc,maxc)
end
end
end
--Xyz summon(alterf)
function
Auxiliary
.
XyzCondition2
(
f
,
lv
,
minc
,
maxc
,
alterf
,
desc
,
op
)
return
function
(
e
,
c
,
og
)
if
c
==
nil
then
return
true
end
...
...
@@ -1044,6 +1048,7 @@ function Auxiliary.RPEOperation2(filter)
end
end
end
--add procedure to Pendulum monster
function
Auxiliary
.
AddPendulumProcedure
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -1110,11 +1115,6 @@ end
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
--reset op of chain attack
function
Auxiliary
.
atrst
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
e
:
GetLabelObject
()
if
eg
:
GetFirst
()
~=
e1
:
GetHandler
()
then
e1
:
Reset
()
end
end
--condition of EVENT_BATTLE_DESTROYING
function
Auxiliary
.
bdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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