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
REIKAI
ygopro
Commits
81604b4f
Commit
81604b4f
authored
Aug 13, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2fe7f909
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
2 deletions
+10
-2
script/c52035300.lua
script/c52035300.lua
+1
-0
script/c5592689.lua
script/c5592689.lua
+1
-0
script/c564541.lua
script/c564541.lua
+1
-0
script/c7304544.lua
script/c7304544.lua
+1
-0
script/c80666118.lua
script/c80666118.lua
+1
-0
script/c89544521.lua
script/c89544521.lua
+5
-2
No files found.
script/c52035300.lua
View file @
81604b4f
...
@@ -22,6 +22,7 @@ function c52035300.initial_effect(c)
...
@@ -22,6 +22,7 @@ function c52035300.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c52035300
.
condition
)
e3
:
SetCondition
(
c52035300
.
condition
)
e3
:
SetTarget
(
c52035300
.
target
)
e3
:
SetTarget
(
c52035300
.
target
)
e3
:
SetOperation
(
c52035300
.
operation
)
e3
:
SetOperation
(
c52035300
.
operation
)
...
...
script/c5592689.lua
View file @
81604b4f
...
@@ -7,6 +7,7 @@ function c5592689.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c5592689.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c5592689
.
sscon
)
e1
:
SetCondition
(
c5592689
.
sscon
)
e1
:
SetTarget
(
c5592689
.
sstg
)
e1
:
SetTarget
(
c5592689
.
sstg
)
e1
:
SetOperation
(
c5592689
.
ssop
)
e1
:
SetOperation
(
c5592689
.
ssop
)
...
...
script/c564541.lua
View file @
81604b4f
...
@@ -13,6 +13,7 @@ function c564541.initial_effect(c)
...
@@ -13,6 +13,7 @@ function c564541.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c564541
.
spcon
)
e2
:
SetCondition
(
c564541
.
spcon
)
e2
:
SetTarget
(
c564541
.
sptg
)
e2
:
SetTarget
(
c564541
.
sptg
)
e2
:
SetOperation
(
c564541
.
spop
)
e2
:
SetOperation
(
c564541
.
spop
)
...
...
script/c7304544.lua
View file @
81604b4f
...
@@ -15,6 +15,7 @@ function c7304544.initial_effect(c)
...
@@ -15,6 +15,7 @@ function c7304544.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c7304544
.
condition
)
e2
:
SetCondition
(
c7304544
.
condition
)
e2
:
SetTarget
(
c7304544
.
target
)
e2
:
SetTarget
(
c7304544
.
target
)
e2
:
SetOperation
(
c7304544
.
operation
)
e2
:
SetOperation
(
c7304544
.
operation
)
...
...
script/c80666118.lua
View file @
81604b4f
...
@@ -34,6 +34,7 @@ function c80666118.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -34,6 +34,7 @@ function c80666118.destg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c80666118
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c80666118
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c80666118
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
,
c
:
GetAttack
())
local
g
=
Duel
.
GetMatchingGroup
(
c80666118
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
,
c
:
GetAttack
())
local
ct
=
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
local
ct
=
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
if
ct
>
0
then
if
ct
>
0
then
...
...
script/c89544521.lua
View file @
81604b4f
...
@@ -78,7 +78,10 @@ function c89544521.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,7 +78,10 @@ function c89544521.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c89544521
.
desfilter2
(
c
)
function
c89544521
.
desfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xab
)
and
c
:
IsDestructable
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xab
)
and
c
:
IsDestructable
()
and
Duel
.
IsExistingTarget
(
Card
.
IsDestructable
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
and
Duel
.
IsExistingTarget
(
c89544521
.
desfilter3
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
end
function
c89544521
.
desfilter3
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsDestructable
()
end
end
function
c89544521
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c89544521
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
@@ -86,7 +89,7 @@ function c89544521.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -86,7 +89,7 @@ function c89544521.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c89544521
.
desfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c89544521
.
desfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsDestructable
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
g1
:
GetFirst
())
local
g2
=
Duel
.
SelectTarget
(
tp
,
c89544521
.
desfilter3
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
g1
:
GetFirst
())
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g1
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g1
,
2
,
0
,
0
)
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