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
92564431
Commit
92564431
authored
Dec 30, 2014
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5c0cc3b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
script/c27796375.lua
script/c27796375.lua
+6
-0
script/c39030163.lua
script/c39030163.lua
+6
-0
No files found.
script/c27796375.lua
View file @
92564431
...
@@ -9,6 +9,7 @@ function c27796375.initial_effect(c)
...
@@ -9,6 +9,7 @@ function c27796375.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
27796375
)
e1
:
SetCountLimit
(
1
,
27796375
)
e1
:
SetCondition
(
c27796375
.
thcon
)
e1
:
SetCondition
(
c27796375
.
thcon
)
e1
:
SetCost
(
c27796375
.
cost
)
e1
:
SetTarget
(
c27796375
.
thtg
)
e1
:
SetTarget
(
c27796375
.
thtg
)
e1
:
SetOperation
(
c27796375
.
thop
)
e1
:
SetOperation
(
c27796375
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -20,10 +21,15 @@ function c27796375.initial_effect(c)
...
@@ -20,10 +21,15 @@ function c27796375.initial_effect(c)
e2
:
SetCode
(
EVENT_REMOVE
)
e2
:
SetCode
(
EVENT_REMOVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
27796375
)
e2
:
SetCountLimit
(
1
,
27796375
)
e2
:
SetCost
(
c27796375
.
cost
)
e2
:
SetTarget
(
c27796375
.
tgtg
)
e2
:
SetTarget
(
c27796375
.
tgtg
)
e2
:
SetOperation
(
c27796375
.
tgop
)
e2
:
SetOperation
(
c27796375
.
tgop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c27796375
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
c27796375
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c27796375
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
end
end
...
...
script/c39030163.lua
View file @
92564431
...
@@ -10,6 +10,7 @@ function c39030163.initial_effect(c)
...
@@ -10,6 +10,7 @@ function c39030163.initial_effect(c)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
c39030163
.
mtcost
)
e1
:
SetTarget
(
c39030163
.
mttg
)
e1
:
SetTarget
(
c39030163
.
mttg
)
e1
:
SetOperation
(
c39030163
.
mtop
)
e1
:
SetOperation
(
c39030163
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -29,6 +30,10 @@ end
...
@@ -29,6 +30,10 @@ end
function
c39030163
.
ovfilter
(
c
)
function
c39030163
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x107b
)
and
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsCode
(
39030163
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x107b
)
and
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsCode
(
39030163
)
end
end
function
c39030163
.
mtcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
c39030163
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c39030163
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
g
=
e
:
GetHandler
():
GetEquipGroup
()
local
g
=
e
:
GetHandler
():
GetEquipGroup
()
if
chkc
then
return
g
:
IsContains
(
chkc
)
and
chkc
:
IsCanBeEffectTarget
(
e
)
end
if
chkc
then
return
g
:
IsContains
(
chkc
)
and
chkc
:
IsCanBeEffectTarget
(
e
)
end
...
@@ -51,6 +56,7 @@ end
...
@@ -51,6 +56,7 @@ end
function
c39030163
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c39030163
.
descost
(
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
c39030163
.
desfilter
(
c
)
function
c39030163
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsDestructable
()
return
c
:
IsFaceup
()
and
c
:
IsDestructable
()
...
...
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