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
2cb873b4
Commit
2cb873b4
authored
Apr 02, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release quick effect
parent
53011a0b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
11 deletions
+26
-11
script/c11819616.lua
script/c11819616.lua
+1
-1
script/c14799437.lua
script/c14799437.lua
+5
-2
script/c16940215.lua
script/c16940215.lua
+5
-2
script/c23440231.lua
script/c23440231.lua
+5
-2
script/c47360060.lua
script/c47360060.lua
+5
-2
script/c7478431.lua
script/c7478431.lua
+5
-2
No files found.
script/c11819616.lua
View file @
2cb873b4
...
...
@@ -21,7 +21,7 @@ function c11819616.discon(e,tp,eg,ep,ev,re,r,rp)
return
tg
and
tg
:
IsExists
(
Card
.
IsOnField
,
1
,
nil
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c11819616
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_PLANT
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_PLANT
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c11819616
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c11819616
.
costfilter
,
1
,
nil
)
end
...
...
script/c14799437.lua
View file @
2cb873b4
...
...
@@ -107,9 +107,12 @@ function c14799437.negcon(e,tp,eg,ep,ev,re,r,rp)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c14799437
.
cfilter
(
c
)
return
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c14799437
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasable
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasable
,
1
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c14799437
.
cfilter
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c14799437
.
cfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c14799437
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c16940215.lua
View file @
2cb873b4
...
...
@@ -17,10 +17,13 @@ end
function
c16940215
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c16940215
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x2a
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c16940215
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsReleasable
()
and
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
c
,
0x2a
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
c
,
0x2a
)
if
chk
==
0
then
return
c
:
IsReleasable
()
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
CheckReleaseGroup
(
tp
,
c16940215
.
cfilter
,
1
,
c
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c16940215
.
cfilter
,
1
,
1
,
c
)
g
:
AddCard
(
c
)
Duel
.
Release
(
g
,
REASON_COST
)
end
...
...
script/c23440231.lua
View file @
2cb873b4
...
...
@@ -108,9 +108,12 @@ function c23440231.negcon(e,tp,eg,ep,ev,re,r,rp)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
GetHandler
()
~=
e
:
GetHandler
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c23440231
.
cfilter
(
c
)
return
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c23440231
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsReleasable
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsReleasable
,
1
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c23440231
.
cfilter
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c23440231
.
cfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c23440231
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c47360060.lua
View file @
2cb873b4
...
...
@@ -14,9 +14,12 @@ end
function
c47360060
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsChainNegatable
(
ev
)
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
end
function
c47360060
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x69
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c47360060
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0x69
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0x69
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c47360060
.
cfilter
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c47360060
.
cfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c47360060
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c7478431.lua
View file @
2cb873b4
...
...
@@ -18,10 +18,13 @@ function c7478431.discon(e,tp,eg,ep,ev,re,r,rp)
return
ep
~=
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
~=
LOCATION_DECK
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c7478431
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x2a
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c7478431
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsReleasable
()
and
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
c
,
0x2a
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
c
,
0x2a
)
if
chk
==
0
then
return
c
:
IsReleasable
()
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
CheckReleaseGroup
(
tp
,
c7478431
.
cfilter
,
1
,
c
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c7478431
.
cfilter
,
1
,
1
,
c
)
g
:
AddCard
(
c
)
Duel
.
Release
(
g
,
REASON_COST
)
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