Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
8bec9e82
Commit
8bec9e82
authored
Jun 14, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b35795c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
script/c101102057.lua
script/c101102057.lua
+1
-1
No files found.
script/c101102057.lua
View file @
8bec9e82
...
@@ -30,11 +30,11 @@ function c101102057.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -30,11 +30,11 @@ function c101102057.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c101102057
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101102057
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
count
=
0
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
,
REASON_EFFECT
)
~=
0
then
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
101102157
,
0x24d
,
0x4011
,
0
,
0
,
2
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
)
then
if
ft
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
101102157
,
0x24d
,
0x4011
,
0
,
0
,
2
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
local
count
=
0
for
i
=
1
,
ft
do
for
i
=
1
,
ft
do
local
token
=
Duel
.
CreateToken
(
tp
,
101102157
)
local
token
=
Duel
.
CreateToken
(
tp
,
101102157
)
if
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
count
==
0
then
if
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
count
==
0
then
...
...
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