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
0
Merge Requests
0
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
Vee4
ygopro-scripts-888
Commits
79b6b2c5
Commit
79b6b2c5
authored
May 01, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update A-Counter add list
parent
4ed340d3
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
16 additions
and
0 deletions
+16
-0
c15475415.lua
c15475415.lua
+1
-0
c2561846.lua
c2561846.lua
+1
-0
c25920413.lua
c25920413.lua
+1
-0
c34541863.lua
c34541863.lua
+1
-0
c39163598.lua
c39163598.lua
+1
-0
c51192573.lua
c51192573.lua
+1
-0
c62437709.lua
c62437709.lua
+1
-0
c63253763.lua
c63253763.lua
+1
-0
c64160836.lua
c64160836.lua
+1
-0
c64163367.lua
c64163367.lua
+1
-0
c68319538.lua
c68319538.lua
+1
-0
c73262676.lua
c73262676.lua
+1
-0
c74974229.lua
c74974229.lua
+1
-0
c91231901.lua
c91231901.lua
+1
-0
c98719226.lua
c98719226.lua
+1
-0
c99342953.lua
c99342953.lua
+1
-0
No files found.
c15475415.lua
View file @
79b6b2c5
...
@@ -21,6 +21,7 @@ function c15475415.initial_effect(c)
...
@@ -21,6 +21,7 @@ function c15475415.initial_effect(c)
e2
:
SetOperation
(
c15475415
.
ctop
)
e2
:
SetOperation
(
c15475415
.
ctop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c15475415
.
counter_add_list
=
{
0x100e
}
function
c15475415
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c15475415
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
tp
and
eg
:
GetFirst
():
IsSetCard
(
0xc
)
return
ep
==
tp
and
eg
:
GetFirst
():
IsSetCard
(
0xc
)
end
end
...
...
c2561846.lua
View file @
79b6b2c5
...
@@ -10,6 +10,7 @@ function c2561846.initial_effect(c)
...
@@ -10,6 +10,7 @@ function c2561846.initial_effect(c)
e1
:
SetOperation
(
c2561846
.
operation
)
e1
:
SetOperation
(
c2561846
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c2561846
.
counter_add_list
=
{
0x100e
}
function
c2561846
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c2561846
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsCanAddCounter
(
0x100e
,
1
)
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsCanAddCounter
(
0x100e
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsCanAddCounter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
0x100e
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsCanAddCounter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
0x100e
,
1
)
end
...
...
c25920413.lua
View file @
79b6b2c5
...
@@ -34,6 +34,7 @@ function c25920413.initial_effect(c)
...
@@ -34,6 +34,7 @@ function c25920413.initial_effect(c)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
c25920413
.
counter_add_list
=
{
0x100e
}
function
c25920413
.
spfilter
(
c
)
function
c25920413
.
spfilter
(
c
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsFaceup
()
and
c
:
IsReleasable
()
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsFaceup
()
and
c
:
IsReleasable
()
end
end
...
...
c34541863.lua
View file @
79b6b2c5
...
@@ -18,6 +18,7 @@ function c34541863.initial_effect(c)
...
@@ -18,6 +18,7 @@ function c34541863.initial_effect(c)
e2
:
SetOperation
(
c34541863
.
operation
)
e2
:
SetOperation
(
c34541863
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c34541863
.
counter_add_list
=
{
0x100e
}
function
c34541863
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c34541863
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
...
...
c39163598.lua
View file @
79b6b2c5
...
@@ -11,6 +11,7 @@ function c39163598.initial_effect(c)
...
@@ -11,6 +11,7 @@ function c39163598.initial_effect(c)
e1
:
SetOperation
(
c39163598
.
activate
)
e1
:
SetOperation
(
c39163598
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c39163598
.
counter_add_list
=
{
0x100e
}
function
c39163598
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c39163598
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0xc
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0xc
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0xc
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0xc
)
...
...
c51192573.lua
View file @
79b6b2c5
...
@@ -35,6 +35,7 @@ function c51192573.initial_effect(c)
...
@@ -35,6 +35,7 @@ function c51192573.initial_effect(c)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
c51192573
.
counter_add_list
=
{
0x100e
}
function
c51192573
.
otfilter
(
c
,
tp
)
function
c51192573
.
otfilter
(
c
,
tp
)
return
c
:
GetOwner
()
==
tp
return
c
:
GetOwner
()
==
tp
end
end
...
...
c62437709.lua
View file @
79b6b2c5
...
@@ -39,6 +39,7 @@ function c62437709.initial_effect(c)
...
@@ -39,6 +39,7 @@ function c62437709.initial_effect(c)
e5
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e5
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
c62437709
.
counter_add_list
=
{
0x100e
}
function
c62437709
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c62437709
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsFaceup
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c63253763.lua
View file @
79b6b2c5
...
@@ -34,6 +34,7 @@ function c63253763.initial_effect(c)
...
@@ -34,6 +34,7 @@ function c63253763.initial_effect(c)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
c63253763
.
counter_add_list
=
{
0x100e
}
function
c63253763
.
spcon
(
e
,
c
)
function
c63253763
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
...
...
c64160836.lua
View file @
79b6b2c5
...
@@ -21,6 +21,7 @@ function c64160836.initial_effect(c)
...
@@ -21,6 +21,7 @@ function c64160836.initial_effect(c)
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c64160836
.
counter_add_list
=
{
0x100e
}
function
c64160836
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64160836
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
while
tc
do
while
tc
do
...
...
c64163367.lua
View file @
79b6b2c5
...
@@ -28,6 +28,7 @@ function c64163367.initial_effect(c)
...
@@ -28,6 +28,7 @@ function c64163367.initial_effect(c)
e3
:
SetLabelObject
(
e0
)
e3
:
SetLabelObject
(
e0
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c64163367
.
counter_add_list
=
{
0x100e
}
function
c64163367
.
ctop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64163367
.
ctop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
AddCounter
(
0x100e
,
1
)
e
:
GetHandler
():
AddCounter
(
0x100e
,
1
)
end
end
...
...
c68319538.lua
View file @
79b6b2c5
...
@@ -28,6 +28,7 @@ function c68319538.initial_effect(c)
...
@@ -28,6 +28,7 @@ function c68319538.initial_effect(c)
e2
:
SetOperation
(
c68319538
.
desop
)
e2
:
SetOperation
(
c68319538
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c68319538
.
counter_add_list
=
{
0x100e
}
function
c68319538
.
filter
(
c
)
function
c68319538
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
end
...
...
c73262676.lua
View file @
79b6b2c5
...
@@ -10,6 +10,7 @@ function c73262676.initial_effect(c)
...
@@ -10,6 +10,7 @@ function c73262676.initial_effect(c)
e1
:
SetOperation
(
c73262676
.
operation
)
e1
:
SetOperation
(
c73262676
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c73262676
.
counter_add_list
=
{
0x100e
}
function
c73262676
.
filter
(
c
)
function
c73262676
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xc
)
and
c
:
GetLevel
()
>
0
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xc
)
and
c
:
GetLevel
()
>
0
end
end
...
...
c74974229.lua
View file @
79b6b2c5
...
@@ -29,6 +29,7 @@ function c74974229.initial_effect(c)
...
@@ -29,6 +29,7 @@ function c74974229.initial_effect(c)
e2
:
SetOperation
(
c74974229
.
spop
)
e2
:
SetOperation
(
c74974229
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c74974229
.
counter_add_list
=
{
0x100e
}
function
c74974229
.
costfilter
(
c
)
function
c74974229
.
costfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsDiscardable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsDiscardable
()
end
end
...
...
c91231901.lua
View file @
79b6b2c5
...
@@ -21,6 +21,7 @@ function c91231901.initial_effect(c)
...
@@ -21,6 +21,7 @@ function c91231901.initial_effect(c)
e2
:
SetOperation
(
c91231901
.
thop
)
e2
:
SetOperation
(
c91231901
.
thop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c91231901
.
counter_add_list
=
{
0x100e
}
function
c91231901
.
filter
(
c
)
function
c91231901
.
filter
(
c
)
return
c
:
GetLevel
()
>
0
and
c
:
IsSetCard
(
0xc
)
and
c
:
IsAbleToGrave
()
return
c
:
GetLevel
()
>
0
and
c
:
IsSetCard
(
0xc
)
and
c
:
IsAbleToGrave
()
end
end
...
...
c98719226.lua
View file @
79b6b2c5
...
@@ -23,6 +23,7 @@ function c98719226.initial_effect(c)
...
@@ -23,6 +23,7 @@ function c98719226.initial_effect(c)
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c98719226
.
counter_add_list
=
{
0x100e
}
function
c98719226
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98719226
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
end
...
...
c99342953.lua
View file @
79b6b2c5
...
@@ -25,6 +25,7 @@ function c99342953.initial_effect(c)
...
@@ -25,6 +25,7 @@ function c99342953.initial_effect(c)
e3
:
SetOperation
(
c99342953
.
spop
)
e3
:
SetOperation
(
c99342953
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c99342953
.
counter_add_list
=
{
0x100e
}
function
c99342953
.
ctfilter
(
c
)
function
c99342953
.
ctfilter
(
c
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousSetCard
(
0xc
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousSetCard
(
0xc
)
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