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
445e5f1f
Commit
445e5f1f
authored
Mar 24, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
652b6d75
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
13 deletions
+11
-13
script/c20686759.lua
script/c20686759.lua
+2
-1
script/c21790410.lua
script/c21790410.lua
+1
-2
script/c38450736.lua
script/c38450736.lua
+4
-4
script/c43366227.lua
script/c43366227.lua
+1
-2
script/c50418970.lua
script/c50418970.lua
+1
-1
script/c53610653.lua
script/c53610653.lua
+1
-1
script/c68184115.lua
script/c68184115.lua
+1
-2
No files found.
script/c20686759.lua
View file @
445e5f1f
...
@@ -46,12 +46,13 @@ function c20686759.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,12 +46,13 @@ function c20686759.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c20686759
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c20686759
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
Get
Previous
EquipTarget
()
local
ec
=
c
:
GetEquipTarget
()
return
c
:
IsReason
(
REASON_LOST_TARGET
)
and
ec
and
ec
:
IsReason
(
REASON_DESTROY
)
return
c
:
IsReason
(
REASON_LOST_TARGET
)
and
ec
and
ec
:
IsReason
(
REASON_DESTROY
)
end
end
function
c20686759
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c20686759
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
dam
=
e
:
GetHandler
():
GetPreviousEquipTarget
():
GetBaseAttack
()
local
dam
=
e
:
GetHandler
():
GetPreviousEquipTarget
():
GetBaseAttack
()
if
dam
<
0
then
dam
=
0
end
e
:
SetLabel
(
dam
)
e
:
SetLabel
(
dam
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
dam
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
dam
)
end
end
...
...
script/c21790410.lua
View file @
445e5f1f
...
@@ -59,8 +59,7 @@ function c21790410.eqlimit(e,c)
...
@@ -59,8 +59,7 @@ function c21790410.eqlimit(e,c)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
end
end
function
c21790410
.
cfilter
(
c
,
ec
,
tp
)
function
c21790410
.
cfilter
(
c
,
ec
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
and
c
:
GetEquipTarget
()
==
ec
and
c
:
IsHasCardTarget
(
ec
)
and
c
:
GetPreviousEquipTarget
()
==
ec
end
end
function
c21790410
.
shcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21790410
.
shcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c21790410
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
return
eg
:
IsExists
(
c21790410
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
...
...
script/c38450736.lua
View file @
445e5f1f
...
@@ -26,7 +26,7 @@ function c38450736.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c38450736.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
38450736
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
38450736
,
1
))
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_
TO_GRAVE
)
e3
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e3
:
SetCondition
(
c38450736
.
atkcon
)
e3
:
SetCondition
(
c38450736
.
atkcon
)
e3
:
SetTarget
(
c38450736
.
atktg
)
e3
:
SetTarget
(
c38450736
.
atktg
)
e3
:
SetOperation
(
c38450736
.
atkop
)
e3
:
SetOperation
(
c38450736
.
atkop
)
...
@@ -63,14 +63,14 @@ function c38450736.eqlimit(e,c)
...
@@ -63,14 +63,14 @@ function c38450736.eqlimit(e,c)
end
end
function
c38450736
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c38450736
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
Get
Previous
EquipTarget
()
local
ec
=
c
:
GetEquipTarget
()
e
:
SetLabelObject
(
ec
)
e
:
SetLabelObject
(
ec
)
return
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
not
c
:
IsReason
(
REASON_LOST_TARGET
)
return
ec
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
ec
:
IsFaceup
()
and
ec
:
IsLocation
(
LOCATION_MZONE
)
end
end
function
c38450736
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c38450736
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
ec
=
e
:
GetLabelObject
()
local
ec
=
e
:
GetLabelObject
()
ec
:
CreateEffectRelation
(
e
)
Duel
.
SetTargetCard
(
ec
)
end
end
function
c38450736
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c38450736
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetLabelObject
()
local
ec
=
e
:
GetLabelObject
()
...
...
script/c43366227.lua
View file @
445e5f1f
...
@@ -63,8 +63,7 @@ function c43366227.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,8 +63,7 @@ function c43366227.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c43366227
.
cfilter
(
c
,
ec
,
tp
)
function
c43366227
.
cfilter
(
c
,
ec
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
and
c
:
GetEquipTarget
()
==
ec
and
c
:
IsHasCardTarget
(
ec
)
and
c
:
GetPreviousEquipTarget
()
==
ec
end
end
function
c43366227
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c43366227
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c43366227
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
return
eg
:
IsExists
(
c43366227
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
...
...
script/c50418970.lua
View file @
445e5f1f
...
@@ -71,7 +71,7 @@ end
...
@@ -71,7 +71,7 @@ end
function
c50418970
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50418970
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetPreviousEquipTarget
()
local
ec
=
c
:
GetPreviousEquipTarget
()
return
c
:
IsReason
(
REASON_LOST_TARGET
)
and
ec
:
GetLocation
()
==
LOCATION_HAND
return
c
:
IsReason
(
REASON_LOST_TARGET
)
and
ec
:
IsLocation
(
LOCATION_HAND
)
end
end
function
c50418970
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c50418970
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
script/c53610653.lua
View file @
445e5f1f
...
@@ -22,7 +22,7 @@ function c53610653.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c53610653.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetValue
(
c53610653
.
eqlimit
)
e3
:
SetValue
(
c53610653
.
eqlimit
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--
draw
--
spsummon
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
53610653
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
53610653
,
0
))
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
script/c68184115.lua
View file @
445e5f1f
...
@@ -59,8 +59,7 @@ function c68184115.eqlimit(e,c)
...
@@ -59,8 +59,7 @@ function c68184115.eqlimit(e,c)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
end
end
function
c68184115
.
cfilter
(
c
,
ec
,
tp
)
function
c68184115
.
cfilter
(
c
,
ec
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
and
c
:
GetEquipTarget
()
==
ec
and
c
:
IsHasCardTarget
(
ec
)
and
c
:
GetPreviousEquipTarget
()
==
ec
end
end
function
c68184115
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68184115
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c68184115
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
return
eg
:
IsExists
(
c68184115
.
cfilter
,
1
,
nil
,
e
:
GetHandler
(),
tp
)
...
...
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