Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Soulgamer
ygopro-222DIY-cards
Commits
35543c18
Commit
35543c18
authored
Apr 28, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fbk
parent
7a8ad5f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
102 additions
and
102 deletions
+102
-102
expansions/script/c50008005.lua
expansions/script/c50008005.lua
+102
-102
No files found.
expansions/script/c50008005.lua
View file @
35543c18
...
...
@@ -79,21 +79,21 @@ function cm.indval(e,c)
end
--
function
cm
.
aclimit1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
ep
==
1
-
tp
or
not
re
:
IsActiveType
(
TYPE_SPELL
)
or
re
:
IsActiveType
(
TYPE_EQUIP
)
then
return
end
if
ep
==
1
-
tp
or
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
re
:
IsActiveType
(
TYPE_SPELL
)
or
re
:
IsActiveType
(
TYPE_EQUIP
)
then
return
end
e
:
GetHandler
():
RegisterFlagEffect
(
m
,
RESET_EVENT
+
0x3ff0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
cm
.
econ1
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
~=
0
end
function
cm
.
aclimit3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
ep
==
tp
or
not
re
:
IsActiveType
(
TYPE_SPELL
)
or
re
:
IsActiveType
(
TYPE_EQUIP
)
then
return
end
e
:
GetHandler
():
RegisterFlagEffect
(
m
,
RESET_EVENT
+
0x3ff0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
ep
==
tp
or
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
re
:
IsActiveType
(
TYPE_SPELL
)
or
re
:
IsActiveType
(
TYPE_EQUIP
)
then
return
end
e
:
GetHandler
():
RegisterFlagEffect
(
m
..
1
,
RESET_EVENT
+
0x3ff0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
cm
.
econ2
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
~=
0
return
e
:
GetHandler
():
GetFlagEffect
(
m
..
1
)
~=
0
end
function
cm
.
elimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_SPELL
)
and
not
re
:
IsActiveType
(
TYPE_EQUIP
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
not
re
:
IsActiveType
(
TYPE_EQUIP
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
--
function
cm
.
costfilter
(
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