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
e0ecd780
Commit
e0ecd780
authored
Mar 14, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change
parent
f601767d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
c33698022.lua
c33698022.lua
+14
-11
No files found.
c33698022.lua
View file @
e0ecd780
...
@@ -14,25 +14,28 @@ function c33698022.initial_effect(c)
...
@@ -14,25 +14,28 @@ function c33698022.initial_effect(c)
e1
:
SetTarget
(
c33698022
.
thtg
)
e1
:
SetTarget
(
c33698022
.
thtg
)
e1
:
SetOperation
(
c33698022
.
thop
)
e1
:
SetOperation
(
c33698022
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
e1
:
Clone
(
)
e2
:
SetDescription
(
aux
.
Stringid
(
33698022
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
33698022
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCode
(
33698022
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
33698022
)
e2
:
SetCondition
(
c33698022
.
thcon
)
e2
:
SetTarget
(
c33698022
.
thtg
)
e2
:
SetOperation
(
c33698022
.
thop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--event
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
c33698022
.
evcon
)
e3
:
SetOperation
(
c33698022
.
evop
)
c
:
RegisterEffect
(
e3
)
end
end
function
c33698022
.
cfilter
(
c
,
tp
)
function
c33698022
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
and
c
:
IsControler
(
tp
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
and
c
:
IsControler
(
tp
)
end
end
function
c33698022
.
th
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33698022
.
ev
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
c33698022
.
cfilter
,
1
,
nil
,
1
-
tp
)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
c33698022
.
cfilter
,
1
,
nil
,
1
-
tp
)
end
end
function
c33698022
.
evop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
RaiseSingleEvent
(
e
:
GetHandler
(),
33698022
,
re
,
r
,
rp
,
ep
,
ev
)
end
function
c33698022
.
filter
(
c
)
function
c33698022
.
filter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
==
SUMMON_TYPE_SPECIAL
and
c
:
IsAbleToHand
()
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
==
SUMMON_TYPE_SPECIAL
and
c
:
IsAbleToHand
()
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