Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
480536ae
Commit
480536ae
authored
Aug 28, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9c44ee39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
expansions/script/c12000048.lua
expansions/script/c12000048.lua
+5
-5
No files found.
expansions/script/c12000048.lua
View file @
480536ae
...
...
@@ -2,7 +2,7 @@
function
c12000048
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_
HANDES
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
c12000048
.
cost
)
...
...
@@ -22,7 +22,7 @@ function c12000048.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_HAND
,
0
,
e
:
GetHandler
())
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
12000048
)
==
0
and
g
:
GetCount
()
>
1
and
g
:
GetCount
()
==
g
:
FilterCount
(
Card
.
IsAbleToGraveAsCost
,
nil
)
end
Duel
.
SendtoGrave
(
g
,
REASON_
COST
)
Duel
.
SendtoGrave
(
g
,
REASON_
DISCARD
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
...
...
@@ -56,13 +56,13 @@ function c12000048.aclimit(e,re,tp)
end
function
c12000048
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
12000011
,
0
,
0x4011
,
800
,
800
,
3
,
RACE_ZOMBIE
,
ATTRIBUTE_FIRE
,
POS_FACEUP
_DEFENSE
,
tp
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
12000011
,
0
,
0x4011
,
800
,
800
,
3
,
RACE_ZOMBIE
,
ATTRIBUTE_FIRE
,
POS_FACEUP
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
c12000048
.
t
g
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c12000048
.
t
h
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
12000011
,
0
,
0x4011
,
800
,
800
,
3
,
RACE_ZOMBIE
,
ATTRIBUTE_FIRE
,
POS_FACEUP
_DEFENSE
,
tp
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
12000011
,
0
,
0x4011
,
800
,
800
,
3
,
RACE_ZOMBIE
,
ATTRIBUTE_FIRE
,
POS_FACEUP
,
tp
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
12000011
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
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