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
0eb7f3cf
Commit
0eb7f3cf
authored
Feb 09, 2015
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
46c0e5af
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
3 deletions
+7
-3
script/c26084285.lua
script/c26084285.lua
+1
-0
script/c58577036.lua
script/c58577036.lua
+1
-0
script/c67688478.lua
script/c67688478.lua
+1
-0
script/c83319610.lua
script/c83319610.lua
+1
-1
script/c89086566.lua
script/c89086566.lua
+3
-2
No files found.
script/c26084285.lua
View file @
0eb7f3cf
...
...
@@ -7,6 +7,7 @@ function c26084285.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCondition
(
c26084285
.
condition
)
e1
:
SetCost
(
c26084285
.
cost
)
e1
:
SetTarget
(
c26084285
.
target
)
...
...
script/c58577036.lua
View file @
0eb7f3cf
...
...
@@ -21,6 +21,7 @@ function c58577036.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
function
c58577036
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
567
)
local
lv
=
Duel
.
AnnounceNumber
(
1
-
tp
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSummonableCard
,
tp
,
LOCATION_DECK
,
0
,
nil
)
...
...
script/c67688478.lua
View file @
0eb7f3cf
...
...
@@ -7,6 +7,7 @@ function c67688478.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCondition
(
c67688478
.
condition
)
e1
:
SetCost
(
c67688478
.
cost
)
e1
:
SetTarget
(
c67688478
.
target
)
...
...
script/c83319610.lua
View file @
0eb7f3cf
...
...
@@ -67,7 +67,7 @@ end
function
c83319610
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetLabel
()
==
0
or
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
Is
Facedown
()
or
tc
:
Is
ImmuneToEffect
(
e
)
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsImmuneToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c83319610
.
filter2
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
tc
,
e
)
if
g
:
GetCount
()
>
0
then
...
...
script/c89086566.lua
View file @
0eb7f3cf
...
...
@@ -15,7 +15,8 @@ function c89086566.cfilter(c)
return
c
:
IsFaceup
()
and
(
code
==
40640057
or
code
==
40703223
)
and
c
:
IsDestructable
()
end
function
c89086566
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c89086566
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c89086566
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDestructable
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c89086566
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
...
...
@@ -24,7 +25,7 @@ function c89086566.activate(e,tp,eg,ep,ev,re,r,rp)
local
dt
=
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
if
dt
==
0
then
return
end
local
dg
=
Duel
.
GetMatchingGroup
(
Card
.
IsDestructable
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
dg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
89086566
,
0
))
then
if
dg
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sg
=
dg
:
Select
(
tp
,
1
,
dt
,
nil
)
...
...
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