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
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
MyCard
ygopro-scripts
Commits
025e884f
Commit
025e884f
authored
Dec 06, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c3ab36fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
c2055403.lua
c2055403.lua
+2
-1
c50913601.lua
c50913601.lua
+1
-1
c58753372.lua
c58753372.lua
+2
-1
c84025439.lua
c84025439.lua
+1
-1
No files found.
c2055403.lua
View file @
025e884f
...
...
@@ -20,12 +20,13 @@ function c2055403.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetTargetCard
(
eg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
ct
,
0
,
0
)
end
function
c2055403
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
eg
:
Filter
(
c2055403
.
filter
,
nil
,
tp
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
local
og
=
Duel
.
GetOperatedGroup
()
local
ct
=
og
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
)
local
ct
=
og
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
+
LOCATION_EXTRA
)
if
ct
>
0
then
Duel
.
BreakEffect
()
if
Duel
.
GetLP
(
tp
)
>=
ct
*
1000
then
...
...
c50913601.lua
View file @
025e884f
...
...
@@ -9,7 +9,7 @@ function c50913601.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetRange
(
LOCATION_
f
ZONE
)
e2
:
SetRange
(
LOCATION_
F
ZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsRace
,
RACE_DRAGON
+
RACE_WINDBEAST
+
RACE_THUNDER
))
e2
:
SetValue
(
200
)
...
...
c58753372.lua
View file @
025e884f
...
...
@@ -30,8 +30,9 @@ function c58753372.filter2(c,tp)
and
Duel
.
IsExistingMatchingCard
(
c58753372
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
end
function
c58753372
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
g1
=
Duel
.
GetMatchingGroup
(
c58753372
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c58753372
.
filter2
(
chkc
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c58753372
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c58753372
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
and
g1
:
GetClassCount
(
Card
.
GetLevel
)
>
1
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c58753372
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
end
...
...
c84025439.lua
View file @
025e884f
...
...
@@ -75,7 +75,7 @@ function c84025439.imcon(e)
return
e
:
GetHandler
():
GetOverlayGroup
():
GetClassCount
(
Card
.
GetCode
)
>=
4
end
function
c84025439
.
efilter
(
e
,
te
)
return
not
te
:
Get
Handl
er
():
IsSetCard
(
0xdc
)
return
not
te
:
Get
Own
er
():
IsSetCard
(
0xdc
)
end
function
c84025439
.
drcon
(
e
)
return
e
:
GetHandler
():
GetOverlayGroup
():
GetClassCount
(
Card
.
GetCode
)
>=
6
...
...
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