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
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
Commits
f4255a3d
Commit
f4255a3d
authored
Oct 19, 2013
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch3' of
https://github.com/salix5/ygopro_test
into salix5-patch3
Conflicts: script/c440556.lua
parents
dabe7160
bf57ec47
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
46 deletions
+49
-46
script/c440556.lua
script/c440556.lua
+5
-6
script/c69042950.lua
script/c69042950.lua
+6
-2
script/c75797046.lua
script/c75797046.lua
+38
-38
No files found.
script/c440556.lua
View file @
f4255a3d
...
...
@@ -30,9 +30,8 @@ end
function
c440556
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
cp
=
c
:
GetControler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
cp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
cp
,
c440556
.
filter
,
cp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c440556
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
@@ -41,10 +40,10 @@ function c440556.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
else
if
cp
~=
tp
then
local
cg
=
Duel
.
GetFieldGroup
(
c
p
,
LOCATION_EXTRA
,
0
)
else
local
cg
=
Duel
.
GetFieldGroup
(
t
p
,
LOCATION_EXTRA
,
0
)
if
cg
and
cg
:
GetCount
()
>
0
then
Duel
.
ConfirmCards
(
tp
,
cg
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
end
end
end
script/c69042950.lua
View file @
f4255a3d
...
...
@@ -12,6 +12,9 @@ end
function
c69042950
.
mfilter
(
c
,
clv
)
return
c
:
IsFaceup
()
and
c
:
GetLevel
()
==
clv
end
function
c69042950
.
mfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
4
)
end
function
c69042950
.
spfilter
(
c
,
e
,
tp
)
local
lv
=
c
:
GetLevel
()
return
lv
>
0
and
lv
<=
4
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
@@ -20,7 +23,7 @@ end
function
c69042950
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c69042950
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c69042950
.
mfilter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c69042950
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -31,7 +34,8 @@ function c69042950.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummonStep
(
g
:
GetFirst
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
69042950
,
0
))
then
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c69042950
.
spfilter
,
1
-
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
1
-
tp
)
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
69042950
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
c69042950
.
spfilter
,
1
-
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
1
-
tp
)
if
g
:
GetCount
()
~=
0
then
...
...
script/c7579704
5
.lua
→
script/c7579704
6
.lua
View file @
f4255a3d
--フォトン・アレキサンドラ・クイーン
function
c7579704
5
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
aux
.
XyzFilterFunctionF
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x6a
),
4
),
2
)
c
:
EnableReviveLimit
()
--return
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
7579704
5
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
c7579704
5
.
retcost
)
e1
:
SetTarget
(
c7579704
5
.
rettg
)
e1
:
SetOperation
(
c7579704
5
.
retop
)
c
:
RegisterEffect
(
e1
)
end
function
c7579704
5
.
retcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c7579704
5
.
rettg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
0
)
end
function
c7579704
5
.
hfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsControler
(
tp
)
end
function
c7579704
5
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
local
ct1
=
g
:
FilterCount
(
c7579704
5
.
hfilter
,
nil
,
tp
)
local
ct2
=
g
:
FilterCount
(
c7579704
5
.
hfilter
,
nil
,
1
-
tp
)
Duel
.
Damage
(
tp
,
ct1
*
300
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
ct2
*
300
,
REASON_EFFECT
)
end
--フォトン・アレキサンドラ・クイーン
function
c7579704
6
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
aux
.
XyzFilterFunctionF
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x6a
),
4
),
2
)
c
:
EnableReviveLimit
()
--return
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
7579704
6
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
c7579704
6
.
retcost
)
e1
:
SetTarget
(
c7579704
6
.
rettg
)
e1
:
SetOperation
(
c7579704
6
.
retop
)
c
:
RegisterEffect
(
e1
)
end
function
c7579704
6
.
retcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c7579704
6
.
rettg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
0
)
end
function
c7579704
6
.
hfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsControler
(
tp
)
end
function
c7579704
6
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
local
ct1
=
g
:
FilterCount
(
c7579704
6
.
hfilter
,
nil
,
tp
)
local
ct2
=
g
:
FilterCount
(
c7579704
6
.
hfilter
,
nil
,
1
-
tp
)
Duel
.
Damage
(
tp
,
ct1
*
300
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
ct2
*
300
,
REASON_EFFECT
)
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