Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
4199bf67
Commit
4199bf67
authored
Jan 14, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chain attack
parent
f1b610f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
script/c21435914.lua
script/c21435914.lua
+1
-5
script/c72989439.lua
script/c72989439.lua
+1
-5
script/utility.lua
script/utility.lua
+4
-0
No files found.
script/c21435914.lua
View file @
4199bf67
...
...
@@ -53,14 +53,10 @@ function c21435914.atop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e3
:
SetLabelObject
(
e1
)
e3
:
SetOperation
(
c21435914
.
rst
)
e3
:
SetOperation
(
aux
.
at
rst
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_BATTLE
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
function
c21435914
.
rst
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
e
:
GetLabelObject
()
if
eg
:
GetFirst
()
~=
e1
:
GetHandler
()
then
e1
:
Reset
()
end
end
function
c21435914
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
...
...
script/c72989439.lua
View file @
4199bf67
...
...
@@ -92,11 +92,7 @@ function c72989439.atop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetOperation
(
c72989439
.
rst
)
e2
:
SetOperation
(
aux
.
at
rst
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_BATTLE
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
c72989439
.
rst
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
e
:
GetLabelObject
()
if
eg
:
GetFirst
()
~=
e1
:
GetHandler
()
then
e1
:
Reset
()
end
end
script/utility.lua
View file @
4199bf67
...
...
@@ -947,3 +947,7 @@ function Auxiliary.disfilter1(c)
return
(
c
:
IsFaceup
()
and
not
c
:
IsDisabled
()
and
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
+
TYPE_EFFECT
)
or
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_EFFECT
)
>
0
))
or
c
:
IsType
(
TYPE_TRAPMONSTER
)
end
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
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