Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
a609a2b7
Commit
a609a2b7
authored
Dec 17, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
79179a4c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
c14306092.lua
c14306092.lua
+1
-1
c64163367.lua
c64163367.lua
+9
-9
c97151365.lua
c97151365.lua
+1
-1
c99342953.lua
c99342953.lua
+1
-1
No files found.
c14306092.lua
View file @
a609a2b7
...
...
@@ -30,7 +30,7 @@ end
function
c14306092
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
c
:
AddCounter
(
0x2e
+
COUNTER_NEED_ENABLE
,
1
)
c
:
AddCounter
(
COUNTER_NEED_ENABLE
+
0x2e
,
1
)
end
end
function
c14306092
.
atkcon
(
e
)
...
...
c64163367.lua
View file @
a609a2b7
...
...
@@ -12,17 +12,17 @@ function c64163367.initial_effect(c)
e2
:
SetOperation
(
c64163367
.
ctop1
)
c
:
RegisterEffect
(
e2
)
--counter2
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
64163367
,
0
))
e
2
:
SetCategory
(
CATEGORY_COUNTER
)
e
2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e
2
:
SetCode
(
EVENT_LEAVE_FIELD
)
e
2
:
SetCondition
(
c64163367
.
ctcon2
)
e
2
:
SetOperation
(
c64163367
.
ctop2
)
c
:
RegisterEffect
(
e
2
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetDescription
(
aux
.
Stringid
(
64163367
,
0
))
e
3
:
SetCategory
(
CATEGORY_COUNTER
)
e
3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e
3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e
3
:
SetCondition
(
c64163367
.
ctcon2
)
e
3
:
SetOperation
(
c64163367
.
ctop2
)
c
:
RegisterEffect
(
e
3
)
end
function
c64163367
.
ctop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
AddCounter
(
0xe
+
COUNTER_NEED_ENABLE
,
1
)
e
:
GetHandler
():
AddCounter
(
COUNTER_NEED_ENABLE
+
0xe
,
1
)
end
function
c64163367
.
ctcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
e
:
GetHandler
():
GetCounter
(
0xe
)
...
...
c97151365.lua
View file @
a609a2b7
...
...
@@ -27,7 +27,7 @@ function c97151365.initial_effect(c)
end
function
c97151365
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetTurnPlayer
()
~=
tp
or
Duel
.
GetAttackTarget
()
~=
nil
then
e
:
GetHandler
():
AddCounter
(
0x1e
+
COUNTER_NEED_ENABLE
,
1
)
e
:
GetHandler
():
AddCounter
(
COUNTER_NEED_ENABLE
+
0x1e
,
1
)
end
end
function
c97151365
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c99342953.lua
View file @
a609a2b7
...
...
@@ -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
(
0xe
+
COUNTER_NEED_ENABLE
,
1
)
e
:
GetHandler
():
AddCounter
(
COUNTER_NEED_ENABLE
+
0xe
,
1
)
end
function
c99342953
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
1
,
0xe
,
2
,
REASON_COST
)
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