Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
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
GuGu
ygopro-THC-cards
Commits
620fd3fe
Commit
620fd3fe
authored
Mar 25, 2022
by
Grajade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c50355.lua
parent
54db74e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
script/c50355.lua
script/c50355.lua
+3
-6
No files found.
script/c50355.lua
View file @
620fd3fe
...
...
@@ -3,8 +3,7 @@ function c50355.initial_effect(c)
--Electro
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
50355
,
0
))
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
50355
)
e4
:
SetTarget
(
c50355
.
btg
)
...
...
@@ -23,8 +22,7 @@ end
function
c50355
.
bop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
num
=
1
local
genso
,
count
=
TET
.
ELCounter
.
Get
(
1
-
tp
)
if
genso
==
50210
and
count
>
1
then
num
=
4
-
count
end
if
num
<
0
then
num
=
0
end
if
genso
==
50210
and
count
>
3
then
num
=
0
end
TET
.
ELCounter
.
Add
(
nil
,
1
-
tp
,
50210
,
num
,
e
)
end
function
c50355
.
ctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -35,8 +33,7 @@ end
function
c50355
.
cop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
num
=
1
local
genso
,
count
=
TET
.
ELCounter
.
Get
(
1
-
tp
)
if
genso
==
50210
and
count
>
2
then
num
=
4
-
count
end
if
num
<
0
then
num
=
0
end
if
genso
==
50210
and
count
>
3
then
num
=
0
end
TET
.
ELCounter
.
Add
(
nil
,
1
-
tp
,
50210
,
num
,
e
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
...
...
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