Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
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-scripts-888
Commits
3387e2c7
You need to sign in or sign up before continuing.
Commit
3387e2c7
authored
Mar 14, 2019
by
mercury233
Committed by
GitHub
Mar 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add HINTMSG_COUNTER (#1166)
parent
7832ff4d
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
15 additions
and
14 deletions
+15
-14
c15893860.lua
c15893860.lua
+1
-1
c34029630.lua
c34029630.lua
+1
-1
c38606913.lua
c38606913.lua
+1
-1
c63101919.lua
c63101919.lua
+1
-1
c64163367.lua
c64163367.lua
+1
-1
c68319538.lua
c68319538.lua
+1
-1
c73659078.lua
c73659078.lua
+1
-1
c73853830.lua
c73853830.lua
+1
-1
c74974229.lua
c74974229.lua
+1
-1
c75014062.lua
c75014062.lua
+1
-1
c78121572.lua
c78121572.lua
+1
-1
c83604828.lua
c83604828.lua
+1
-1
c91182675.lua
c91182675.lua
+1
-1
c98162021.lua
c98162021.lua
+1
-1
constant.lua
constant.lua
+1
-0
No files found.
c15893860.lua
View file @
3387e2c7
...
@@ -30,7 +30,7 @@ function c15893860.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c15893860.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
for
i
=
1
,
ct
do
for
i
=
1
,
ct
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
15893860
,
1
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
tc
:
AddCounter
(
0x1015
,
1
)
tc
:
AddCounter
(
0x1015
,
1
)
end
end
...
...
c34029630.lua
View file @
3387e2c7
...
@@ -40,7 +40,7 @@ function c34029630.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -40,7 +40,7 @@ function c34029630.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and
Duel
.
IsExistingTarget
(
c34029630
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
and
Duel
.
IsExistingTarget
(
c34029630
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
34029630
,
0
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
34029630
,
0
))
then
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
34029630
,
2
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
Duel
.
SelectTarget
(
tp
,
c34029630
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
c
)
Duel
.
SelectTarget
(
tp
,
c34029630
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
c
)
c
:
RegisterFlagEffect
(
34029630
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
34029630
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
else
...
...
c38606913.lua
View file @
3387e2c7
...
@@ -36,7 +36,7 @@ function c38606913.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,7 +36,7 @@ function c38606913.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
for
i
=
1
,
ct
do
for
i
=
1
,
ct
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
38606913
,
1
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
tc
:
AddCounter
(
0x1038
,
1
)
tc
:
AddCounter
(
0x1038
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c63101919.lua
View file @
3387e2c7
...
@@ -63,7 +63,7 @@ end
...
@@ -63,7 +63,7 @@ end
function
c63101919
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c63101919
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
e
:
GetLabel
()
local
ct
=
e
:
GetLabel
()
for
i
=
1
,
ct
do
for
i
=
1
,
ct
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
63101919
,
3
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCanAddCounter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
0x1
,
1
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCanAddCounter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
0x1
,
1
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
g
:
GetFirst
():
AddCounter
(
0x1
,
1
)
g
:
GetFirst
():
AddCounter
(
0x1
,
1
)
...
...
c64163367.lua
View file @
3387e2c7
...
@@ -45,7 +45,7 @@ function c64163367.ctop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c64163367.ctop2(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
for
i
=
1
,
ct
do
for
i
=
1
,
ct
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
64163367
,
1
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
sg
:
GetFirst
():
AddCounter
(
0x100e
,
1
)
sg
:
GetFirst
():
AddCounter
(
0x100e
,
1
)
end
end
...
...
c68319538.lua
View file @
3387e2c7
...
@@ -45,7 +45,7 @@ function c68319538.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c68319538.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
ct
==
0
or
g
:
GetCount
()
==
0
then
return
end
if
ct
==
0
or
g
:
GetCount
()
==
0
then
return
end
for
i
=
1
,
ct
do
for
i
=
1
,
ct
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
68319538
,
2
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
sg
:
GetFirst
():
AddCounter
(
0x100e
,
1
)
sg
:
GetFirst
():
AddCounter
(
0x100e
,
1
)
end
end
...
...
c73659078.lua
View file @
3387e2c7
...
@@ -42,7 +42,7 @@ function c73659078.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,7 +42,7 @@ function c73659078.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
local
ct
=
cg
:
GetCount
()
local
ct
=
cg
:
GetCount
()
for
i
=
1
,
ct
do
for
i
=
1
,
ct
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
73659078
,
1
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
tc
:
AddCounter
(
0x1015
,
1
)
tc
:
AddCounter
(
0x1015
,
1
)
end
end
...
...
c73853830.lua
View file @
3387e2c7
...
@@ -17,7 +17,7 @@ end
...
@@ -17,7 +17,7 @@ end
function
c73853830
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c73853830
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsCanAddCounter
(
0x1
,
1
)
end
if
chkc
then
return
chkc
:
IsCanAddCounter
(
0x1
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsCanAddCounter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
0x1
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsCanAddCounter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
0x1
,
1
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
73853830
,
1
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsCanAddCounter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
0x1
,
1
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsCanAddCounter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
0x1
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0
)
end
end
...
...
c74974229.lua
View file @
3387e2c7
...
@@ -48,7 +48,7 @@ function c74974229.ctop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c74974229.ctop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
for
i
=
1
,
ct
do
for
i
=
1
,
ct
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
74974229
,
2
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
sg
:
GetFirst
():
AddCounter
(
0x100e
,
1
)
sg
:
GetFirst
():
AddCounter
(
0x100e
,
1
)
end
end
...
...
c75014062.lua
View file @
3387e2c7
...
@@ -17,7 +17,7 @@ end
...
@@ -17,7 +17,7 @@ end
function
c75014062
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c75014062
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c75014062
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
c75014062
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c75014062
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c75014062
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
75014062
,
1
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
Duel
.
SelectTarget
(
tp
,
c75014062
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c75014062
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x1
)
end
end
...
...
c78121572.lua
View file @
3387e2c7
...
@@ -22,7 +22,7 @@ end
...
@@ -22,7 +22,7 @@ end
function
c78121572
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c78121572
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
c78121572
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
c78121572
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c78121572
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c78121572
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
78121572
,
1
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c78121572
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c78121572
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x1
)
end
end
...
...
c83604828.lua
View file @
3387e2c7
...
@@ -29,7 +29,7 @@ function c83604828.ctop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,7 +29,7 @@ function c83604828.ctop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
for
i
=
1
,
lv
do
for
i
=
1
,
lv
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
83604828
,
1
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
tc
:
AddCounter
(
0x1019
,
1
)
tc
:
AddCounter
(
0x1019
,
1
)
end
end
...
...
c91182675.lua
View file @
3387e2c7
...
@@ -51,7 +51,7 @@ function c91182675.cttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -51,7 +51,7 @@ function c91182675.cttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
chkc
~=
c
and
c91182675
.
ctfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
chkc
~=
c
and
c91182675
.
ctfilter
(
chkc
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
and
Duel
.
IsExistingTarget
(
c91182675
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
c
)
end
and
Duel
.
IsExistingTarget
(
c91182675
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
c
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
91182675
,
1
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
Duel
.
SelectTarget
(
tp
,
c91182675
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
c
)
Duel
.
SelectTarget
(
tp
,
c91182675
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
c
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
1
,
0
,
0x1
)
...
...
c98162021.lua
View file @
3387e2c7
...
@@ -48,7 +48,7 @@ function c98162021.addct2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -48,7 +48,7 @@ function c98162021.addct2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsCanAddCounter
(
0x3
,
1
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsCanAddCounter
(
0x3
,
1
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x3
,
1
,
REASON_EFFECT
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x3
,
1
,
REASON_EFFECT
)
and
Duel
.
IsExistingTarget
(
Card
.
IsCanAddCounter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
(),
0x3
,
1
)
end
and
Duel
.
IsExistingTarget
(
Card
.
IsCanAddCounter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
(),
0x3
,
1
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
98162021
,
1
)
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsCanAddCounter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
(),
0x3
,
1
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsCanAddCounter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
(),
0x3
,
1
)
end
end
function
c98162021
.
addc2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98162021
.
addc2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
constant.lua
View file @
3387e2c7
...
@@ -735,6 +735,7 @@ HINTMSG_RESOLVECARD =568 --请选择要处理效果的卡
...
@@ -735,6 +735,7 @@ HINTMSG_RESOLVECARD =568 --请选择要处理效果的卡
HINTMSG_ZONE
=
569
--请选择[%ls]的位置
HINTMSG_ZONE
=
569
--请选择[%ls]的位置
HINTMSG_DISABLEZONE
=
570
--请选择要变成不能使用的卡片区域
HINTMSG_DISABLEZONE
=
570
--请选择要变成不能使用的卡片区域
HINTMSG_TOZONE
=
571
--请选择要移动到的位置
HINTMSG_TOZONE
=
571
--请选择要移动到的位置
HINTMSG_COUNTER
=
572
--请选择要放置指示物的卡
--Select --请选择
--Select --请选择
SELECT_HEADS
=
60
--正面
SELECT_HEADS
=
60
--正面
SELECT_TAILS
=
61
--反面
SELECT_TAILS
=
61
--反面
...
...
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