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
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
八宫一月
ygopro-scripts
Commits
7dc4b3df
Commit
7dc4b3df
authored
Jan 12, 2020
by
mallu11
Committed by
mercury233
Jan 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lgb1 (#1304)
* fix 超魔導竜騎士-ドラグーン・オブ・レッドアイズ * fix スカーレッド・スーパーノヴァ・ドラゴン
parent
657d5cbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
c37818794.lua
c37818794.lua
+2
-1
c99585850.lua
c99585850.lua
+1
-1
No files found.
c37818794.lua
View file @
7dc4b3df
...
@@ -68,7 +68,8 @@ function c37818794.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -68,7 +68,8 @@ function c37818794.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
c
:
GetFlagEffect
(
37818794
)
<
c
:
GetFlagEffectLabel
(
37818795
)
end
and
c
:
GetFlagEffect
(
37818794
)
<
c
:
GetFlagEffectLabel
(
37818795
)
end
c
:
RegisterFlagEffect
(
37818794
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
37818794
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
1
-
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
0
)
end
end
function
c37818794
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c37818794
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c99585850.lua
View file @
7dc4b3df
...
@@ -88,7 +88,7 @@ function c99585850.rmop(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -88,7 +88,7 @@ function c99585850.rmop(e,tp,eg,ep,ev,re,r,rp,chk)
if
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
local
op
=
Duel
.
GetOperatedGroup
()
local
op
=
Duel
.
GetOperatedGroup
()
if
op
:
IsContains
(
c
)
then
if
op
:
IsContains
(
c
)
then
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_END
then
if
Duel
.
GetTurnPlayer
()
==
tp
then
e
:
GetLabelObject
():
SetLabel
(
Duel
.
GetTurnCount
())
e
:
GetLabelObject
():
SetLabel
(
Duel
.
GetTurnCount
())
c
:
RegisterFlagEffect
(
99585850
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
0
,
2
)
c
:
RegisterFlagEffect
(
99585850
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
0
,
2
)
else
else
...
...
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