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
52d5b1fb
Commit
52d5b1fb
authored
Jul 04, 2020
by
mercury233
Committed by
GitHub
Jul 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for Duel.MoveToField (#1441)
check immune
parent
848a31d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
c19501924.lua
c19501924.lua
+1
-1
c91870448.lua
c91870448.lua
+1
-1
No files found.
c19501924.lua
View file @
52d5b1fb
...
...
@@ -46,7 +46,7 @@ function c19501924.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SelectTarget
(
tp
,
c19501924
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
ft
,
nil
)
end
function
c19501924
.
mfilter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
return
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c19501924
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
0
...
...
c91870448.lua
View file @
52d5b1fb
...
...
@@ -48,7 +48,7 @@ end
function
c91870448
.
plop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
if
bc
:
IsRelateToBattle
()
and
bc
:
IsControler
(
1
-
tp
)
then
if
bc
:
IsRelateToBattle
()
and
bc
:
IsControler
(
1
-
tp
)
and
not
bc
:
IsImmuneToEffect
(
e
)
then
if
Duel
.
MoveToField
(
bc
,
tp
,
1
-
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
...
...
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