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
1add2a52
Commit
1add2a52
authored
Oct 02, 2024
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 始祖の守護者ティラス
parent
18c97d84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
c31386180.lua
c31386180.lua
+6
-11
No files found.
c31386180.lua
View file @
1add2a52
...
...
@@ -9,7 +9,7 @@ function c31386180.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e1
:
SetCondition
(
c31386180
.
inc
on
)
e1
:
SetCondition
(
c31386180
.
conditi
on
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
--destroy
...
...
@@ -21,7 +21,6 @@ function c31386180.initial_effect(c)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c31386180
.
descon
)
e2
:
SetTarget
(
c31386180
.
destg
)
e2
:
SetOperation
(
c31386180
.
desop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -36,21 +35,18 @@ function c31386180.initial_effect(c)
e3
:
SetOperation
(
c31386180
.
rmop
)
c
:
RegisterEffect
(
e3
)
end
function
c31386180
.
inc
on
(
e
)
function
c31386180
.
conditi
on
(
e
)
return
e
:
GetHandler
():
GetOverlayCount
()
>
0
end
function
c31386180
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetBattledGroupCount
()
>
0
end
function
c31386180
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsOnField
()
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c31386180
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
GetOverlayCount
()
==
0
then
return
end
if
not
c31386180
.
condition
(
e
)
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
1
-
tp
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
...
...
@@ -60,8 +56,7 @@ function c31386180.rmcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c31386180
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
c31386180
.
condition
(
e
)
then
return
end
local
c
=
e
:
GetHandler
()
if
c
:
GetOverlayCount
()
>
0
then
c
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
end
c
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
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