Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Nanahira-Cards
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
nanahira
Nanahira-Cards
Commits
a3d9844e
Commit
a3d9844e
authored
Dec 31, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
17f67bf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
expansions/script/c37564825.lua
expansions/script/c37564825.lua
+2
-2
No files found.
expansions/script/c37564825.lua
View file @
a3d9844e
...
@@ -57,7 +57,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
--
if c:IsFaceup() and c:IsRelateToEffect(e) then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -66,7 +66,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +66,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
cm
.
eqlimit
)
e2
:
SetValue
(
cm
.
eqlimit
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
else
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
end
--
else Duel.SendtoGrave(tc,REASON_RULE) end
end
end
function
cm
.
eqlimit
(
e
,
c
)
function
cm
.
eqlimit
(
e
,
c
)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
...
...
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