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
30eafc47
Commit
30eafc47
authored
May 25, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9a0710e4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
script/c19025379.lua
script/c19025379.lua
+2
-0
script/c19747827.lua
script/c19747827.lua
+1
-1
script/c30100551.lua
script/c30100551.lua
+2
-1
script/c72621670.lua
script/c72621670.lua
+7
-4
script/c84401683.lua
script/c84401683.lua
+0
-1
No files found.
script/c19025379.lua
View file @
30eafc47
...
@@ -3,6 +3,7 @@ function c19025379.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c19025379.initial_effect(c)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--destroy monster
--destroy monster
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
19025379
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAINING
)
...
@@ -15,6 +16,7 @@ function c19025379.initial_effect(c)
...
@@ -15,6 +16,7 @@ function c19025379.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroy spell & trap
--destroy spell & trap
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetDescription
(
aux
.
Stringid
(
19025379
,
1
))
e2
:
SetTarget
(
c19025379
.
destg2
)
e2
:
SetTarget
(
c19025379
.
destg2
)
e2
:
SetOperation
(
c19025379
.
desop2
)
e2
:
SetOperation
(
c19025379
.
desop2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c19747827.lua
View file @
30eafc47
...
@@ -65,5 +65,5 @@ function c19747827.cfilter(c)
...
@@ -65,5 +65,5 @@ function c19747827.cfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_DRAGON
)
end
end
function
c19747827
.
atkval
(
e
,
c
)
function
c19747827
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
c19747827
.
cfilter
,
e
:
GetHandlerPlayer
()
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
)
*
500
return
Duel
.
GetMatchingGroupCount
(
c19747827
.
cfilter
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
)
*
500
end
end
script/c30100551.lua
View file @
30eafc47
...
@@ -49,7 +49,8 @@ function c30100551.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,7 +49,8 @@ function c30100551.drop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c30100551
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c30100551
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
~=
tp
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_BATTLE
)
or
(
rp
~=
tp
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetPreviousControler
()
==
tp
)
end
end
function
c30100551
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c30100551
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
...
...
script/c72621670.lua
View file @
30eafc47
...
@@ -37,14 +37,17 @@ function c72621670.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,14 +37,17 @@ function c72621670.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c72621670
.
tfilter
,
nil
,
e
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c72621670
.
tfilter
,
nil
,
e
)
if
g
:
GetCount
()
<
2
then
return
end
if
g
:
GetCount
()
<
2
then
return
end
local
ct
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
1
-
tp
,
LOCATION_REASON_CONTROL
)
local
ct
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
1
-
tp
,
LOCATION_REASON_CONTROL
)
local
sg
=
Group
.
CreateGroup
()
local
sg
=
nil
local
dg
=
Group
.
CreateGroup
()
local
dg
=
g
if
ct
==
1
and
g
:
FilterCount
(
c72621670
.
tfilter2
,
nil
,
e
)
>
1
then
if
ct
==
1
and
g
:
FilterCount
(
c72621670
.
tfilter2
,
nil
,
e
)
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
sg
=
g
:
FilterSelect
(
tp
,
c72621670
.
tfilter2
,
1
,
1
,
nil
,
e
)
sg
=
g
:
FilterSelect
(
tp
,
c72621670
.
tfilter2
,
1
,
1
,
nil
,
e
)
dg
=
g
:
Sub
(
sg
)
dg
:
Sub
(
sg
)
else
else
if
ct
>
0
then
sg
=
g
:
Filter
(
c72621670
.
tfilter2
,
nil
,
e
)
sg
=
g
:
Filter
(
c72621670
.
tfilter2
,
nil
,
e
)
dg
:
Clear
()
else
sg
=
Group
.
CreateGroup
()
end
end
local
tc
=
sg
:
GetFirst
()
local
tc
=
sg
:
GetFirst
()
while
tc
do
while
tc
do
...
...
script/c84401683.lua
View file @
30eafc47
...
@@ -36,7 +36,6 @@ end
...
@@ -36,7 +36,6 @@ end
function
c84401683
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c84401683
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
end
function
c84401683
.
filter
(
c
)
function
c84401683
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetAttack
()
>
0
return
c
:
IsFaceup
()
and
c
:
GetAttack
()
>
0
...
...
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