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
4
Merge Requests
4
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
893ff074
Commit
893ff074
authored
Dec 10, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix The blazing MARS
parent
8b2d057c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
c15033525.lua
c15033525.lua
+2
-2
No files found.
c15033525.lua
View file @
893ff074
...
@@ -55,13 +55,13 @@ function c15033525.damcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,13 +55,13 @@ function c15033525.damcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
end
end
function
c15033525
.
stfilter
(
c
)
function
c15033525
.
stfilter
(
c
)
return
c
:
GetOriginalType
()
&
(
TYPE_
SPELL
+
TYPE_TRAP
)
=
=
0
return
c
:
GetOriginalType
()
&
(
TYPE_
MONSTER
)
~
=
0
end
end
function
c15033525
.
damcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c15033525
.
damcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
0
)
g
:
RemoveCard
(
e
:
GetHandler
())
g
:
RemoveCard
(
e
:
GetHandler
())
local
mg
=
g
:
Filter
(
c15033525
.
stfilter
,
nil
)
local
mg
=
g
:
Filter
(
c15033525
.
stfilter
,
nil
)
if
chk
==
0
then
return
#
mg
>
0
and
g
:
IsExists
(
Card
.
IsAbleToGraveAsCost
,
#
g
,
nil
)
end
if
chk
==
0
then
return
#
mg
>
0
and
not
g
:
IsExists
(
aux
.
NOT
(
Card
.
IsAbleToGraveAsCost
),
1
,
nil
)
end
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
e
:
SetLabel
(
mg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
))
e
:
SetLabel
(
mg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
))
end
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