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
97f13322
Commit
97f13322
authored
Oct 06, 2017
by
Momobako
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push by Appveyor
parent
b924fc9d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
46 deletions
+7
-46
expansions/script/c33700004.lua
expansions/script/c33700004.lua
+2
-15
expansions/script/c33700005.lua
expansions/script/c33700005.lua
+2
-15
expansions/script/c33700006.lua
expansions/script/c33700006.lua
+2
-15
expansions/script/c33700034.lua
expansions/script/c33700034.lua
+1
-1
No files found.
expansions/script/c33700004.lua
View file @
97f13322
...
...
@@ -52,13 +52,6 @@ function c33700004.initial_effect(c)
e5
:
SetCondition
(
c33700004
.
pencon2
)
c
:
RegisterEffect
(
e5
)
--destroy
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e6
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e6
:
SetCondition
(
c33700004
.
condition
)
e6
:
SetOperation
(
c33700004
.
desop
)
c
:
RegisterEffect
(
e6
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -68,7 +61,7 @@ function c33700004.initial_effect(c)
c
:
RegisterEffect
(
e7
)
end
function
c33700004
.
ffilter
(
c
)
return
c
:
IsFusionSetCard
(
0x6440
)
return
c
:
IsFusionSetCard
(
0x6440
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c33700004
.
costfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x6440
)
...
...
@@ -173,11 +166,5 @@ function c33700004.actfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3440
)
end
function
c33700004
.
descon
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
33700004
)
~=
0
and
not
Duel
.
IsExistingMatchingCard
(
c33700004
.
actfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c33700004
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
+
1
end
function
c33700004
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
33700004
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
not
Duel
.
IsExistingMatchingCard
(
c33700004
.
actfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
\ No newline at end of file
expansions/script/c33700005.lua
View file @
97f13322
...
...
@@ -44,13 +44,6 @@ function c33700005.initial_effect(c)
e5
:
SetCondition
(
c33700005
.
pencon2
)
c
:
RegisterEffect
(
e5
)
--destroy
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e6
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e6
:
SetCondition
(
c33700005
.
condition
)
e6
:
SetOperation
(
c33700005
.
operation
)
c
:
RegisterEffect
(
e6
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -60,7 +53,7 @@ function c33700005.initial_effect(c)
c
:
RegisterEffect
(
e7
)
end
function
c33700005
.
ffilter
(
c
)
return
c
:
IsFusionSetCard
(
0x6440
)
return
c
:
IsFusionSetCard
(
0x6440
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c33700005
.
indct
(
e
,
re
,
r
,
rp
)
if
bit
.
band
(
r
,
REASON_BATTLE
+
REASON_EFFECT
)
~=
0
then
...
...
@@ -119,15 +112,9 @@ end
function
c33700005
.
pencon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
end
function
c33700005
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
+
1
end
function
c33700005
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
33700005
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
end
function
c33700005
.
actfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3440
)
end
function
c33700005
.
descon
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
33700005
)
~=
0
and
not
Duel
.
IsExistingMatchingCard
(
c33700005
.
actfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
not
Duel
.
IsExistingMatchingCard
(
c33700005
.
actfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
\ No newline at end of file
expansions/script/c33700006.lua
View file @
97f13322
...
...
@@ -39,13 +39,6 @@ function c33700006.initial_effect(c)
e5
:
SetCondition
(
c33700006
.
pencon2
)
c
:
RegisterEffect
(
e5
)
--destroy
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e6
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e6
:
SetCondition
(
c33700006
.
condition
)
e6
:
SetOperation
(
c33700006
.
operation
)
c
:
RegisterEffect
(
e6
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -60,7 +53,7 @@ function c33700006.initial_effect(c)
c
:
RegisterEffect
(
e8
)
end
function
c33700006
.
ffilter
(
c
)
return
c
:
IsFusionSetCard
(
0x6440
)
return
c
:
IsFusionSetCard
(
0x6440
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c33700006
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetAttacker
()
...
...
@@ -132,11 +125,5 @@ function c33700006.actfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3440
)
end
function
c33700006
.
descon
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
33700006
)
~=
0
and
not
Duel
.
IsExistingMatchingCard
(
c33700006
.
actfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c33700006
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
+
1
end
function
c33700006
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
33700006
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
and
not
Duel
.
IsExistingMatchingCard
(
c33700006
.
actfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
\ No newline at end of file
expansions/script/c33700034.lua
View file @
97f13322
...
...
@@ -23,7 +23,7 @@ function c33700034.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c33700034
.
filter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33700034
.
filter
,
tp
,
LOCATIONPZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33700034
.
filter
,
tp
,
LOCATION
_
PZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
function
c33700034
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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