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
9bccc3c5
Commit
9bccc3c5
authored
Apr 15, 2021
by
mallu11
Committed by
GitHub
Apr 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 魔妖仙獣 独眼群主 (#1620)
parent
59e49bbb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
c21364070.lua
c21364070.lua
+9
-10
No files found.
c21364070.lua
View file @
9bccc3c5
...
@@ -81,7 +81,7 @@ function c21364070.initial_effect(c)
...
@@ -81,7 +81,7 @@ function c21364070.initial_effect(c)
end
end
end
end
function
c21364070
.
scalefilter
(
c
)
function
c21364070
.
scalefilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xb3
)
and
c
:
Get
Lef
tScale
()
~=
11
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xb3
)
and
c
:
Get
Curren
tScale
()
~=
11
end
end
function
c21364070
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c21364070
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_PZONE
)
and
chkc
:
IsControler
(
tp
)
and
c21364070
.
scalefilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_PZONE
)
and
chkc
:
IsControler
(
tp
)
and
c21364070
.
scalefilter
(
chkc
)
end
...
@@ -91,7 +91,6 @@ function c21364070.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -91,7 +91,6 @@ function c21364070.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c21364070
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21364070
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -103,6 +102,7 @@ function c21364070.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -103,6 +102,7 @@ function c21364070.operation(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CHANGE_RSCALE
)
e2
:
SetCode
(
EFFECT_CHANGE_RSCALE
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
end
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
...
@@ -111,7 +111,6 @@ function c21364070.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -111,7 +111,6 @@ function c21364070.operation(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetTarget
(
c21364070
.
splimit
)
e3
:
SetTarget
(
c21364070
.
splimit
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
end
function
c21364070
.
splimit
(
e
,
c
)
function
c21364070
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0xb3
)
return
not
c
:
IsSetCard
(
0xb3
)
...
...
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