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
3431773b
Commit
3431773b
authored
Dec 12, 2021
by
HidarimeYume
Committed by
GitHub
Dec 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Predaplant Moray Nepenthes and Infinitrack Xyz monsters (#1769)
parent
c95b5a0c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
1 deletion
+10
-1
c22011689.lua
c22011689.lua
+7
-1
c24701066.lua
c24701066.lua
+1
-0
c60195675.lua
c60195675.lua
+1
-0
c97584719.lua
c97584719.lua
+1
-0
No files found.
c22011689.lua
View file @
3431773b
...
@@ -14,7 +14,7 @@ function c22011689.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c22011689.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_EQUIP
)
e2
:
SetCategory
(
CATEGORY_EQUIP
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCondition
(
aux
.
bdo
con
)
e2
:
SetCondition
(
c22011689
.
eq
con
)
e2
:
SetTarget
(
c22011689
.
eqtg
)
e2
:
SetTarget
(
c22011689
.
eqtg
)
e2
:
SetOperation
(
c22011689
.
eqop
)
e2
:
SetOperation
(
c22011689
.
eqop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -33,6 +33,12 @@ end
...
@@ -33,6 +33,12 @@ end
function
c22011689
.
atkval
(
e
,
c
)
function
c22011689
.
atkval
(
e
,
c
)
return
Duel
.
GetCounter
(
0
,
1
,
1
,
0x1041
)
*
200
return
Duel
.
GetCounter
(
0
,
1
,
1
,
0x1041
)
*
200
end
end
function
c22011689
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
return
c
:
IsRelateToBattle
()
and
c
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
bc
:
IsType
(
TYPE_MONSTER
)
and
(
bc
:
IsLocation
(
LOCATION_GRAVE
)
or
bc
:
IsFaceup
()
and
bc
:
IsLocation
(
LOCATION_EXTRA
+
LOCATION_REMOVED
))
end
function
c22011689
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22011689
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
...
...
c24701066.lua
View file @
3431773b
...
@@ -65,6 +65,7 @@ function c24701066.xyzcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,6 +65,7 @@ function c24701066.xyzcon(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToBattle
()
then
return
false
end
if
not
c
:
IsRelateToBattle
()
then
return
false
end
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
return
tc
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
tc
:
IsCanOverlay
()
return
tc
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
tc
:
IsCanOverlay
()
and
(
tc
:
IsLocation
(
LOCATION_GRAVE
)
or
tc
:
IsFaceup
()
and
tc
:
IsLocation
(
LOCATION_EXTRA
+
LOCATION_REMOVED
))
end
end
function
c24701066
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c24701066
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
end
...
...
c60195675.lua
View file @
3431773b
...
@@ -55,6 +55,7 @@ function c60195675.xyzcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,6 +55,7 @@ function c60195675.xyzcon(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToBattle
()
then
return
false
end
if
not
c
:
IsRelateToBattle
()
then
return
false
end
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
return
tc
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
tc
:
IsCanOverlay
()
return
tc
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
tc
:
IsCanOverlay
()
and
(
tc
:
IsLocation
(
LOCATION_GRAVE
)
or
tc
:
IsFaceup
()
and
tc
:
IsLocation
(
LOCATION_EXTRA
+
LOCATION_REMOVED
))
end
end
function
c60195675
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c60195675
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
end
...
...
c97584719.lua
View file @
3431773b
...
@@ -63,6 +63,7 @@ function c97584719.xyzcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,6 +63,7 @@ function c97584719.xyzcon(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToBattle
()
then
return
false
end
if
not
c
:
IsRelateToBattle
()
then
return
false
end
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
return
tc
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
tc
:
IsCanOverlay
()
return
tc
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
tc
:
IsCanOverlay
()
and
(
tc
:
IsLocation
(
LOCATION_GRAVE
)
or
tc
:
IsFaceup
()
and
tc
:
IsLocation
(
LOCATION_EXTRA
+
LOCATION_REMOVED
))
end
end
function
c97584719
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c97584719
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
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