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
b8bd4810
Commit
b8bd4810
authored
Feb 16, 2016
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8495aec3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
16 deletions
+18
-16
c26268488.lua
c26268488.lua
+5
-4
c51777272.lua
c51777272.lua
+4
-4
c79777187.lua
c79777187.lua
+5
-4
c97165977.lua
c97165977.lua
+4
-4
No files found.
c26268488.lua
View file @
b8bd4810
...
...
@@ -45,12 +45,13 @@ function c26268488.initial_effect(c)
e4
:
SetOperation
(
c26268488
.
spop
)
c
:
RegisterEffect
(
e4
)
end
function
c26268488
.
repfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsOnField
()
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
GetFlagEffect
(
26268488
)
==
0
function
c26268488
.
repfilter
(
c
,
e
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsOnField
()
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
GetFlagEffect
(
26268488
)
==
0
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c26268488
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c26268488
.
repfilter
,
1
,
nil
,
tp
)
end
local
g
=
eg
:
Filter
(
c26268488
.
repfilter
,
nil
,
tp
)
if
chk
==
0
then
return
eg
:
IsExists
(
c26268488
.
repfilter
,
1
,
nil
,
e
,
tp
)
end
local
g
=
eg
:
Filter
(
c26268488
.
repfilter
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
while
tc
do
tc
:
RegisterFlagEffect
(
26268488
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
26268488
,
2
))
...
...
c51777272.lua
View file @
b8bd4810
...
...
@@ -58,13 +58,13 @@ function c51777272.operation(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e2
)
end
end
function
c51777272
.
repfilter
(
c
,
tp
)
function
c51777272
.
repfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
1
-
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetFlagEffect
(
51777272
)
==
0
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetFlagEffect
(
51777272
)
==
0
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c51777272
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c51777272
.
repfilter
,
1
,
nil
,
tp
)
end
local
g
=
eg
:
Filter
(
c51777272
.
repfilter
,
nil
,
tp
)
if
chk
==
0
then
return
eg
:
IsExists
(
c51777272
.
repfilter
,
1
,
nil
,
e
,
tp
)
end
local
g
=
eg
:
Filter
(
c51777272
.
repfilter
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
while
tc
do
tc
:
RegisterFlagEffect
(
51777272
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
c79777187.lua
View file @
b8bd4810
...
...
@@ -29,13 +29,14 @@ end
function
c79777187
.
target
(
e
,
c
)
return
c
:
IsSetCard
(
0xc6
)
or
c
:
IsSetCard
(
0x9f
)
end
function
c79777187
.
repfilter
(
c
,
tp
)
function
c79777187
.
repfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
(
c
:
IsSetCard
(
0xc6
)
or
c
:
IsSetCard
(
0x9f
))
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
GetFlagEffect
(
79777187
)
==
0
and
(
c
:
IsSetCard
(
0xc6
)
or
c
:
IsSetCard
(
0x9f
))
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
GetFlagEffect
(
79777187
)
==
0
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c79777187
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c79777187
.
repfilter
,
1
,
nil
,
tp
)
end
local
g
=
eg
:
Filter
(
c79777187
.
repfilter
,
nil
,
tp
)
if
chk
==
0
then
return
eg
:
IsExists
(
c79777187
.
repfilter
,
1
,
nil
,
e
,
tp
)
end
local
g
=
eg
:
Filter
(
c79777187
.
repfilter
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
while
tc
do
tc
:
RegisterFlagEffect
(
79777187
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
79777187
,
0
))
...
...
c97165977.lua
View file @
b8bd4810
...
...
@@ -67,13 +67,13 @@ function c97165977.operation(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e2
)
end
end
function
c97165977
.
repfilter
(
c
,
tp
)
function
c97165977
.
repfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
1
-
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetFlagEffect
(
97165977
)
==
0
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetFlagEffect
(
97165977
)
==
0
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c97165977
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c97165977
.
repfilter
,
1
,
nil
,
tp
)
end
local
g
=
eg
:
Filter
(
c97165977
.
repfilter
,
nil
,
tp
)
if
chk
==
0
then
return
eg
:
IsExists
(
c97165977
.
repfilter
,
1
,
nil
,
e
,
tp
)
end
local
g
=
eg
:
Filter
(
c97165977
.
repfilter
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
while
tc
do
tc
:
RegisterFlagEffect
(
97165977
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
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