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
Reinen
ygopro-scripts
Commits
2a90e8e1
Commit
2a90e8e1
authored
Jan 26, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Zexal Weapon setcode
parent
6fc70a8b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
c12927849.lua
c12927849.lua
+2
-2
c35906693.lua
c35906693.lua
+1
-1
c45082499.lua
c45082499.lua
+1
-1
c60992364.lua
c60992364.lua
+1
-1
No files found.
c12927849.lua
View file @
2a90e8e1
...
@@ -34,7 +34,7 @@ function c12927849.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c12927849.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c12927849
.
filter
(
c
,
e
,
tp
)
function
c12927849
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x7e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
7e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c12927849
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c12927849
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c12927849
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c12927849
.
filter
(
chkc
,
e
,
tp
)
end
...
@@ -87,7 +87,7 @@ function c12927849.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,7 +87,7 @@ function c12927849.thcon(e,tp,eg,ep,ev,re,r,rp)
return
ec
==
e
:
GetHandler
():
GetEquipTarget
()
and
ec
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
bc
:
IsLocation
(
LOCATION_GRAVE
)
and
bc
:
IsType
(
TYPE_MONSTER
)
return
ec
==
e
:
GetHandler
():
GetEquipTarget
()
and
ec
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
bc
:
IsLocation
(
LOCATION_GRAVE
)
and
bc
:
IsType
(
TYPE_MONSTER
)
end
end
function
c12927849
.
thfilter
(
c
)
function
c12927849
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x7e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
10
7e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
c12927849
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c12927849
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c12927849
.
thfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c12927849
.
thfilter
(
chkc
)
end
...
...
c35906693.lua
View file @
2a90e8e1
...
@@ -51,7 +51,7 @@ function c35906693.tgfilter(c)
...
@@ -51,7 +51,7 @@ function c35906693.tgfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x107f
)
and
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x107f
)
and
c
:
IsType
(
TYPE_XYZ
)
end
end
function
c35906693
.
eqfilter
(
c
,
tp
)
function
c35906693
.
eqfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x7e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
return
c
:
IsSetCard
(
0x
10
7e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
end
end
function
c35906693
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c35906693
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c35906693
.
tgfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c35906693
.
tgfilter
(
chkc
)
end
...
...
c45082499.lua
View file @
2a90e8e1
...
@@ -18,7 +18,7 @@ function c45082499.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c45082499.initial_effect(c)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x7e
))
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
10
7e
))
e2
:
SetValue
(
aux
.
indoval
)
e2
:
SetValue
(
aux
.
indoval
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--destroy sub
--destroy sub
...
...
c60992364.lua
View file @
2a90e8e1
...
@@ -46,7 +46,7 @@ function c60992364.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -46,7 +46,7 @@ function c60992364.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
end
function
c60992364
.
thfilter
(
c
)
function
c60992364
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x7e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
10
7e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
c60992364
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c60992364
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c60992364
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c60992364
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
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