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
623fa50d
Commit
623fa50d
authored
Jul 01, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 星読みの魔術師 and 時読みの魔術師
parent
2365dcab
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
c20409757.lua
c20409757.lua
+1
-0
c94415058.lua
c94415058.lua
+1
-1
No files found.
c20409757.lua
View file @
623fa50d
...
@@ -49,6 +49,7 @@ end
...
@@ -49,6 +49,7 @@ end
function
c20409757
.
actcon
(
e
)
function
c20409757
.
actcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
local
tc
=
Duel
.
GetAttacker
()
local
tc
=
Duel
.
GetAttacker
()
if
not
tc
then
return
false
end
if
tc
:
IsControler
(
1
-
tp
)
then
tc
=
Duel
.
GetAttackTarget
()
end
if
tc
:
IsControler
(
1
-
tp
)
then
tc
=
Duel
.
GetAttackTarget
()
end
return
tc
and
tc
:
IsControler
(
tp
)
and
tc
:
IsType
(
TYPE_PENDULUM
)
return
tc
and
tc
:
IsControler
(
tp
)
and
tc
:
IsType
(
TYPE_PENDULUM
)
end
end
...
...
c94415058.lua
View file @
623fa50d
...
@@ -42,7 +42,7 @@ function c94415058.actcon(e)
...
@@ -42,7 +42,7 @@ function c94415058.actcon(e)
local
tc
=
Duel
.
GetAttacker
()
local
tc
=
Duel
.
GetAttacker
()
if
not
tc
then
return
false
end
if
not
tc
then
return
false
end
if
tc
:
IsControler
(
1
-
tp
)
then
tc
=
Duel
.
GetAttackTarget
()
end
if
tc
:
IsControler
(
1
-
tp
)
then
tc
=
Duel
.
GetAttackTarget
()
end
return
tc
:
IsControler
(
tp
)
and
tc
:
IsType
(
TYPE_PENDULUM
)
return
tc
and
tc
:
IsControler
(
tp
)
and
tc
:
IsType
(
TYPE_PENDULUM
)
end
end
function
c94415058
.
aclimit
(
e
,
re
,
tp
)
function
c94415058
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
...
...
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