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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
be179644
Commit
be179644
authored
May 14, 2024
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos
parent
00301750
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
c61434639.lua
c61434639.lua
+1
-1
c61773610.lua
c61773610.lua
+1
-1
c9763474.lua
c9763474.lua
+1
-1
No files found.
c61434639.lua
View file @
be179644
...
...
@@ -24,7 +24,7 @@ function s.discost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKBOTTOM
,
REASON_COST
)
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
1
-
tp
)
and
aux
.
NegateEffectMonsterFilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
hkc
:
IsControler
(
1
-
tp
)
and
aux
.
NegateEffectMonsterFilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
NegateEffectMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
aux
.
NegateEffectMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
...
...
c61773610.lua
View file @
be179644
...
...
@@ -72,7 +72,7 @@ function s.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
s
.
atkfilter
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
):
GetSum
(
Card
.
GetBaseAttack
)
>
0
and
c
:
IsFaceup
()
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
):
GetSum
(
Card
.
GetBaseAttack
)
>
0
and
c
:
IsFaceup
()
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
atkfilter
(
chkc
)
end
...
...
c9763474.lua
View file @
be179644
...
...
@@ -25,7 +25,7 @@ end
function
s
.
cfilter
(
c
)
return
c
:
IsAttackBelow
(
2000
)
and
c
:
IsAbleToRemoveAsCost
()
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
(
Duel
.
IsPlayerCanDraw
(
c
:
GetControler
(),
1
)
or
c
:
GetOriginalRace
()
~=
RACE_REPTILE
)
and
Duel
.
IsExistingTarget
(
s
.
atkcheck
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
,
c
:
GetBaseAttack
())
and
Duel
.
IsExistingTarget
(
s
.
atkcheck
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
,
c
:
GetBaseAttack
())
end
function
s
.
accost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
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