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
547b3fbd
Commit
547b3fbd
authored
Nov 12, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grab
parent
1affe518
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
6 deletions
+8
-6
ocgcore/processor.cpp
ocgcore/processor.cpp
+1
-1
script/c47766694.lua
script/c47766694.lua
+1
-1
script/c51282878.lua
script/c51282878.lua
+3
-2
script/c67441435.lua
script/c67441435.lua
+1
-1
script/c85138716.lua
script/c85138716.lua
+1
-1
strings.conf
strings.conf
+1
-0
No files found.
ocgcore/processor.cpp
View file @
547b3fbd
...
@@ -3473,7 +3473,7 @@ int32 field::process_battle_command(uint16 step) {
...
@@ -3473,7 +3473,7 @@ int32 field::process_battle_command(uint16 step) {
if
((
*
rm
)
->
current
.
location
!=
LOCATION_MZONE
||
((
*
rm
)
->
fieldid_r
!=
core
.
pre_field
[
0
]
&&
(
*
rm
)
->
fieldid_r
!=
core
.
pre_field
[
1
]))
if
((
*
rm
)
->
current
.
location
!=
LOCATION_MZONE
||
((
*
rm
)
->
fieldid_r
!=
core
.
pre_field
[
0
]
&&
(
*
rm
)
->
fieldid_r
!=
core
.
pre_field
[
1
]))
des
->
container
.
erase
(
rm
);
des
->
container
.
erase
(
rm
);
}
}
add_process
(
PROCESSOR_DESTROY
,
2
,
0
,
des
,
REASON_BATTLE
,
PLAYER_NONE
);
add_process
(
PROCESSOR_DESTROY
,
3
,
0
,
des
,
REASON_BATTLE
,
PLAYER_NONE
);
}
}
return
FALSE
;
return
FALSE
;
}
}
...
...
script/c47766694.lua
View file @
547b3fbd
...
@@ -54,7 +54,7 @@ function c47766694.desfilter(c)
...
@@ -54,7 +54,7 @@ function c47766694.desfilter(c)
end
end
function
c47766694
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c47766694
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c47766694
.
desfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
c47766694
.
desfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c47766694
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c47766694
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c47766694
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
...
...
script/c51282878.lua
View file @
547b3fbd
...
@@ -18,8 +18,9 @@ function c51282878.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -18,8 +18,9 @@ function c51282878.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
51282878
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
51282878
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
end
function
c51282878
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c51282878
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
...
...
script/c67441435.lua
View file @
547b3fbd
...
@@ -14,7 +14,7 @@ c67441435[0]=true
...
@@ -14,7 +14,7 @@ c67441435[0]=true
c67441435
[
1
]
=
true
c67441435
[
1
]
=
true
function
c67441435
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c67441435
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c67441435
[
tp
]
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
if
chk
==
0
then
return
c67441435
[
tp
]
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
...
...
script/c85138716.lua
View file @
547b3fbd
...
@@ -24,7 +24,7 @@ function c85138716.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -24,7 +24,7 @@ function c85138716.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
85138716
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
85138716
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c85138716
.
filter
(
c
,
e
,
tp
)
function
c85138716
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
GetLevel
()
<=
4
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c85138716
.
filter2
(
c
,
g
)
function
c85138716
.
filter2
(
c
,
g
)
return
g
:
IsExists
(
Card
.
IsCode
,
1
,
c
,
c
:
GetCode
())
return
g
:
IsExists
(
Card
.
IsCode
,
1
,
c
,
c
:
GetCode
())
...
...
strings.conf
View file @
547b3fbd
...
@@ -416,3 +416,4 @@
...
@@ -416,3 +416,4 @@
!
counter
0
x29
指示物(气球蜥蜴)
!
counter
0
x29
指示物(气球蜥蜴)
!
counter
0
x2a
指示物(魔法防护器)
!
counter
0
x2a
指示物(魔法防护器)
!
counter
0
x302b
命运指示物
!
counter
0
x302b
命运指示物
!
counter
0
x2c
遵命指示物
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