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
八宫一月
ygopro-scripts
Commits
18c6bb7c
Commit
18c6bb7c
authored
Jan 23, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix マドルチェ・ピョコレート
このカードがフィールド上に表側表示で存在し、
parent
f727103a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
c26570480.lua
c26570480.lua
+10
-4
No files found.
c26570480.lua
View file @
18c6bb7c
...
...
@@ -36,14 +36,20 @@ function c26570480.retop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
2
,
REASON_EFFECT
)
end
end
function
c26570480
.
cfilter
(
c
,
tp
)
function
c26570480
.
cfilter
(
c
,
tp
,
ec
)
local
np
=
c
:
GetPosition
()
local
pp
=
c
:
GetPreviousPosition
()
return
((
np
==
POS_FACEUP_DEFENSE
and
pp
==
POS_FACEUP_ATTACK
)
or
(
bit
.
band
(
pp
,
POS_DEFENSE
)
~=
0
and
np
==
POS_FACEUP_ATTACK
))
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x71
)
if
c
==
ec
then
return
((
np
==
POS_FACEUP_DEFENSE
and
pp
==
POS_FACEUP_ATTACK
)
or
(
np
==
POS_FACEUP_ATTACK
and
pp
==
POS_FACEUP_DEFENSE
))
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x71
)
else
return
((
np
==
POS_FACEUP_DEFENSE
and
pp
==
POS_FACEUP_ATTACK
)
or
(
np
==
POS_FACEUP_ATTACK
and
pp
&
POS_DEFENSE
~=
0
))
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x71
)
end
end
function
c26570480
.
poscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c26570480
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c26570480
.
cfilter
,
1
,
nil
,
tp
,
e
:
GetHandler
()
)
end
function
c26570480
.
filter
(
c
)
return
not
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
c
:
IsCanChangePosition
()
...
...
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