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
3191e711
Commit
3191e711
authored
Sep 22, 2019
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos
parent
9f0470c0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
c19048328.lua
c19048328.lua
+1
-1
c269012.lua
c269012.lua
+1
-1
c39913299.lua
c39913299.lua
+1
-1
constant.lua
constant.lua
+1
-1
No files found.
c19048328.lua
View file @
3191e711
...
...
@@ -87,7 +87,7 @@ function c19048328.regop(e,tp,eg,ep,ev,re,r,rp)
if
bit
.
band
(
att
,
ATTRIBUTE_DARK
)
~=
0
then
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
19048328
,
7
))
end
if
bit
.
band
(
att
,
ATTRIBUTE_D
E
VINE
)
~=
0
then
if
bit
.
band
(
att
,
ATTRIBUTE_D
I
VINE
)
~=
0
then
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
19048328
,
8
))
end
end
...
...
c269012.lua
View file @
3191e711
...
...
@@ -66,7 +66,7 @@ function c269012.thcon(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
r
,
0x41
)
==
0x41
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c269012
.
filter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_D
E
VINE
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsAttribute
(
ATTRIBUTE_D
I
VINE
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c269012
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c269012
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c39913299.lua
View file @
3191e711
...
...
@@ -11,7 +11,7 @@ function c39913299.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c39913299
.
filter
(
c
,
e
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_D
E
VINE
)
and
(
c
:
IsAbleToHand
()
or
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
return
c
:
IsAttribute
(
ATTRIBUTE_D
I
VINE
)
and
(
c
:
IsAbleToHand
()
or
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
end
function
c39913299
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
...
...
constant.lua
View file @
3191e711
...
...
@@ -61,7 +61,7 @@ ATTRIBUTE_FIRE =0x04 --炎
ATTRIBUTE_WIND
=
0x08
--风
ATTRIBUTE_LIGHT
=
0x10
--光
ATTRIBUTE_DARK
=
0x20
--暗
ATTRIBUTE_D
E
VINE
=
0x40
--神
ATTRIBUTE_D
I
VINE
=
0x40
--神
--Races 种族
RACE_ALL
=
0x1ffffff
--全种族
RACE_WARRIOR
=
0x1
--战士
...
...
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