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
e6d310c7
Commit
e6d310c7
authored
Jun 09, 2021
by
mercury233
Committed by
GitHub
Jun 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 召喚制限-猛突するモンスター (#1657)
parent
02732e41
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
c30834988.lua
c30834988.lua
+13
-6
No files found.
c30834988.lua
View file @
e6d310c7
...
@@ -35,14 +35,21 @@ function c30834988.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,14 +35,21 @@ function c30834988.operation(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
if
Duel
.
GetFlagEffect
(
tp
,
30834988
)
==
0
then
local
ct
,
last_turn
,
last_lp_0
,
last_lp_1
,
last_deck_0
,
last_deck_1
=
e
:
GetLabel
()
Duel
.
RegisterFlagEffect
(
tp
,
30834988
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
turn
=
Duel
.
GetTurnCount
()
e
:
SetLabel
(
0
)
local
lp_0
=
Duel
.
GetLP
(
0
)
local
lp_1
=
Duel
.
GetLP
(
1
)
local
deck_0
=
Duel
.
GetFieldGroupCount
(
0
,
LOCATION_DECK
,
0
)
local
deck_1
=
Duel
.
GetFieldGroupCount
(
1
,
LOCATION_DECK
,
0
)
if
ct
==
nil
or
last_turn
~=
turn
or
last_lp_0
~=
lp_0
or
last_lp_1
~=
lp_1
or
last_deck_0
-
deck_0
>
5
or
last_deck_1
-
deck_1
>
5
then
e
:
SetLabel
(
0
,
turn
,
lp_0
,
lp_1
,
deck_0
,
deck_1
)
else
else
local
count
=
e
:
GetLabel
()
ct
=
ct
+
1
e
:
SetLabel
(
count
+
1
)
if
ct
>
10
then
if
count
>
49
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
return
end
end
e
:
SetLabel
(
ct
,
turn
,
lp_0
,
lp_1
,
last_deck_0
,
last_deck_1
)
end
end
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