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
f601767d
You need to sign in or sign up before continuing.
Commit
f601767d
authored
Mar 14, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refine #307
parent
931738bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
16 deletions
+5
-16
c28265983.lua
c28265983.lua
+5
-16
No files found.
c28265983.lua
View file @
f601767d
...
@@ -6,7 +6,6 @@ function c28265983.initial_effect(c)
...
@@ -6,7 +6,6 @@ function c28265983.initial_effect(c)
e0
:
SetDescription
(
aux
.
Stringid
(
28265983
,
0
))
e0
:
SetDescription
(
aux
.
Stringid
(
28265983
,
0
))
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetTarget
(
c28265983
.
target
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
--activate(destroy)
--activate(destroy)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -28,28 +27,18 @@ function c28265983.initial_effect(c)
...
@@ -28,28 +27,18 @@ function c28265983.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
28265983
,
2
))
e3
:
SetDescription
(
aux
.
Stringid
(
28265983
,
2
))
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_
QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_
ACTIVATE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCountLimit
(
1
,
28265984
)
e3
:
SetCountLimit
(
1
,
28265984
)
e3
:
SetCondition
(
c28265983
.
descon2
)
e3
:
SetCondition
(
c28265983
.
descon2
)
e3
:
SetCost
(
c28265983
.
descost2
)
e3
:
SetCost
(
c28265983
.
descost2
)
e3
:
SetTarget
(
c28265983
.
destg2
)
e3
:
SetTarget
(
c28265983
.
destg2
)
e3
:
SetOperation
(
c28265983
.
desop2
)
e3
:
SetOperation
(
c28265983
.
desop2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
local
e4
=
e3
:
Clone
()
function
c28265983
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
if
chk
==
0
then
return
true
end
e4
:
SetRange
(
LOCATION_SZONE
)
local
b
=
c28265983
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
c28265983
.
descost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
and
c28265983
.
destg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
c
:
RegisterEffect
(
e4
)
if
b
and
Duel
.
SelectYesNo
(
tp
,
94
)
then
e
:
SetCategory
(
CATEGORY_DESTROY
)
e
:
SetOperation
(
c28265983
.
desop2
)
c28265983
.
descost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
c28265983
.
destg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
else
e
:
SetCategory
(
0
)
e
:
SetOperation
(
nil
)
end
end
end
function
c28265983
.
descon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28265983
.
descon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
tp
return
ep
==
tp
...
...
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