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
c3f0247a
Commit
c3f0247a
authored
Apr 26, 2015
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fb894d44
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
15 deletions
+13
-15
script/c29087919.lua
script/c29087919.lua
+3
-6
script/c45627618.lua
script/c45627618.lua
+1
-1
script/c4807253.lua
script/c4807253.lua
+8
-8
script/c7394770.lua
script/c7394770.lua
+1
-0
No files found.
script/c29087919.lua
View file @
c3f0247a
...
@@ -60,13 +60,10 @@ function c29087919.filter2(c,e,tp)
...
@@ -60,13 +60,10 @@ function c29087919.filter2(c,e,tp)
end
end
function
c29087919
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c29087919
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c29087919
.
filter2
,
nil
,
e
,
tp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c29087919
.
filter2
,
nil
,
e
,
tp
)
local
ct
=
g
:
GetCount
()
local
ct
=
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
ct
<
2
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
ct
then
return
end
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
BreakEffect
()
local
xyzg
=
Duel
.
GetMatchingGroup
(
c29087919
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
,
ct
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
c29087919
.
xyzfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
g
,
ct
)
if
xyzg
:
GetCount
()
>
0
then
if
ct
>=
2
and
xyzg
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
xyz
=
xyzg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
xyz
=
xyzg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
XyzSummon
(
tp
,
xyz
,
g
)
Duel
.
XyzSummon
(
tp
,
xyz
,
g
)
...
...
script/c45627618.lua
View file @
c3f0247a
...
@@ -32,7 +32,7 @@ function c45627618.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c45627618.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetProperty
(
EFFECT_FLAG_D
AMAGE_STEP
+
EFFECT_FLAG_D
ELAY
)
e4
:
SetCondition
(
c45627618
.
pencon
)
e4
:
SetCondition
(
c45627618
.
pencon
)
e4
:
SetTarget
(
c45627618
.
pentg
)
e4
:
SetTarget
(
c45627618
.
pentg
)
e4
:
SetOperation
(
c45627618
.
penop
)
e4
:
SetOperation
(
c45627618
.
penop
)
...
...
script/c4807253.lua
View file @
c3f0247a
...
@@ -54,14 +54,14 @@ function c4807253.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,14 +54,14 @@ function c4807253.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
,
true
)
c
:
RegisterEffect
(
e2
,
true
)
end
end
local
e
2
=
Effect
.
CreateEffect
(
c
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetType
(
EFFECT_TYPE_FIELD
)
e
3
:
SetType
(
EFFECT_TYPE_FIELD
)
e
2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e
3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e
2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
2
:
SetTargetRange
(
1
,
0
)
e
3
:
SetTargetRange
(
1
,
0
)
e
2
:
SetTarget
(
c4807253
.
splimit
)
e
3
:
SetTarget
(
c4807253
.
splimit
)
e
2
:
SetReset
(
RESET_PHASE
+
RESET_END
)
e
3
:
SetReset
(
RESET_PHASE
+
RESET_END
)
Duel
.
RegisterEffect
(
e
2
,
tp
)
Duel
.
RegisterEffect
(
e
3
,
tp
)
end
end
function
c4807253
.
damval
(
e
,
re
,
val
,
r
,
rp
,
rc
)
function
c4807253
.
damval
(
e
,
re
,
val
,
r
,
rp
,
rc
)
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
re
==
e
:
GetLabelObject
()
then
return
0
end
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
re
==
e
:
GetLabelObject
()
then
return
0
end
...
...
script/c7394770.lua
View file @
c3f0247a
...
@@ -13,6 +13,7 @@ function c7394770.initial_effect(c)
...
@@ -13,6 +13,7 @@ function c7394770.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EVENT_LEAVE_FIELD
)
e2
:
SetCode
(
EVENT_LEAVE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetOperation
(
c7394770
.
desop
)
e2
:
SetOperation
(
c7394770
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--atk
--atk
...
...
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