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
2b4777cc
Commit
2b4777cc
authored
Aug 12, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a3274347
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
13 deletions
+13
-13
script/c16960351.lua
script/c16960351.lua
+1
-1
script/c24218047.lua
script/c24218047.lua
+1
-1
script/c39122311.lua
script/c39122311.lua
+1
-1
script/c43202238.lua
script/c43202238.lua
+1
-1
script/c43912676.lua
script/c43912676.lua
+2
-2
script/c83755611.lua
script/c83755611.lua
+2
-2
script/c86559484.lua
script/c86559484.lua
+2
-2
script/c88724332.lua
script/c88724332.lua
+2
-2
script/constant.lua
script/constant.lua
+1
-1
No files found.
script/c16960351.lua
View file @
2b4777cc
...
...
@@ -23,7 +23,7 @@ function c16960351.rfilter(c,e,tp)
and
Duel
.
IsExistingMatchingCard
(
c16960351
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
lv
)
end
function
c16960351
.
spfilter
(
c
,
e
,
tp
,
lv
)
return
c
:
GetLevel
()
==
lv
and
c
:
IsRace
(
RACE_
PHANTOMDRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetLevel
()
==
lv
and
c
:
IsRace
(
RACE_
WYRM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c16960351
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c16960351
.
rfilter
,
1
,
nil
,
e
,
tp
)
end
...
...
script/c24218047.lua
View file @
2b4777cc
...
...
@@ -15,7 +15,7 @@ function c24218047.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
function
c24218047
.
filter
(
c
,
e
,
tp
)
return
c
:
IsDefenceBelow
(
1500
)
and
c
:
IsRace
(
RACE_
PHANTOMDRAGON
)
return
c
:
IsDefenceBelow
(
1500
)
and
c
:
IsRace
(
RACE_
WYRM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c24218047
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c39122311.lua
View file @
2b4777cc
...
...
@@ -46,7 +46,7 @@ function c39122311.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_RACE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetValue
(
RACE_
PHANTOMDRAGON
)
e1
:
SetValue
(
RACE_
WYRM
)
tc
:
RegisterEffect
(
e1
)
end
end
...
...
script/c43202238.lua
View file @
2b4777cc
...
...
@@ -65,7 +65,7 @@ function c43202238.spcon(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c43202238
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_
PHANTOMDRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_
WYRM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c43202238
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c43912676.lua
View file @
2b4777cc
...
...
@@ -11,7 +11,7 @@ function c43912676.initial_effect(c)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsRace
,
RACE_
PHANTOMDRAGON
))
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsRace
,
RACE_
WYRM
))
e2
:
SetValue
(
300
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
...
...
@@ -31,7 +31,7 @@ function c43912676.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c43912676
.
cfilter
(
c
)
return
c
:
IsRace
(
RACE_
PHANTOMDRAGON
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsRace
(
RACE_
WYRM
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c43912676
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c43912676
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
3
,
nil
)
end
...
...
script/c83755611.lua
View file @
2b4777cc
--輝竜星-ショウフク
function
c83755611
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
Card
.
IsRace
,
RACE_
PHANTOMDRAGON
),
1
)
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
Card
.
IsRace
,
RACE_
WYRM
),
1
)
c
:
EnableReviveLimit
()
--mat check
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -34,7 +34,7 @@ function c83755611.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c83755611
.
matcheck
(
e
,
c
)
local
ct
=
c
:
GetMaterial
():
Filter
(
Card
.
IsRace
,
nil
,
RACE_
PHANTOMDRAGON
):
GetClassCount
(
Card
.
GetOriginalAttribute
)
local
ct
=
c
:
GetMaterial
():
Filter
(
Card
.
IsRace
,
nil
,
RACE_
WYRM
):
GetClassCount
(
Card
.
GetOriginalAttribute
)
e
:
SetLabel
(
ct
)
end
function
c83755611
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c86559484.lua
View file @
2b4777cc
...
...
@@ -29,11 +29,11 @@ function c86559484.cfilter(c,rac)
end
function
c86559484
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c86559484
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
RACE_DRAGON
)
and
Duel
.
IsExistingMatchingCard
(
c86559484
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
RACE_
PHANTOMDRAGON
)
end
and
Duel
.
IsExistingMatchingCard
(
c86559484
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
RACE_
WYRM
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c86559484
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
RACE_DRAGON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c86559484
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
RACE_
PHANTOMDRAGON
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c86559484
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
RACE_
WYRM
)
g1
:
Merge
(
g2
)
Duel
.
Remove
(
g1
,
POS_FACEUP
,
REASON_COST
)
end
...
...
script/c88724332.lua
View file @
2b4777cc
...
...
@@ -20,12 +20,12 @@ function c88724332.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c88724332
.
target
(
e
,
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c
:
IsRace
(
RACE_
PHANTOMDRAGON
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c
:
IsRace
(
RACE_
WYRM
)
and
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
==
SUMMON_TYPE_SPECIAL
and
c
:
IsPreviousLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
end
function
c88724332
.
deftg
(
e
,
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsRace
(
RACE_
PHANTOMDRAGON
)
return
c
:
IsFaceup
()
and
not
c
:
IsRace
(
RACE_
WYRM
)
and
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
==
SUMMON_TYPE_SPECIAL
and
c
:
IsPreviousLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
end
...
...
script/constant.lua
View file @
2b4777cc
...
...
@@ -79,7 +79,7 @@ RACE_REPTILE =0x80000 --
RACE_PSYCHO
=
0x100000
--
RACE_DEVINE
=
0x200000
--
RACE_CREATORGOD
=
0x400000
--
RACE_
PHANTOMDRAGON
=
0x800000
--
RACE_
WYRM
=
0x800000
--
--Reason
REASON_DESTROY
=
0x1
--
REASON_RELEASE
=
0x2
--
...
...
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