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
3
Merge Requests
3
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
20136f45
Commit
20136f45
authored
Mar 16, 2021
by
mercury233
Committed by
GitHub
Mar 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove COUNTER_NEED_ENABLE (#1591)
Co-authored-by:
salix5
<
salix5@livemail.tw
>
parent
4f8fd84e
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
c16197610.lua
c16197610.lua
+1
-1
c17810268.lua
c17810268.lua
+1
-1
c20003527.lua
c20003527.lua
+1
-1
c25920413.lua
c25920413.lua
+1
-1
c43318266.lua
c43318266.lua
+1
-1
c4694209.lua
c4694209.lua
+1
-1
c64163367.lua
c64163367.lua
+1
-1
c79703905.lua
c79703905.lua
+1
-1
c99342953.lua
c99342953.lua
+1
-1
constant.lua
constant.lua
+1
-1
No files found.
c16197610.lua
View file @
20136f45
...
...
@@ -42,7 +42,7 @@ end
function
c16197610
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
local
ct
=
Duel
.
GetMatchingGroupCount
(
c16197610
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
e
:
GetHandler
():
AddCounter
(
COUNTER_NEED_ENABLE
+
0x1019
,
ct
)
e
:
GetHandler
():
AddCounter
(
0x1019
,
ct
)
end
end
function
c16197610
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c17810268.lua
View file @
20136f45
...
...
@@ -43,7 +43,7 @@ end
function
c17810268
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
local
ct
=
Duel
.
GetMatchingGroupCount
(
c17810268
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
e
:
GetHandler
():
AddCounter
(
COUNTER_NEED_ENABLE
+
0x1019
,
ct
)
e
:
GetHandler
():
AddCounter
(
0x1019
,
ct
)
end
end
function
c17810268
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c20003527.lua
View file @
20136f45
...
...
@@ -80,7 +80,7 @@ function c20003527.addcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c20003527
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
e
:
GetHandler
():
AddCounter
(
COUNTER_NEED_ENABLE
+
0x1019
,
e
:
GetLabelObject
():
GetLabel
())
e
:
GetHandler
():
AddCounter
(
0x1019
,
e
:
GetLabelObject
():
GetLabel
())
end
end
function
c20003527
.
atkval
(
e
,
c
)
...
...
c25920413.lua
View file @
20136f45
...
...
@@ -64,7 +64,7 @@ end
function
c25920413
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
then
c
:
AddCounter
(
COUNTER_NEED_ENABLE
+
0x100e
,
1
)
c
:
AddCounter
(
0x100e
,
1
)
end
end
function
c25920413
.
adcon
(
e
)
...
...
c43318266.lua
View file @
20136f45
...
...
@@ -43,7 +43,7 @@ end
function
c43318266
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
local
ct
=
Duel
.
GetMatchingGroupCount
(
c43318266
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
e
:
GetHandler
():
AddCounter
(
COUNTER_NEED_ENABLE
+
0x1019
,
ct
)
e
:
GetHandler
():
AddCounter
(
0x1019
,
ct
)
end
end
function
c43318266
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c4694209.lua
View file @
20136f45
...
...
@@ -38,7 +38,7 @@ function c4694209.addct(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c4694209
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
e
:
GetHandler
():
AddCounter
(
0x1021
+
COUNTER_NEED_ENABLE
,
1
)
e
:
GetHandler
():
AddCounter
(
0x1021
,
1
)
end
end
function
c4694209
.
attackup
(
e
,
c
)
...
...
c64163367.lua
View file @
20136f45
...
...
@@ -29,7 +29,7 @@ function c64163367.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c64163367
.
ctop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
AddCounter
(
COUNTER_NEED_ENABLE
+
0x100e
,
1
)
e
:
GetHandler
():
AddCounter
(
0x100e
,
1
)
end
function
c64163367
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
e
:
GetHandler
():
GetCounter
(
0x100e
)
...
...
c79703905.lua
View file @
20136f45
...
...
@@ -42,7 +42,7 @@ end
function
c79703905
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
local
ct
=
Duel
.
GetMatchingGroupCount
(
c79703905
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
e
:
GetHandler
():
AddCounter
(
COUNTER_NEED_ENABLE
+
0x1019
,
ct
)
e
:
GetHandler
():
AddCounter
(
0x1019
,
ct
)
end
end
function
c79703905
.
hdcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c99342953.lua
View file @
20136f45
...
...
@@ -32,7 +32,7 @@ function c99342953.ctcon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c99342953
.
ctfilter
,
1
,
nil
)
end
function
c99342953
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
AddCounter
(
COUNTER_NEED_ENABLE
+
0x100e
,
1
)
e
:
GetHandler
():
AddCounter
(
0x100e
,
1
)
end
function
c99342953
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
1
,
0x100e
,
2
,
REASON_COST
)
end
...
...
constant.lua
View file @
20136f45
...
...
@@ -194,7 +194,7 @@ LINK_MARKER_TOP =0x080 -- ↑
LINK_MARKER_TOP_RIGHT
=
0x100
-- ↗
--Counter --指示物
COUNTER_WITHOUT_PERMIT
=
0x1000
--可以放置在非特定對象的指示物
COUNTER_NEED_ENABLE
=
0x2000
--
在卡片本身放置上述指示物的標記(卡片守衛)
COUNTER_NEED_ENABLE
=
0x2000
--
N/A
--Phase --阶段
PHASE_DRAW
=
0x01
--抽卡阶段
PHASE_STANDBY
=
0x02
--准备阶段
...
...
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