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
be8ec340
Commit
be8ec340
authored
Mar 29, 2022
by
mallu11
Committed by
GitHub
Mar 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 巨神竜フェルグラント (#1846)
parent
9a59aab2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
c60681103.lua
c60681103.lua
+2
-2
No files found.
c60681103.lua
View file @
be8ec340
...
@@ -25,7 +25,7 @@ function c60681103.rmcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -25,7 +25,7 @@ function c60681103.rmcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonLocation
(
LOCATION_GRAVE
)
return
e
:
GetHandler
():
IsSummonLocation
(
LOCATION_GRAVE
)
end
end
function
c60681103
.
rmfilter
(
c
)
function
c60681103
.
rmfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
and
(
c
:
IsLevelAbove
(
1
)
or
c
:
IsRankAbove
(
1
))
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
end
function
c60681103
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c60681103
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c60681103
.
rmfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c60681103
.
rmfilter
(
chkc
)
end
...
@@ -45,7 +45,7 @@ function c60681103.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c60681103.rmop(e,tp,eg,ep,ev,re,r,rp)
local
atk
=
0
local
atk
=
0
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
if
tc
:
IsType
(
TYPE_XYZ
)
then
atk
=
tc
:
GetRank
()
else
atk
=
tc
:
GetLevel
()
end
if
tc
:
IsType
(
TYPE_XYZ
)
then
atk
=
tc
:
GetRank
()
else
atk
=
tc
:
GetLevel
()
end
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
atk
>
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
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