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
a1645538
Commit
a1645538
authored
May 10, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: No.6 先史遺産アトランタル, No.55 ゴゴゴゴライアス
parent
75e1ed6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
c46871387.lua
c46871387.lua
+1
-1
c9161357.lua
c9161357.lua
+10
-7
No files found.
c46871387.lua
View file @
a1645538
...
@@ -41,7 +41,7 @@ function c46871387.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -41,7 +41,7 @@ function c46871387.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c46871387
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c46871387
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRace
(
RACE_ROCK
)
and
tc
:
IsAttribute
(
ATTRIBUTE_EARTH
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
...
...
c9161357.lua
View file @
a1645538
...
@@ -22,7 +22,6 @@ function c9161357.initial_effect(c)
...
@@ -22,7 +22,6 @@ function c9161357.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCost
(
c9161357
.
lpcost
)
e2
:
SetCost
(
c9161357
.
lpcost
)
e2
:
SetOperation
(
c9161357
.
lpop
)
e2
:
SetOperation
(
c9161357
.
lpop
)
e2
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c9161357
.
xyz_number
=
6
c9161357
.
xyz_number
=
6
...
@@ -46,7 +45,6 @@ function c9161357.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,7 +45,6 @@ function c9161357.eqop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
e
:
SetLabelObject
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
...
@@ -64,17 +62,22 @@ function c9161357.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,17 +62,22 @@ function c9161357.eqop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
atk
)
e2
:
SetValue
(
atk
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
end
end
tc
:
RegisterFlagEffect
(
9161357
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
end
end
end
end
function
c9161357
.
eqlimit
(
e
,
c
)
function
c9161357
.
eqlimit
(
e
,
c
)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
end
end
function
c9161357
.
lpfilter
(
c
,
tp
)
return
c
:
GetFlagEffect
(
9161357
)
~=
0
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c9161357
.
lpcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9161357
.
lpcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ec
=
e
:
GetLabelObject
():
GetLabelObject
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
local
eqg
=
c
:
GetEquipGroup
()
and
ec
and
ec
:
GetEquipTarget
()
==
e
:
GetHandler
()
and
ec
:
IsAbleToGraveAsCost
()
if
chk
==
0
then
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
eqg
:
IsExists
(
c9161357
.
lpfilter
,
1
,
nil
,
tp
)
and
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
and
c
:
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
c
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
local
ec
=
eqg
:
FilterSelect
(
tp
,
c9161357
.
lpfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
SendtoGrave
(
ec
,
REASON_COST
)
Duel
.
SendtoGrave
(
ec
,
REASON_COST
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
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