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
d1ca57dd
Commit
d1ca57dd
authored
Sep 05, 2017
by
Yuzurisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7361e149
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
159 additions
and
158 deletions
+159
-158
expansions/script/c12000008.lua
expansions/script/c12000008.lua
+70
-69
expansions/script/c12000053.lua
expansions/script/c12000053.lua
+89
-89
No files found.
expansions/script/c12000008.lua
View file @
d1ca57dd
...
...
@@ -44,19 +44,20 @@ function c12000008.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
g
:
Sub
(
sg
)
end
end
end
function
c12000008
.
target
(
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
c12000008
.
activate
(
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
())
...
...
expansions/script/c12000053.lua
View file @
d1ca57dd
...
...
@@ -29,7 +29,7 @@ local e2=Effect.CreateEffect(c)
e2
:
SetTarget
(
c12000053
.
thgt
)
e2
:
SetOperation
(
c12000053
.
thop
)
c
:
RegisterEffect
(
e2
)
local
e4
=
e
1
:
Clone
()
local
e4
=
e
2
:
Clone
()
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e4
)
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