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
7077d631
Commit
7077d631
authored
Nov 16, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
315f3944
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
9 deletions
+13
-9
script/c17536995.lua
script/c17536995.lua
+1
-1
script/c19870120.lua
script/c19870120.lua
+1
-1
script/c59170782.lua
script/c59170782.lua
+7
-3
script/c6691855.lua
script/c6691855.lua
+3
-3
script/c91133740.lua
script/c91133740.lua
+1
-1
No files found.
script/c17536995.lua
View file @
7077d631
...
...
@@ -11,7 +11,7 @@ function c17536995.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c17536995
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetAttacker
()
~=
tp
return
Duel
.
GetAttacker
()
:
IsControler
(
1
-
tp
)
end
function
c17536995
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x76
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c19870120.lua
View file @
7077d631
...
...
@@ -36,5 +36,5 @@ function c19870120.sumlimit(e,c,sump,sumtype,sumpos,targetp)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
c19870120
.
target
(
e
,
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
~=
0
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
end
script/c59170782.lua
View file @
7077d631
...
...
@@ -15,7 +15,7 @@ function c59170782.initial_effect(c)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
59170782
,
0
))
e2
:
SetType
(
EFFECT_TYPE_
QUICK
_O
)
e2
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER
_O
)
e2
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c59170782
.
tgcon2
)
...
...
@@ -59,8 +59,12 @@ function c59170782.tgop1(e,tp,eg,ep,ev,re,r,rp)
end
function
c59170782
.
tgcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
==
Duel
.
GetTurnPlayer
()
then
return
false
end
local
ag
=
eg
:
GetFirst
():
GetAttackableTarget
()
return
ag
:
IsContains
(
e
:
GetHandler
())
local
at
=
Duel
.
GetAttackTarget
()
if
at
and
at
:
IsFaceup
()
and
at
:
IsSetCard
(
0x74
)
then
local
ag
=
eg
:
GetFirst
():
GetAttackableTarget
()
return
ag
:
IsContains
(
e
:
GetHandler
())
end
return
false
end
function
c59170782
.
tgop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c6691855.lua
View file @
7077d631
...
...
@@ -19,10 +19,10 @@ function c6691855.filter(c)
return
c
:
IsFaceup
()
end
function
c6691855
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
Is
Controler
(
tp
)
and
chkc
:
Is
Location
(
LOCATION_MZONE
)
and
c6691855
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c6691855
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c6691855
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c6691855
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c6691855
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c6691855
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c6691855
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c91133740.lua
View file @
7077d631
...
...
@@ -23,7 +23,7 @@ function c91133740.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c91133740
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
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