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
edab2f63
Commit
edab2f63
authored
Nov 07, 2021
by
Chrono-Genex
Committed by
GitHub
Nov 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#1732)
parent
d3f7dd76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
c93130021.lua
c93130021.lua
+10
-6
No files found.
c93130021.lua
View file @
edab2f63
--ビクトリー・バイパーXX03
--not fully implemented
--ビクトリー・バイパー XX03
function
c93130021
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
93130021
,
0
))
...
...
@@ -99,9 +98,11 @@ function c93130021.operation(e,tp,eg,ep,ev,re,r,rp)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
token
:
RegisterEffect
(
e5
,
true
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
EFFECT_SELF_DESTROY
)
e6
:
SetCondition
(
c93130021
.
tokendes
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
EVENT_ADJUST
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCondition
(
c93130021
.
tokendescon
)
e6
:
SetOperation
(
c93130021
.
tokendesop
)
e6
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
token
:
RegisterEffect
(
e6
,
true
)
Duel
.
SpecialSummonComplete
()
...
...
@@ -131,6 +132,9 @@ end
function
c93130021
.
tokenatt
(
e
,
c
)
return
e
:
GetOwner
():
GetAttribute
()
end
function
c93130021
.
tokendes
(
e
)
function
c93130021
.
tokendes
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetOwner
():
IsRelateToCard
(
e
:
GetHandler
())
end
function
c93130021
.
tokendesop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_RULE
)
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