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
c507f0d1
Commit
c507f0d1
authored
Jan 15, 2021
by
mallu11
Committed by
GitHub
Jan 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 原始生命態ニビル (#1523)
parent
0374d12d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
c27204311.lua
c27204311.lua
+4
-4
No files found.
c27204311.lua
View file @
c507f0d1
...
...
@@ -38,19 +38,19 @@ end
function
c27204311
.
relfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsReleasableByEffect
()
end
function
c27204311
.
adfilter
(
c
,
f
)
return
math.max
(
f
(
c
),
0
)
end
function
c27204311
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
chk
==
0
then
return
g
:
GetCount
()
>
0
and
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
and
Duel
.
GetMZoneCount
(
1
-
tp
,
g
,
tp
)
>
0
and
Duel
.
IsPlayerCanRelease
(
tp
)
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
2
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
27204312
,
0
,
0x4011
,
g
:
GetSum
(
Card
.
GetBaseAttack
),
g
:
GetSum
(
Card
.
GetBase
Defense
),
11
,
RACE_ROCK
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
,
1
-
tp
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
27204312
,
0
,
0x4011
,
g
:
GetSum
(
c27204311
.
adfilter
,
Card
.
GetTextAttack
),
g
:
GetSum
(
c27204311
.
adfilter
,
Card
.
GetText
Defense
),
11
,
RACE_ROCK
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
,
1
-
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
2
,
0
,
0
)
end
function
c27204311
.
adfilter
(
c
,
f
)
return
math.max
(
f
(
c
),
0
)
end
function
c27204311
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c27204311
.
relfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
Release
(
g
,
REASON_EFFECT
)
~=
0
then
...
...
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