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
48beed84
Commit
48beed84
authored
Mar 20, 2015
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9733000b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
10 deletions
+7
-10
script/c18013090.lua
script/c18013090.lua
+1
-1
script/c27762803.lua
script/c27762803.lua
+1
-1
script/c33900648.lua
script/c33900648.lua
+1
-1
script/c38318146.lua
script/c38318146.lua
+1
-1
script/c51481927.lua
script/c51481927.lua
+1
-2
script/c60258960.lua
script/c60258960.lua
+1
-2
script/c69724380.lua
script/c69724380.lua
+1
-2
No files found.
script/c18013090.lua
View file @
48beed84
...
...
@@ -35,7 +35,7 @@ function c18013090.tfilter(c)
end
function
c18013090
.
atop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetTurnPlayer
()
~=
tp
or
ep
~=
tp
then
return
end
if
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
re
:
GetHandler
():
Is
Type
(
TYPE_SPELL
)
then
return
end
if
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
re
:
IsActive
Type
(
TYPE_SPELL
)
then
return
end
e
:
GetHandler
():
RegisterFlagEffect
(
18013090
,
RESET_EVENT
+
0x2fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c18013090
.
atcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c27762803.lua
View file @
48beed84
...
...
@@ -24,7 +24,7 @@ function c27762803.con(e)
return
e
:
GetHandler
():
GetFlagEffect
(
27762803
)
~=
0
end
function
c27762803
.
adop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
Is
Type
(
TYPE_SPELL
)
then
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActive
Type
(
TYPE_SPELL
)
then
if
e
:
GetHandler
():
GetFlagEffect
(
27762803
)
==
0
then
e
:
GetHandler
():
RegisterFlagEffect
(
27762803
,
RESET_EVENT
+
0x1ff0000
,
0
,
0
)
else
...
...
script/c33900648.lua
View file @
48beed84
...
...
@@ -195,7 +195,7 @@ function c33900648.windcon2(e)
return
bit
.
band
(
c33900648
[
1
-
e
:
GetHandlerPlayer
()],
ATTRIBUTE_WIND
)
~=
0
end
function
c33900648
.
actarget
(
e
,
te
,
tp
)
return
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
te
:
GetHandler
():
Is
Type
(
TYPE_SPELL
)
return
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
te
:
IsActive
Type
(
TYPE_SPELL
)
end
function
c33900648
.
costchk
(
e
,
te_or_c
,
tp
)
return
Duel
.
CheckLPCost
(
tp
,
500
)
...
...
script/c38318146.lua
View file @
48beed84
...
...
@@ -32,7 +32,7 @@ function c38318146.acfilter(c)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c38318146
.
actarget
(
e
,
te
,
tp
)
return
te
:
GetHandler
():
Is
Type
(
TYPE_SPELL
)
and
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
te
:
IsActive
Type
(
TYPE_SPELL
)
and
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
function
c38318146
.
accost
(
e
,
te
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c38318146
.
acfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
...
...
script/c51481927.lua
View file @
48beed84
...
...
@@ -16,8 +16,7 @@ function c51481927.initial_effect(c)
end
function
c51481927
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_EFFECT
)
local
c
=
te
:
GetHandler
()
if
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
c
:
IsType
(
TYPE_SPELL
)
and
c
~=
e
:
GetHandler
()
then
if
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
te
:
IsActiveType
(
TYPE_SPELL
)
and
te
:
GetHandler
()
~=
e
:
GetHandler
()
then
Duel
.
Recover
(
e
:
GetHandlerPlayer
(),
500
,
REASON_EFFECT
)
end
end
script/c60258960.lua
View file @
48beed84
...
...
@@ -28,8 +28,7 @@ function c60258960.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c60258960
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
re
:
GetHandler
()
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
c
:
IsType
(
TYPE_SPELL
)
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
then
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
then
e
:
GetHandler
():
AddCounter
(
0x3001
,
1
)
end
end
...
...
script/c69724380.lua
View file @
48beed84
...
...
@@ -12,8 +12,7 @@ function c69724380.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c69724380
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
return
ep
~=
tp
and
rc
:
IsType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
ep
~=
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
function
c69724380
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
1000
)
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