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
0d324a58
Commit
0d324a58
authored
Nov 18, 2021
by
Chrono-Genex
Committed by
GitHub
Nov 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix War Rock Fortia, War Rock Mammud and War Rock Orpis (#1748)
parent
2834fc42
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
c46169154.lua
c46169154.lua
+3
-2
c83286340.lua
c83286340.lua
+3
-2
c84903021.lua
c84903021.lua
+3
-2
No files found.
c46169154.lua
View file @
0d324a58
...
@@ -38,11 +38,12 @@ function c46169154.check(c,tp)
...
@@ -38,11 +38,12 @@ function c46169154.check(c,tp)
end
end
function
c46169154
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c46169154
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
(
c46169154
.
check
(
Duel
.
GetAttacker
(),
tp
)
or
c46169154
.
check
(
Duel
.
GetAttackTarget
(),
tp
))
if
chk
==
0
then
return
(
c46169154
.
check
(
Duel
.
GetAttacker
(),
tp
)
or
c46169154
.
check
(
Duel
.
GetAttackTarget
(),
tp
))
and
Duel
.
IsExistingMatchingCard
(
c46169154
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
c46169154
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c46169154
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c46169154
.
atkfilter
(
c
)
function
c46169154
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x15f
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x15f
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
end
function
c46169154
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c46169154
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c83286340.lua
View file @
0d324a58
...
@@ -32,11 +32,12 @@ function c83286340.check(c,tp)
...
@@ -32,11 +32,12 @@ function c83286340.check(c,tp)
end
end
function
c83286340
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c83286340
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
(
c83286340
.
check
(
Duel
.
GetAttacker
(),
tp
)
or
c83286340
.
check
(
Duel
.
GetAttackTarget
(),
tp
))
if
chk
==
0
then
return
(
c83286340
.
check
(
Duel
.
GetAttacker
(),
tp
)
or
c83286340
.
check
(
Duel
.
GetAttackTarget
(),
tp
))
and
Duel
.
IsExistingMatchingCard
(
c83286340
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
c83286340
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c83286340
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c83286340
.
atkfilter
(
c
)
function
c83286340
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x15f
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x15f
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
end
function
c83286340
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c83286340
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c84903021.lua
View file @
0d324a58
...
@@ -37,13 +37,14 @@ end
...
@@ -37,13 +37,14 @@ end
function
c84903021
.
dstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c84903021
.
dstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsOnField
()
and
chkc
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsOnField
()
and
chkc
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
if
chk
==
0
then
return
(
c84903021
.
check
(
Duel
.
GetAttacker
(),
tp
)
or
c84903021
.
check
(
Duel
.
GetAttackTarget
(),
tp
))
if
chk
==
0
then
return
(
c84903021
.
check
(
Duel
.
GetAttacker
(),
tp
)
or
c84903021
.
check
(
Duel
.
GetAttackTarget
(),
tp
))
and
Duel
.
IsExistingTarget
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
end
and
Duel
.
IsExistingTarget
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsExistingMatchingCard
(
c84903021
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
end
function
c84903021
.
atkfilter
(
c
)
function
c84903021
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x15f
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x15f
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
end
function
c84903021
.
dsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c84903021
.
dsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
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