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
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
Reinen
ygopro-scripts
Commits
e15e4f50
Commit
e15e4f50
authored
Sep 11, 2017
by
mercury233
Committed by
GitHub
Sep 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
da7a8ffc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
c35371948.lua
c35371948.lua
+21
-0
No files found.
c35371948.lua
View file @
e15e4f50
...
@@ -59,6 +59,8 @@ function c35371948.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,6 +59,8 @@ function c35371948.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFacedown
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFacedown
()
and
tc
:
IsRelateToEffect
(
e
)
then
c
:
SetCardTarget
(
tc
)
c
:
SetCardTarget
(
tc
)
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
c
:
ResetFlagEffect
(
35371948
)
tc
:
ResetFlagEffect
(
35371948
)
local
fid
=
c
:
GetFieldID
()
local
fid
=
c
:
GetFieldID
()
c
:
RegisterFlagEffect
(
35371948
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
,
fid
)
c
:
RegisterFlagEffect
(
35371948
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
,
fid
)
tc
:
RegisterFlagEffect
(
35371948
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
,
fid
)
tc
:
RegisterFlagEffect
(
35371948
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
,
fid
)
...
@@ -94,6 +96,16 @@ function c35371948.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -94,6 +96,16 @@ function c35371948.operation(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCondition
(
c35371948
.
agcon
)
e3
:
SetCondition
(
c35371948
.
agcon
)
e3
:
SetOperation
(
c35371948
.
agop
)
e3
:
SetOperation
(
c35371948
.
agop
)
Duel
.
RegisterEffect
(
e3
,
1
-
tp
)
Duel
.
RegisterEffect
(
e3
,
1
-
tp
)
--activate check
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_DRAW
)
e4
:
SetLabel
(
fid
)
e4
:
SetLabelObject
(
e3
)
e4
:
SetOperation
(
c35371948
.
rstop2
)
Duel
.
RegisterEffect
(
e4
,
tp
)
end
end
end
end
function
c35371948
.
rcon
(
e
)
function
c35371948
.
rcon
(
e
)
...
@@ -130,6 +142,15 @@ function c35371948.agop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -130,6 +142,15 @@ function c35371948.agop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
end
end
function
c35371948
.
rstop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
if
tc
:
GetFlagEffectLabel
(
35371948
)
==
0
then
return
end
local
c
=
e
:
GetHandler
()
c
:
CancelCardTarget
(
tc
)
local
te
=
e
:
GetLabelObject
()
tc
:
ResetFlagEffect
(
35371948
)
te
:
Reset
()
end
function
c35371948
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35371948
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
and
eg
:
GetFirst
():
IsSetCard
(
0xfb
)
return
ep
~=
tp
and
eg
:
GetFirst
():
IsSetCard
(
0xfb
)
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