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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
b0e9e016
Commit
b0e9e016
authored
Jul 05, 2021
by
mercury233
Committed by
GitHub
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix No.8 紋章王ゲノム・ヘリター
parent
c641798d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
c47387961.lua
c47387961.lua
+15
-13
No files found.
c47387961.lua
View file @
b0e9e016
...
@@ -39,29 +39,29 @@ function c47387961.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,29 +39,29 @@ function c47387961.operation(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e2
:
SetCode
(
EFFECT_SET_BASE_ATTACK
)
e2
:
SetValue
(
tc
:
GetAttack
())
e2
:
SetValue
(
tc
:
GetAttack
())
e2
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
cid
=
c
:
CopyEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
1
)
local
cid
=
c
:
CopyEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
1
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e4
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e4
:
SetValue
(
0
)
e4
:
SetValue
(
0
)
e4
:
SetLabelObject
(
e2
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e4
)
tc
:
RegisterEffect
(
e4
)
e1
:
SetLabelObject
(
e2
)
e2
:
SetLabelObject
(
e4
)
if
aux
.
NegateMonsterFilter
(
tc
)
then
if
aux
.
NegateMonsterFilter
(
tc
)
then
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_DISABLE
)
e5
:
SetCode
(
EFFECT_DISABLE
)
e5
:
SetLabelObject
(
e4
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e5
)
tc
:
RegisterEffect
(
e5
)
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e6
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e6
:
SetLabelObject
(
e5
)
e6
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e6
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e6
)
tc
:
RegisterEffect
(
e6
)
e4
:
SetLabelObject
(
e5
)
e5
:
SetLabelObject
(
e6
)
end
end
local
e7
=
Effect
.
CreateEffect
(
c
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetDescription
(
aux
.
Stringid
(
47387961
,
1
))
e7
:
SetDescription
(
aux
.
Stringid
(
47387961
,
1
))
...
@@ -72,7 +72,7 @@ function c47387961.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,7 +72,7 @@ function c47387961.operation(e,tp,eg,ep,ev,re,r,rp)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e7
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e7
:
SetLabel
(
cid
)
e7
:
SetLabel
(
cid
)
e7
:
SetLabelObject
(
e
6
)
e7
:
SetLabelObject
(
e
1
)
e7
:
SetOperation
(
c47387961
.
rstop
)
e7
:
SetOperation
(
c47387961
.
rstop
)
c
:
RegisterEffect
(
e7
)
c
:
RegisterEffect
(
e7
)
end
end
...
@@ -82,16 +82,18 @@ function c47387961.rstop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,16 +82,18 @@ function c47387961.rstop(e,tp,eg,ep,ev,re,r,rp)
local
cid
=
e
:
GetLabel
()
local
cid
=
e
:
GetLabel
()
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
cid
,
RESET_COPY
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
c
:
ResetEffect
(
RESET_DISABLE
,
RESET_EVENT
)
local
e
6
=
e
:
GetLabelObject
()
local
e
1
=
e
:
GetLabelObject
()
local
e
5
=
e6
:
GetLabelObject
()
local
e
2
=
e1
:
GetLabelObject
()
local
e4
=
e
5
:
GetLabelObject
()
local
e4
=
e
2
:
GetLabelObject
()
local
e
3
=
e4
:
GetLabelObject
()
local
e
5
=
e4
:
GetLabelObject
()
local
e2
=
e3
:
GetLabelObjec
t
()
e1
:
Rese
t
()
e2
:
Reset
()
e2
:
Reset
()
e3
:
Reset
()
e4
:
Reset
()
e4
:
Reset
()
e5
:
Reset
()
if
e5
then
e6
:
Reset
()
local
e6
=
e5
:
GetLabelObject
()
e5
:
Reset
()
e6
:
Reset
()
end
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
HintSelection
(
Group
.
FromCards
(
c
))
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
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