Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
7018cd72
Commit
7018cd72
authored
Aug 18, 2014
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into patch
parents
06a86980
1d473281
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
script/c31181711.lua
script/c31181711.lua
+2
-1
script/c47198668.lua
script/c47198668.lua
+2
-2
No files found.
script/c31181711.lua
View file @
7018cd72
...
@@ -61,10 +61,11 @@ function c31181711.btcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,10 +61,11 @@ function c31181711.btcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c31181711
.
btcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c31181711
.
btcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
e
:
SetLabelObject
(
e
:
GetHandler
():
GetEquipTarget
())
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
c31181711
.
btop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31181711
.
btop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
Get
Handler
():
GetEquipTarge
t
()
local
ec
=
e
:
Get
LabelObjec
t
()
if
Duel
.
NegateAttack
()
and
ec
:
IsFaceup
()
then
if
Duel
.
NegateAttack
()
and
ec
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c47198668.lua
View file @
7018cd72
...
@@ -92,7 +92,7 @@ function c47198668.atkop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,7 +92,7 @@ function c47198668.atkop2(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c47198668
.
efilter
(
e
,
re
,
rp
)
function
c47198668
.
efilter
(
e
,
re
,
rp
)
if
not
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
or
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
if
not
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
then
return
false
end
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
return
not
g
:
IsContains
(
e
:
GetHandler
())
return
g
and
not
g
:
IsContains
(
e
:
GetHandler
())
end
end
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