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
89e7a856
Commit
89e7a856
authored
Aug 11, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8dd871b3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
script/c29726552.lua
script/c29726552.lua
+3
-4
script/c56111151.lua
script/c56111151.lua
+4
-4
script/c67050396.lua
script/c67050396.lua
+1
-1
script/c93332803.lua
script/c93332803.lua
+1
-1
No files found.
script/c29726552.lua
View file @
89e7a856
...
...
@@ -54,15 +54,15 @@ function c29726552.spcon2(e,c)
and
Duel
.
IsExistingMatchingCard
(
c29726552
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c29726552
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
1
-
tp
)
return
c
:
IsFaceup
()
and
c
:
GetSummonPlayer
()
==
tp
end
function
c29726552
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
1
,
0x37
,
2
,
REASON_COST
)
end
Duel
.
RemoveCounter
(
tp
,
1
,
1
,
0x37
,
2
,
REASON_COST
)
end
function
c29726552
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c29726552
.
filter
,
1
,
nil
,
tp
)
end
local
g
=
eg
:
Filter
(
c29726552
.
filter
,
nil
,
tp
)
if
chk
==
0
then
return
eg
:
IsExists
(
c29726552
.
filter
,
1
,
nil
,
1
-
tp
)
end
local
g
=
eg
:
Filter
(
c29726552
.
filter
,
nil
,
1
-
tp
)
Duel
.
SetTargetCard
(
g
)
end
function
c29726552
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -83,7 +83,6 @@ function c29726552.operation(e,tp,eg,ep,ev,re,r,rp)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e3
:
SetValue
(
RESET_TURN_SET
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
2
)
tc
:
RegisterEffect
(
e3
)
tc
=
g
:
GetNext
()
...
...
script/c56111151.lua
View file @
89e7a856
...
...
@@ -33,13 +33,13 @@ function c56111151.initial_effect(c)
e4
:
SetOperation
(
c56111151
.
desrepop
)
c
:
RegisterEffect
(
e4
)
end
function
c56111151
.
cfilter
(
c
,
tp
)
function
c56111151
.
cfilter
(
c
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c56111151
.
counter
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
eg
:
FilterCount
(
c56111151
.
cfilter
,
nil
,
tp
)
local
ct
=
eg
:
FilterCount
(
c56111151
.
cfilter
,
nil
)
if
ct
>
0
then
e
:
GetHandler
():
AddCounter
(
0x37
,
1
)
e
:
GetHandler
():
AddCounter
(
0x37
,
ct
)
end
end
function
c56111151
.
thfilter
(
c
)
...
...
@@ -63,7 +63,7 @@ function c56111151.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
c56111151
.
desreptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsReason
(
REASON_RULE
)
and
e
:
GetHandler
():
GetCounter
(
0x37
)
>
0
end
and
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x37
,
1
,
REASON_EFFECT
)
end
return
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
56111151
,
0
))
end
function
c56111151
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c67050396.lua
View file @
89e7a856
...
...
@@ -49,7 +49,7 @@ function c67050396.poscost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
PayLPCost
(
tp
,
500
)
end
function
c67050396
.
posfilter
(
c
)
return
c
:
Is
Position
(
POS_FACEUP
)
and
c
:
IsCanTurnSet
()
return
c
:
Is
Faceup
(
)
and
c
:
IsCanTurnSet
()
end
function
c67050396
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c67050396
.
posfilter
(
chkc
)
end
...
...
script/c93332803.lua
View file @
89e7a856
...
...
@@ -56,7 +56,7 @@ function c93332803.descost(e,tp,eg,ep,ev,re,r,rp,chk)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_OATH
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
_ANNOUNCE
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
RESET_END
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
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